Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 291.5 kB / 304.7 MB, free: 3.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9893/0.9893, allocations: 180.9 MB / 0.5281 GB, free: 1.992 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 103.8 kB / 0.7278 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4025, allocations: 94.16 MB / 0.8197 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002345/0.4048, allocations: 1.523 MB / 0.8212 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.4059, allocations: 0.7472 MB / 0.8219 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.406, allocations: 5.094 kB / 0.8219 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.4062, allocations: 126.4 kB / 0.822 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.4063, allocations: 72.11 kB / 0.8221 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.4068, allocations: 186.1 kB / 0.8223 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.4069, allocations: 64.78 kB / 0.8224 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.024e-05/0.4069, allocations: 2.156 kB / 0.8224 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.4069, allocations: 47.38 kB / 0.8224 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.407, allocations: 88.89 kB / 0.8225 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.4071, allocations: 2.219 kB / 0.8225 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.4074, allocations: 231.4 kB / 0.8227 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.4075, allocations: 59.05 kB / 0.8228 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.4075, allocations: 59.3 kB / 0.8228 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.4079, allocations: 270.8 kB / 0.8231 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4079, allocations: 7.875 kB / 0.8231 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4079, allocations: 1.469 kB / 0.8231 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4079, allocations: 4 kB / 0.8231 GB, free: 2.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006558/0.4085, allocations: 0.5129 MB / 0.8236 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4086, allocations: 8.812 kB / 0.8236 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.4086, allocations: 31.91 kB / 0.8236 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.4086, allocations: 21.39 kB / 0.8237 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.4089, allocations: 262.2 kB / 0.8239 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-06/0.4089, allocations: 384 / 0.8239 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4089, allocations: 6.656 kB / 0.8239 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4091, allocations: 82.56 kB / 0.824 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4091, allocations: 1.125 kB / 0.824 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.4091, allocations: 0 / 0.824 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4091, allocations: 1.125 kB / 0.824 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.4093, allocations: 86.06 kB / 0.8241 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.4098, allocations: 411 kB / 0.8245 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.4099, allocations: 83 kB / 0.8245 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.41, allocations: 49.17 kB / 0.8246 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.4101, allocations: 16.64 kB / 0.8246 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4101, allocations: 31.56 kB / 0.8246 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.4101, allocations: 5.031 kB / 0.8246 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003885/0.4105, allocations: 182.9 kB / 0.8248 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.4105, allocations: 51.41 kB / 0.8249 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.4108, allocations: 353.2 kB / 0.8252 GB, free: 416 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4108, allocations: 25.7 kB / 0.8252 GB, free: 384 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.4109, allocations: 140.5 kB / 0.8254 GB, free: 252 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.4109, allocations: 9.391 kB / 0.8254 GB, free: 244 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.411, allocations: 31.33 kB / 0.8254 GB, free: 216 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4111, allocations: 339 kB / 0.8257 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4113, allocations: 91.33 kB / 0.8258 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4114, allocations: 95.94 kB / 0.8259 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.4117, allocations: 210 kB / 0.8261 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4117, allocations: 5.5 kB / 0.8261 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003283/0.412, allocations: 251.8 kB / 0.8263 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.412, allocations: 5.219 kB / 0.8264 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.412, allocations: 0 / 0.8264 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.412, allocations: 1.25 kB / 0.8264 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.4121, allocations: 10.92 kB / 0.8264 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4121, allocations: 0 / 0.8264 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.4122, allocations: 21.3 kB / 0.8264 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.4122, allocations: 5.719 kB / 0.8264 GB, free: 15.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.4123, allocations: 145.4 kB / 0.8265 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4123, allocations: 24.05 kB / 0.8266 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.4126, allocations: 146.9 kB / 0.8267 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4126, allocations: 1.062 kB / 0.8267 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4126, allocations: 3.938 kB / 0.8267 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4126, allocations: 1.312 kB / 0.8267 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.4128, allocations: 247.4 kB / 0.8269 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4128, allocations: 4 kB / 0.8269 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.4129, allocations: 10.42 kB / 0.8269 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4129, allocations: 0 / 0.8269 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4129, allocations: 1.438 kB / 0.8269 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4129, allocations: 0 / 0.8269 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4129, allocations: 0 / 0.8269 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4132, allocations: 239.7 kB / 0.8272 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.4133, allocations: 99.72 kB / 0.8273 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4133, allocations: 5.797 kB / 0.8273 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.4134, allocations: 6.406 kB / 0.8273 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.4134, allocations: 1.344 kB / 0.8273 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4134, allocations: 1.25 kB / 0.8273 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002249/0.4136, allocations: 252.1 kB / 0.8275 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4136, allocations: 4.031 kB / 0.8275 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002925/0.4139, allocations: 60.22 kB / 0.8276 GB, free: 14.72 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000739/0.4147, allocations: 0.8232 MB / 0.8284 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.4149, allocations: 147.6 kB / 0.8285 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4149, allocations: 0 / 0.8285 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.4151, allocations: 45.28 kB / 0.8286 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4153, allocations: 14.94 kB / 0.8286 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.418, allocations: 2.718 MB / 0.8312 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4184, allocations: 0.7373 MB / 0.832 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.4184, allocations: 24.39 kB / 0.832 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.4185, allocations: 55.97 kB / 0.832 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.4185, allocations: 5.531 kB / 0.832 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.444, allocations: 4.286 MB / 0.8362 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.602, allocations: 4.781 kB / 0.8362 GB, free: 9.281 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.19806984999741]