Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001348/0.001348, allocations: 109.3 kB / 18.7 MB, free: 3.16 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.005703/0.005703, allocations: 187.8 kB / 21.96 MB, free: 5.566 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.397/1.397, allocations: 225.6 MB / 250.7 MB, free: 13.36 MB / 206.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.002541/0.002541, allocations: 272.1 kB / 306.1 MB, free: 8.578 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.199/1.199, allocations: 180.9 MB / 0.5295 GB, free: 14.64 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.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 104.1 kB / 0.7301 GB, free: 39.24 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1417, allocations: 94.17 MB / 0.8221 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003391/0.145, allocations: 2.052 MB / 0.8241 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1461, allocations: 0.5883 MB / 0.8247 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.1462, allocations: 4 kB / 0.8247 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1463, allocations: 23.67 kB / 0.8247 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.1464, allocations: 43.69 kB / 0.8247 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1467, allocations: 99.88 kB / 0.8248 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.147, allocations: 290.9 kB / 0.8251 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1472, allocations: 99.34 kB / 0.8252 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1474, allocations: 115.6 kB / 0.8253 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1475, allocations: 135.4 kB / 0.8254 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.1476, allocations: 28 kB / 0.8255 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.1476, allocations: 28 kB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1477, allocations: 55.83 kB / 0.8255 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1478, allocations: 127.4 kB / 0.8257 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1482, allocations: 302.8 kB / 0.826 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1482, allocations: 4 kB / 0.826 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1482, allocations: 4 kB / 0.826 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1482, allocations: 0 / 0.826 GB, free: 14.71 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001271/0.1495, allocations: 0.6603 MB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1495, allocations: 8.031 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.1496, allocations: 32.8 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1499, allocations: 277.2 kB / 0.8269 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.15, allocations: 12.81 kB / 0.8269 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.15, allocations: 28.36 kB / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.1507, allocations: 279.6 kB / 0.8272 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1507, allocations: 4 kB / 0.8272 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.1507, allocations: 12 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1507, allocations: 4 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.1514, allocations: 209.5 kB / 0.8274 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1526, allocations: 0.6348 MB / 0.8281 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.1533, allocations: 198.3 kB / 0.8282 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.1537, allocations: 92.78 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1537, allocations: 0 / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1542, allocations: 195.1 kB / 0.8285 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.1542, allocations: 0 / 0.8285 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001122/0.1553, allocations: 347.2 kB / 0.8288 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.1554, allocations: 136.5 kB / 0.829 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1556, allocations: 208.5 kB / 0.8292 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.1557, allocations: 41.7 kB / 0.8292 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1558, allocations: 160.3 kB / 0.8294 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.1558, allocations: 47.64 kB / 0.8294 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.156, allocations: 69.97 kB / 0.8295 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1561, allocations: 334.8 kB / 0.8298 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.1565, allocations: 112.2 kB / 0.8299 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.1569, allocations: 184.4 kB / 0.8301 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.1577, allocations: 312 kB / 0.8304 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1577, allocations: 0 / 0.8304 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009785/0.1587, allocations: 427.5 kB / 0.8308 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/0.1587, allocations: 93.09 kB / 0.8309 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1587, allocations: 0 / 0.8309 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1587, allocations: 7.938 kB / 0.8309 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.159, allocations: 47.89 kB / 0.8309 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.159, allocations: 4 kB / 0.8309 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1594, allocations: 75.78 kB / 0.831 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1594, allocations: 8 kB / 0.831 GB, free: 9.164 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: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * 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.0001572/0.1596, allocations: 152.4 kB / 0.8312 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1596, allocations: 23.84 kB / 0.8312 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.1597, allocations: 25.88 kB / 0.8312 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1597, allocations: 7.938 kB / 0.8312 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1597, allocations: 7.984 kB / 0.8312 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1597, allocations: 89.02 kB / 0.8313 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.1598, allocations: 8 kB / 0.8313 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.1601, allocations: 43.94 kB / 0.8314 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.1602, allocations: 55.92 kB / 0.8314 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/0.1613, allocations: 358.8 kB / 0.8318 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000845/0.1621, allocations: 426.5 kB / 0.8322 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003665/0.1625, allocations: 117.4 kB / 0.8323 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000137/0.1626, allocations: 147.4 kB / 0.8324 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of Backend: time 2.01e-07/0.1626, allocations: 0 / 0.8324 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009252/0.1635, allocations: 412.8 kB / 0.8328 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0009239/0.1644, allocations: 0.8019 MB / 0.8336 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Templates: time 0.008085/0.1725, allocations: 3.984 MB / 0.8375 GB, free: 2.457 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.967164371861145] Failed to read output from testmodel.py, exit status != 0: 0.1796242210548371 0.19472433499999994 0.043483343 Calling exit ...