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.0009082/0.0009082, allocations: 89.06 kB / 19.64 MB, free: 272 kB / 13.93 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.001013/0.001013, allocations: 169 kB / 23.02 MB, free: 1.539 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.9934/0.9934, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001623/0.001623, allocations: 245.3 kB / 260.2 MB, free: 12.82 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.6998/0.6998, allocations: 138.4 MB / 455.2 MB, free: 1.535 MB / 362.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.362e-06/1.362e-06, allocations: 0 / 0.5552 GB, free: 476 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.108e-05, allocations: 2.312 kB / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002654/0.002675, allocations: 2.139 MB / 0.5573 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.003484, allocations: 0.5808 MB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.003579, allocations: 4 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003697, allocations: 27.67 kB / 0.5579 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.003775, allocations: 39.66 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.004022, allocations: 95.75 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.004262, allocations: 263.3 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.004455, allocations: 87.56 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.004617, allocations: 155.7 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004721, allocations: 91.69 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.004758, allocations: 24 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.004786, allocations: 28 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.004831, allocations: 59.8 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.0049, allocations: 75.81 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.00511, allocations: 199.3 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005112, allocations: 0 / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005112, allocations: 0 / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005116, allocations: 3.938 kB / 0.5589 GB, free: 12.59 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.0006776/0.005794, allocations: 0.6495 MB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.005828, allocations: 12.75 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.005896, allocations: 40.8 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.006107, allocations: 208.6 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.006131, allocations: 20.75 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.006158, allocations: 20.38 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.006492, allocations: 285.9 kB / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.006501, allocations: 192 / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.006521, allocations: 12.11 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.006531, allocations: 4 kB / 0.5601 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.006659, allocations: 67.64 kB / 0.5602 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.007297, allocations: 0.5341 MB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.007536, allocations: 107.1 kB / 0.5608 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.007589, allocations: 27.67 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.007611, allocations: 4 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.007781, allocations: 135.7 kB / 0.561 GB, free: 10.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.007782, allocations: 0 / 0.561 GB, free: 10.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000322/0.008104, allocations: 177.4 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.008153, allocations: 114.8 kB / 0.5613 GB, free: 9.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.008293, allocations: 253.5 kB / 0.5615 GB, free: 9.727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.008315, allocations: 37.7 kB / 0.5615 GB, free: 9.684 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.008405, allocations: 203.1 kB / 0.5617 GB, free: 9.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.008436, allocations: 51.62 kB / 0.5618 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.008516, allocations: 67.34 kB / 0.5619 GB, free: 9.355 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.008634, allocations: 0.5039 MB / 0.5623 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.008742, allocations: 125.3 kB / 0.5625 GB, free: 8.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.008887, allocations: 258.5 kB / 0.5627 GB, free: 8.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.00905, allocations: 224 kB / 0.5629 GB, free: 8.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009053, allocations: 0 / 0.5629 GB, free: 8.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003193/0.009372, allocations: 382.6 kB / 0.5633 GB, free: 7.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.00942, allocations: 93.09 kB / 0.5634 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.009426, allocations: 4 kB / 0.5634 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.009445, allocations: 4.156 kB / 0.5634 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.009594, allocations: 47.91 kB / 0.5634 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.009601, allocations: 7.938 kB / 0.5634 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.009733, allocations: 47.81 kB / 0.5635 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.009755, allocations: 19.92 kB / 0.5635 GB, free: 7.461 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,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.0001016/0.009856, allocations: 182.5 kB / 0.5637 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.009887, allocations: 23.91 kB / 0.5637 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.01017, allocations: 166.4 kB / 0.5639 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01017, allocations: 4 kB / 0.5639 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01017, allocations: 0 / 0.5639 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01018, allocations: 0 / 0.5639 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.01051, allocations: 461.1 kB / 0.5643 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01052, allocations: 4 kB / 0.5643 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.01058, allocations: 19.92 kB / 0.5643 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01058, allocations: 4 kB / 0.5643 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01059, allocations: 3.984 kB / 0.5643 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0106, allocations: 4 kB / 0.5643 GB, free: 6.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0106, allocations: 0 / 0.5643 GB, free: 6.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.0108, allocations: 303.6 kB / 0.5646 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.01082, allocations: 19.86 kB / 0.5646 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01084, allocations: 7.984 kB / 0.5647 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01095, allocations: 27.97 kB / 0.5647 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.01103, allocations: 47.86 kB / 0.5647 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01105, allocations: 7.984 kB / 0.5647 GB, free: 6.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.01113, allocations: 176.1 kB / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 4 kB / 0.5649 GB, free: 5.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01132, allocations: 59.88 kB / 0.565 GB, free: 5.891 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 0.000206/0.01153, allocations: 107.2 kB / 0.5651 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.01183, allocations: 384.7 kB / 0.5654 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01183, allocations: 4 kB / 0.5654 GB, free: 5.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.01192, allocations: 59.59 kB / 0.5655 GB, free: 5.281 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01216, allocations: 40.22 kB / 0.5655 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.0128, allocations: 365.9 kB / 0.5659 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01284, allocations: 79.98 kB / 0.566 GB, free: 4.754 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.0129, allocations: 13.64 kB / 0.566 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.01296, allocations: 28.48 kB / 0.566 GB, free: 4.715 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01296, allocations: 0 / 0.566 GB, free: 4.715 MB / 490.7 MB Notification: Performance of Templates: time 0.004616/0.01758, allocations: 3.434 MB / 0.5694 GB, free: 1.367 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.7671495978720486]