Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001192/0.001192, 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.001175/0.001175, 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 179] 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.002228/0.002228, allocations: 286.8 kB / 304.7 MB, free: 3.578 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.9775/0.9775, allocations: 180.9 MB / 0.5281 GB, free: 1.926 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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 107.8 kB / 0.7277 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4165, allocations: 94.16 MB / 0.8197 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002504/0.419, allocations: 1.488 MB / 0.8211 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.4203, allocations: 0.8001 MB / 0.8219 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.4204, allocations: 0 / 0.8219 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.4206, allocations: 130.9 kB / 0.822 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.4211, allocations: 178.6 kB / 0.8222 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.4212, allocations: 85.34 kB / 0.8223 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.4213, allocations: 61.52 kB / 0.8223 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.4214, allocations: 6.297 kB / 0.8223 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.4215, allocations: 43.34 kB / 0.8224 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4216, allocations: 92.55 kB / 0.8225 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4216, allocations: 2.25 kB / 0.8225 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.422, allocations: 236 kB / 0.8227 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.4221, allocations: 106.9 kB / 0.8228 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.4222, allocations: 95.73 kB / 0.8229 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.4226, allocations: 347.2 kB / 0.8232 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4226, allocations: 4 kB / 0.8232 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4226, allocations: 0 / 0.8232 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4226, allocations: 1.062 kB / 0.8232 GB, free: 1.957 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.0008188/0.4235, allocations: 0.6226 MB / 0.8238 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4235, allocations: 9.719 kB / 0.8238 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.4235, allocations: 30.75 kB / 0.8239 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.4236, allocations: 35.8 kB / 0.8239 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/0.4244, allocations: 0.9226 MB / 0.8248 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4245, allocations: 4.312 kB / 0.8248 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.4245, allocations: 9.734 kB / 0.8248 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4246, allocations: 82.92 kB / 0.8249 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4247, allocations: 0 / 0.8249 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4247, allocations: 4 kB / 0.8249 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4247, allocations: 7.969 kB / 0.8249 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.4249, allocations: 96.69 kB / 0.825 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.4255, allocations: 0.5836 MB / 0.8256 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.4257, allocations: 104.8 kB / 0.8257 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4258, allocations: 54.67 kB / 0.8257 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.4258, allocations: 19.3 kB / 0.8257 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4259, allocations: 38.5 kB / 0.8258 GB, free: 196 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4259, allocations: 4 kB / 0.8258 GB, free: 192 kB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004203/0.4263, allocations: 215.8 kB / 0.826 GB, free: 88 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4263, allocations: 52.78 kB / 0.826 GB, free: 24 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4274, allocations: 1.213 MB / 0.8272 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.4274, allocations: 25.7 kB / 0.8273 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.4276, allocations: 172.3 kB / 0.8274 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4276, allocations: 12.06 kB / 0.8274 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.4276, allocations: 17.03 kB / 0.8274 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4278, allocations: 345.6 kB / 0.8278 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4279, allocations: 54.11 kB / 0.8278 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.428, allocations: 49.97 kB / 0.8279 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.4282, allocations: 105.9 kB / 0.828 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4282, allocations: 0 / 0.828 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002849/0.4285, allocations: 171.6 kB / 0.8281 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4285, allocations: 6.625 kB / 0.8281 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4285, allocations: 0 / 0.8281 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4285, allocations: 1.125 kB / 0.8281 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.4286, allocations: 9.922 kB / 0.8282 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4286, allocations: 0 / 0.8282 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.4287, allocations: 17.92 kB / 0.8282 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4287, allocations: 0 / 0.8282 GB, free: 14.79 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 (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 prepare postOptimizeDAE: time 0.0001337/0.4288, allocations: 165.5 kB / 0.8283 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.4289, allocations: 33.95 kB / 0.8284 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.4292, allocations: 174 kB / 0.8285 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4292, allocations: 1.688 kB / 0.8285 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4292, allocations: 7.969 kB / 0.8285 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4292, allocations: 0 / 0.8285 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.4295, allocations: 293.7 kB / 0.8288 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4295, allocations: 1.188 kB / 0.8288 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.4295, allocations: 6.062 kB / 0.8288 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4295, allocations: 3.938 kB / 0.8288 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4295, allocations: 9.328 kB / 0.8288 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4295, allocations: 0 / 0.8288 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4295, allocations: 0 / 0.8288 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4299, allocations: 266.3 kB / 0.8291 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.43, allocations: 133 kB / 0.8292 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.43, allocations: 1.5 kB / 0.8292 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.4301, allocations: 8.156 kB / 0.8292 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.4301, allocations: 5.141 kB / 0.8292 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.4301, allocations: 1.156 kB / 0.8292 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008183/0.431, allocations: 0.9554 MB / 0.8302 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.431, allocations: 0 / 0.8302 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003319/0.4313, allocations: 75.03 kB / 0.8302 GB, free: 13.52 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.0007859/0.4321, allocations: 0.8514 MB / 0.8311 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.4323, allocations: 98.56 kB / 0.8312 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4323, allocations: 0 / 0.8312 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4324, allocations: 59.83 kB / 0.8312 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.4328, allocations: 20.62 kB / 0.8312 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.4394, allocations: 6.757 MB / 0.8378 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4398, allocations: 0.7809 MB / 0.8386 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.739e-05/0.4399, allocations: 42.02 kB / 0.8386 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.44, allocations: 92.31 kB / 0.8387 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.44, allocations: 1.062 kB / 0.8387 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.4698, allocations: 7.164 MB / 0.8457 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.873, allocations: 8.094 kB / 0.8457 GB, free: 2.816 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.3999322210002]