Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001686/0.001686, allocations: 249.2 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7343/0.7343, allocations: 138.4 MB / 455.5 MB, free: 30.11 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.297e-05, allocations: 9.969 kB / 0.5556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002378/0.002401, allocations: 2.1 MB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.003221, allocations: 0.5804 MB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.003331, allocations: 7.938 kB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.003433, allocations: 19.73 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.003515, allocations: 47.59 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.003744, allocations: 91.81 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.003971, allocations: 263.3 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.004145, allocations: 91.52 kB / 0.5588 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.004317, allocations: 155.7 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.004412, allocations: 91.67 kB / 0.559 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.004454, allocations: 24 kB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.00448, allocations: 28 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.004523, allocations: 59.81 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.004586, allocations: 79.81 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.00478, allocations: 195.2 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004782, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004783, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004787, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006341/0.005421, allocations: 0.6615 MB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.005458, allocations: 12.75 kB / 0.56 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.005512, allocations: 44.8 kB / 0.5601 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.0057, allocations: 204.9 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.005721, allocations: 16.69 kB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.005746, allocations: 28.36 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.006035, allocations: 270.8 kB / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006044, allocations: 192 / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.006059, allocations: 4.375 kB / 0.5606 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006067, allocations: 7.938 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.006147, allocations: 59.08 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.006948, allocations: 0.4918 MB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.007139, allocations: 111 kB / 0.5612 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.007175, allocations: 23.67 kB / 0.5612 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.007192, allocations: 0 / 0.5612 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.007351, allocations: 136.8 kB / 0.5614 GB, free: 9.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.007352, allocations: 0 / 0.5614 GB, free: 9.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002344/0.007586, allocations: 160.2 kB / 0.5615 GB, free: 9.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.007626, allocations: 114.8 kB / 0.5616 GB, free: 9.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.007747, allocations: 257.4 kB / 0.5619 GB, free: 9.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.00777, allocations: 37.7 kB / 0.5619 GB, free: 9.184 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.007851, allocations: 199.1 kB / 0.5621 GB, free: 8.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.007882, allocations: 55.55 kB / 0.5622 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.007952, allocations: 71.31 kB / 0.5622 GB, free: 8.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.008068, allocations: 0.5117 MB / 0.5627 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.008146, allocations: 109.4 kB / 0.5628 GB, free: 8.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.008268, allocations: 254.4 kB / 0.5631 GB, free: 7.887 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.008414, allocations: 213.8 kB / 0.5633 GB, free: 7.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008416, allocations: 0 / 0.5633 GB, free: 7.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002548/0.008671, allocations: 372.6 kB / 0.5636 GB, free: 7.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.008714, allocations: 93.09 kB / 0.5637 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008718, allocations: 4 kB / 0.5637 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008731, allocations: 4 kB / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.008841, allocations: 47.91 kB / 0.5638 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.008846, allocations: 7.984 kB / 0.5638 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.008967, allocations: 43.86 kB / 0.5638 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.008981, allocations: 11.98 kB / 0.5638 GB, free: 7.004 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001016/0.009082, allocations: 194.5 kB / 0.564 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.009109, allocations: 27.86 kB / 0.564 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.009284, allocations: 143.3 kB / 0.5642 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009287, allocations: 4 kB / 0.5642 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.009289, allocations: 3.984 kB / 0.5642 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009292, allocations: 0 / 0.5642 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.009561, allocations: 416.4 kB / 0.5646 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009563, allocations: 0 / 0.5646 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.009618, allocations: 27.98 kB / 0.5646 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.00962, allocations: 0 / 0.5646 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.00963, allocations: 7.984 kB / 0.5646 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.009631, allocations: 4 kB / 0.5646 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.009632, allocations: 0 / 0.5646 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.009802, allocations: 295.5 kB / 0.5649 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.009819, allocations: 19.91 kB / 0.5649 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.009842, allocations: 8 kB / 0.5649 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.009944, allocations: 31.95 kB / 0.565 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.01001, allocations: 47.92 kB / 0.565 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01003, allocations: 0 / 0.565 GB, free: 5.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.01009, allocations: 172.1 kB / 0.5652 GB, free: 5.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01009, allocations: 0 / 0.5652 GB, free: 5.562 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01029, allocations: 55.89 kB / 0.5652 GB, free: 5.508 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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 8.682e-05/0.01037, allocations: 112.5 kB / 0.5653 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.01061, allocations: 370.9 kB / 0.5657 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01061, allocations: 4.062 kB / 0.5657 GB, free: 4.965 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.01069, allocations: 65.61 kB / 0.5658 GB, free: 4.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.0109, allocations: 41.98 kB / 0.5658 GB, free: 4.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.01145, allocations: 357.9 kB / 0.5661 GB, free: 4.484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01149, allocations: 75.98 kB / 0.5662 GB, free: 4.391 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.01155, allocations: 25.62 kB / 0.5662 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.01168, allocations: 118.2 kB / 0.5663 GB, free: 4.246 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01168, allocations: 0 / 0.5663 GB, free: 4.246 MB / 490.7 MB Notification: Performance of Templates: time 0.00504/0.01672, allocations: 3.687 MB / 0.5699 GB, free: 0.668 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5222564451396465]