Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001396/0.001396, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.001486/0.001486, allocations: 193.8 kB / 22.98 MB, free: 5.082 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.309/1.309, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8865/0.8865, allocations: 149.6 MB / 456.6 MB, free: 1.188 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 64.83 kB / 0.6329 GB, free: 8.945 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1556, allocations: 87.88 MB / 0.7187 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00349/0.1591, allocations: 2.099 MB / 0.7208 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1601, allocations: 0.565 MB / 0.7213 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1603, allocations: 4 kB / 0.7213 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1604, allocations: 23.67 kB / 0.7213 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1605, allocations: 39.66 kB / 0.7214 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1608, allocations: 95.88 kB / 0.7215 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1611, allocations: 263.2 kB / 0.7217 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1613, allocations: 91.34 kB / 0.7218 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1615, allocations: 115.6 kB / 0.7219 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1617, allocations: 123.4 kB / 0.722 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.1617, allocations: 28 kB / 0.7221 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.1618, allocations: 24 kB / 0.7221 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1618, allocations: 55.83 kB / 0.7221 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1619, allocations: 119.4 kB / 0.7223 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1623, allocations: 278.9 kB / 0.7225 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1623, allocations: 0 / 0.7225 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1623, allocations: 0 / 0.7225 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.1623, allocations: 4 kB / 0.7225 GB, free: 13.06 MB / 0.545 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.001162/0.1635, allocations: 0.5615 MB / 0.7231 GB, free: 12.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1635, allocations: 12.03 kB / 0.7231 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.1636, allocations: 28.8 kB / 0.7231 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.164, allocations: 198.6 kB / 0.7233 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.164, allocations: 32.47 kB / 0.7233 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.164, allocations: 20 kB / 0.7233 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.1646, allocations: 274.1 kB / 0.7236 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1646, allocations: 0 / 0.7236 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1647, allocations: 4 kB / 0.7236 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1647, allocations: 4 kB / 0.7236 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.1653, allocations: 195.8 kB / 0.7238 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1664, allocations: 0.5772 MB / 0.7244 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.1672, allocations: 214.5 kB / 0.7246 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1675, allocations: 76.78 kB / 0.7246 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.1675, allocations: 19.92 kB / 0.7247 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.1679, allocations: 187.1 kB / 0.7248 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.1679, allocations: 0 / 0.7248 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009829/0.1689, allocations: 330.3 kB / 0.7252 GB, free: 10.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.169, allocations: 114.8 kB / 0.7253 GB, free: 10.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1692, allocations: 199.7 kB / 0.7255 GB, free: 9.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1692, allocations: 33.7 kB / 0.7255 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1693, allocations: 160.4 kB / 0.7256 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.1694, allocations: 51.62 kB / 0.7257 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1695, allocations: 61.69 kB / 0.7258 GB, free: 9.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1696, allocations: 334.8 kB / 0.7261 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.17, allocations: 104.2 kB / 0.7262 GB, free: 9.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1704, allocations: 171.3 kB / 0.7263 GB, free: 8.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.171, allocations: 309.3 kB / 0.7266 GB, free: 8.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.171, allocations: 0 / 0.7266 GB, free: 8.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008587/0.1718, allocations: 428.7 kB / 0.727 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.1719, allocations: 93.05 kB / 0.7271 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1719, allocations: 0 / 0.7271 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1719, allocations: 11.92 kB / 0.7271 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1721, allocations: 40.12 kB / 0.7272 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1721, allocations: 7.938 kB / 0.7272 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1724, allocations: 63.72 kB / 0.7272 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1725, allocations: 12 kB / 0.7273 GB, free: 7.887 MB / 0.545 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.0001413/0.1726, allocations: 139.8 kB / 0.7274 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1726, allocations: 27.83 kB / 0.7274 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.1733, allocations: 261.2 kB / 0.7277 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1733, allocations: 4 kB / 0.7277 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1733, allocations: 0 / 0.7277 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1733, allocations: 3.984 kB / 0.7277 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.1743, allocations: 0.5558 MB / 0.7282 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1743, allocations: 0 / 0.7282 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1744, allocations: 23.97 kB / 0.7282 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1744, allocations: 4 kB / 0.7282 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1745, allocations: 15.98 kB / 0.7283 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1745, allocations: 0 / 0.7283 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1745, allocations: 3.938 kB / 0.7283 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.1752, allocations: 349.5 kB / 0.7286 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1752, allocations: 19.8 kB / 0.7286 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.1752, allocations: 15.92 kB / 0.7286 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.1755, allocations: 39.95 kB / 0.7287 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1756, allocations: 43.92 kB / 0.7287 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1756, allocations: 11.98 kB / 0.7287 GB, free: 6.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001221/0.1758, allocations: 141.2 kB / 0.7289 GB, free: 6.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1758, allocations: 4 kB / 0.7289 GB, free: 6.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003/0.1761, allocations: 59.88 kB / 0.7289 GB, free: 6.113 MB / 0.545 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.0001248/0.1762, allocations: 106.5 kB / 0.729 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008295/0.177, allocations: 406.2 kB / 0.7294 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.177, allocations: 0 / 0.7294 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.1774, allocations: 107.8 kB / 0.7295 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1777, allocations: 47.84 kB / 0.7296 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.1785, allocations: 370.6 kB / 0.7299 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1788, allocations: 0.7359 MB / 0.7306 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.443e-05/0.1789, allocations: 17.64 kB / 0.7306 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.179, allocations: 23.44 kB / 0.7307 GB, free: 4.227 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.179, allocations: 0 / 0.7307 GB, free: 4.227 MB / 0.545 GB Notification: Performance of Templates: time 0.007058/0.1861, allocations: 3.265 MB / 0.7339 GB, free: 0.9844 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.206529072485864] Failed to read output from testmodel.py, exit status != 0: 0.194159597158432 0.207575844 0.042370855000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a1ddf57b0>