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.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.001687/0.001687, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001371/0.001371, allocations: 186 kB / 20.78 MB, free: 1.547 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.402/1.402, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.002356/0.002356, allocations: 289.4 kB / 304.8 MB, free: 3.488 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 1.134/1.134, allocations: 180.9 MB / 0.5282 GB, free: 1.875 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: 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 0.002878/0.002878, allocations: 107.8 kB / 0.7284 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4623, allocations: 94.15 MB / 0.8203 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003529/0.4658, allocations: 2.108 MB / 0.8224 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.467, allocations: 0.5731 MB / 0.8229 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4671, allocations: 3.594 kB / 0.823 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.4672, allocations: 23.67 kB / 0.823 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.4673, allocations: 36.28 kB / 0.823 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.4676, allocations: 95.25 kB / 0.8231 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.4679, allocations: 264.6 kB / 0.8234 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.4681, allocations: 86.7 kB / 0.8234 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4683, allocations: 116.2 kB / 0.8235 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4684, allocations: 115.7 kB / 0.8237 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.4685, allocations: 27.22 kB / 0.8237 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.4685, allocations: 26.28 kB / 0.8237 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.4686, allocations: 58.53 kB / 0.8238 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.4687, allocations: 112.3 kB / 0.8239 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.4691, allocations: 283.6 kB / 0.8241 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4691, allocations: 4 kB / 0.8241 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4691, allocations: 0 / 0.8241 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.4691, allocations: 0 / 0.8241 GB, free: 1.699 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001221/0.4703, allocations: 0.64 MB / 0.8248 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4703, allocations: 9 kB / 0.8248 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.4704, allocations: 27.27 kB / 0.8248 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.4708, allocations: 262 kB / 0.8251 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.4708, allocations: 17.81 kB / 0.8251 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.4709, allocations: 27.72 kB / 0.8251 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.4715, allocations: 274.6 kB / 0.8254 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4715, allocations: 4 kB / 0.8254 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4715, allocations: 10.31 kB / 0.8254 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4715, allocations: 4.656 kB / 0.8254 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.4722, allocations: 194 kB / 0.8256 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.4733, allocations: 0.6133 MB / 0.8262 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.4742, allocations: 211.9 kB / 0.8264 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.4745, allocations: 82.69 kB / 0.8264 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.4745, allocations: 10.41 kB / 0.8265 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.475, allocations: 190.7 kB / 0.8266 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.475, allocations: 0 / 0.8266 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001052/0.476, allocations: 335.1 kB / 0.827 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.4761, allocations: 111.2 kB / 0.8271 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4763, allocations: 199.9 kB / 0.8273 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.4764, allocations: 39.2 kB / 0.8273 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4765, allocations: 160.7 kB / 0.8274 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.4765, allocations: 46.52 kB / 0.8275 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4766, allocations: 63.81 kB / 0.8275 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4768, allocations: 334.9 kB / 0.8279 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.4772, allocations: 105.9 kB / 0.828 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.4776, allocations: 178 kB / 0.8281 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.4782, allocations: 303.2 kB / 0.8284 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4782, allocations: 0 / 0.8284 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009168/0.4792, allocations: 428.5 kB / 0.8288 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.4792, allocations: 86.89 kB / 0.8289 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4792, allocations: 1.375 kB / 0.8289 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4792, allocations: 7.656 kB / 0.8289 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4795, allocations: 53.61 kB / 0.829 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4795, allocations: 2.594 kB / 0.829 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.4798, allocations: 63.92 kB / 0.829 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4798, allocations: 12.56 kB / 0.8291 GB, free: 13.8 MB / 0.5762 GB 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,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,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * 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.0001678/0.48, allocations: 141.4 kB / 0.8292 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.48, allocations: 28.25 kB / 0.8292 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.4808, allocations: 261.5 kB / 0.8295 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4808, allocations: 6.531 kB / 0.8295 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4808, allocations: 0 / 0.8295 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4808, allocations: 1.25 kB / 0.8295 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.4818, allocations: 0.5739 MB / 0.83 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4818, allocations: 5.156 kB / 0.83 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.482, allocations: 30.5 kB / 0.8301 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.482, allocations: 1.125 kB / 0.8301 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.482, allocations: 13.17 kB / 0.8301 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.482, allocations: 1.156 kB / 0.8301 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.482, allocations: 0 / 0.8301 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.4827, allocations: 344.1 kB / 0.8304 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.4828, allocations: 101 kB / 0.8305 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.4829, allocations: 11.8 kB / 0.8305 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.4832, allocations: 38.36 kB / 0.8306 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4833, allocations: 49.8 kB / 0.8306 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4833, allocations: 9.391 kB / 0.8306 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001216/0.4834, allocations: 139.9 kB / 0.8307 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4834, allocations: 0 / 0.8307 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003172/0.4838, allocations: 63.44 kB / 0.8308 GB, free: 12.48 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: 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 0.0001527/0.4839, allocations: 115.4 kB / 0.8309 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000888/0.4848, allocations: 407.3 kB / 0.8313 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4848, allocations: 0 / 0.8313 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.4851, allocations: 112.8 kB / 0.8314 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4855, allocations: 31.59 kB / 0.8314 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.4863, allocations: 377.4 kB / 0.8318 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4867, allocations: 0.7359 MB / 0.8325 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.667e-05/0.4868, allocations: 16.77 kB / 0.8325 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.4869, allocations: 23.75 kB / 0.8326 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.4869, allocations: 0 / 0.8326 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.006992/0.4939, allocations: 3.244 MB / 0.8357 GB, free: 9.418 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.269666469655931]