Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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.001452/0.001452, allocations: 113 kB / 18.71 MB, free: 3.297 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.00166/0.00166, allocations: 196.4 kB / 21.97 MB, free: 48 kB / 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.323/1.323, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.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.002414/0.002414, allocations: 286.5 kB / 306.1 MB, free: 8.613 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.148/1.148, allocations: 180.9 MB / 0.5295 GB, free: 14.7 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.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 101.7 kB / 0.7301 GB, free: 39.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1369, allocations: 94.16 MB / 0.8221 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005093/0.142, allocations: 3.244 MB / 0.8253 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1444, allocations: 1.357 MB / 0.8266 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.1447, allocations: 11.94 kB / 0.8266 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1451, allocations: 103.1 kB / 0.8267 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.1457, allocations: 266.5 kB / 0.8269 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.1464, allocations: 350.1 kB / 0.8273 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.1474, allocations: 0.842 MB / 0.8281 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.1479, allocations: 248.4 kB / 0.8283 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.1483, allocations: 326.8 kB / 0.8286 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.1489, allocations: 438.2 kB / 0.8291 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.1491, allocations: 88 kB / 0.8291 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.1493, allocations: 116 kB / 0.8293 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.1496, allocations: 263.3 kB / 0.8295 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.15, allocations: 390 kB / 0.8299 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1512, allocations: 1.156 MB / 0.831 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1512, allocations: 0 / 0.831 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.001e-06/0.1512, allocations: 0 / 0.831 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1512, allocations: 0 / 0.831 GB, free: 9.465 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002144/0.1534, allocations: 1.207 MB / 0.8322 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1534, allocations: 8.031 kB / 0.8322 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1536, allocations: 92.36 kB / 0.8323 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1548, allocations: 0.6921 MB / 0.833 GB, free: 7.363 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.1548, allocations: 29.38 kB / 0.833 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.1549, allocations: 52.11 kB / 0.833 GB, free: 7.285 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.1558, allocations: 0.5109 MB / 0.8335 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1559, allocations: 0 / 0.8335 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.1559, allocations: 19.94 kB / 0.8336 GB, free: 6.719 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1559, allocations: 12 kB / 0.8336 GB, free: 6.707 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.1569, allocations: 371.8 kB / 0.8339 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.159, allocations: 1.379 MB / 0.8353 GB, free: 4.914 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.1598, allocations: 307.3 kB / 0.8356 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.1603, allocations: 157.2 kB / 0.8357 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1603, allocations: 4.234 kB / 0.8357 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/0.1609, allocations: 270.2 kB / 0.836 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.1609, allocations: 3.938 kB / 0.836 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=31): time 0.001413/0.1623, allocations: 0.5149 MB / 0.8365 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.1624, allocations: 166.2 kB / 0.8366 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009733/0.1634, allocations: 0.797 MB / 0.8374 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.1634, allocations: 41.7 kB / 0.8375 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.1637, allocations: 324.7 kB / 0.8378 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.1638, allocations: 99.33 kB / 0.8379 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1639, allocations: 86.06 kB / 0.8379 GB, free: 2.082 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1641, allocations: 370.8 kB / 0.8383 GB, free: 1.711 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.1646, allocations: 168.7 kB / 0.8385 GB, free: 1.547 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.1651, allocations: 240.2 kB / 0.8387 GB, free: 1.281 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.1659, allocations: 385.6 kB / 0.8391 GB, free: 0.8711 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.166, allocations: 4 kB / 0.8391 GB, free: 0.8672 MB / 0.5763 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001219/0.1672, allocations: 0.5368 MB / 0.8396 GB, free: 320 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.1672, allocations: 59.59 kB / 0.8396 GB, free: 248 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1672, allocations: 4 kB / 0.8396 GB, free: 244 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1672, allocations: 7.984 kB / 0.8397 GB, free: 236 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1675, allocations: 59.83 kB / 0.8397 GB, free: 176 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1675, allocations: 7.938 kB / 0.8397 GB, free: 168 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.1679, allocations: 67.72 kB / 0.8398 GB, free: 100 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.168, allocations: 12 kB / 0.8398 GB, free: 88 kB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 34 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.booPasThr.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3,opeEnv.intConOne.y,opeEnv.disErr.local_set,opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0002992/0.1683, allocations: 253.8 kB / 0.84 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.1684, allocations: 71.58 kB / 0.8401 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1695, allocations: 439.8 kB / 0.8405 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1695, allocations: 3.938 kB / 0.8405 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1695, allocations: 3.938 kB / 0.8405 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.1696, allocations: 156.6 kB / 0.8407 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.1697, allocations: 20 kB / 0.8407 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.1701, allocations: 43.94 kB / 0.8407 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.1703, allocations: 75.89 kB / 0.8408 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001206/0.1715, allocations: 0.5466 MB / 0.8413 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001108/0.1726, allocations: 0.6533 MB / 0.842 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004603/0.173, allocations: 180.3 kB / 0.8422 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000698/0.1737, allocations: 0.5576 MB / 0.8427 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Backend: time 2.81e-07/0.1737, allocations: 0 / 0.8427 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002499/0.1762, allocations: 0.7294 MB / 0.8434 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001989/0.1782, allocations: 1.527 MB / 0.8449 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01741/0.1956, allocations: 10.68 MB / 0.8553 GB, free: 352 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.782856811070815] Failed to read output from testmodel.py, exit status != 0: 0.20246536703780293 0.216282157 0.062155053 Calling exit ...