The specs say that:
The variable time is a built-in variable available in all models and block, ...
In light of that is the following allowed:
package P
function f
input Real i;
output Real[2] y = {i, i};
end f;
model Base
Real[2] y;
end Base;
model Test = Base(y = 2.0 * (-f(time)));
end P;
The specs say that:
In light of that is the following allowed: