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.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.0009352/0.0009352, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009684/0.0009684, allocations: 173 kB / 23.5 MB, free: 1.051 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.9181/0.9181, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.002421/0.002421, allocations: 233 kB / 260.5 MB, free: 12.89 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.7512/0.7512, allocations: 138.4 MB / 455.4 MB, free: 30.08 MB / 410.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.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 2.004e-06/2.004e-06, allocations: 0 / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.137e-05, allocations: 2.312 kB / 0.5551 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.004073/0.004104, allocations: 2.074 MB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.005306, allocations: 0.5881 MB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.005457, allocations: 0 / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.005603, allocations: 35.59 kB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.005763, allocations: 47.59 kB / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.006043, allocations: 95.81 kB / 0.5578 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.006428, allocations: 291.3 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.006678, allocations: 83.89 kB / 0.5582 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.00693, allocations: 175.6 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.007096, allocations: 103.7 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.007153, allocations: 28 kB / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.007193, allocations: 28 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.007256, allocations: 59.81 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.007372, allocations: 87.75 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.007698, allocations: 211.2 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007701, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007702, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007708, allocations: 0 / 0.5589 GB, free: 12.54 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001028/0.008736, allocations: 0.6694 MB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.008781, allocations: 13.94 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.0089, allocations: 56.73 kB / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.009236, allocations: 217.5 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.009271, allocations: 20.86 kB / 0.5598 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.009322, allocations: 24.38 kB / 0.5598 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.009882, allocations: 326.1 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009893, allocations: 192 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.009925, allocations: 12.12 kB / 0.5602 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.009937, allocations: 4 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.01016, allocations: 66.89 kB / 0.5602 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01117, allocations: 0.5639 MB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01142, allocations: 90.97 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.01151, allocations: 31.67 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.01152, allocations: 0 / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.01179, allocations: 146.2 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/0.0118, allocations: 0 / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004662/0.01226, allocations: 179.7 kB / 0.5612 GB, free: 9.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.01234, allocations: 144.5 kB / 0.5613 GB, free: 9.785 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.01257, allocations: 262.6 kB / 0.5616 GB, free: 9.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.01262, allocations: 41.69 kB / 0.5616 GB, free: 9.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01275, allocations: 203.4 kB / 0.5618 GB, free: 9.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.0128, allocations: 51.62 kB / 0.5619 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.01292, allocations: 75.62 kB / 0.5619 GB, free: 9.129 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01309, allocations: 0.5039 MB / 0.5624 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.01326, allocations: 121.4 kB / 0.5626 GB, free: 8.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.0135, allocations: 300.7 kB / 0.5628 GB, free: 8.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.01377, allocations: 218.1 kB / 0.563 GB, free: 7.852 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01377, allocations: 0 / 0.563 GB, free: 7.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007737/0.01455, allocations: 401.2 kB / 0.5634 GB, free: 7.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.0146, allocations: 85.11 kB / 0.5635 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01461, allocations: 0 / 0.5635 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.01463, allocations: 8.141 kB / 0.5635 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.01483, allocations: 51.91 kB / 0.5636 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01484, allocations: 7.938 kB / 0.5636 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.01509, allocations: 59.69 kB / 0.5636 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.01512, allocations: 12 kB / 0.5636 GB, free: 7.18 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: 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.0001433/0.01526, allocations: 183.1 kB / 0.5638 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.01531, allocations: 27.91 kB / 0.5638 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.01537, allocations: 29.8 kB / 0.5639 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01537, allocations: 4 kB / 0.5639 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01537, allocations: 0 / 0.5639 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01538, allocations: 0 / 0.5639 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.01598, allocations: 489.1 kB / 0.5643 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01598, allocations: 0 / 0.5643 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01609, allocations: 15.98 kB / 0.5644 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.0161, allocations: 3.984 kB / 0.5644 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.01612, allocations: 12 kB / 0.5644 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.01612, allocations: 3.938 kB / 0.5644 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01613, allocations: 7.938 kB / 0.5644 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.01648, allocations: 313.8 kB / 0.5647 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.01651, allocations: 19.84 kB / 0.5647 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.01656, allocations: 8 kB / 0.5647 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.01677, allocations: 35.95 kB / 0.5647 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.01691, allocations: 51.84 kB / 0.5648 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.01694, allocations: 8 kB / 0.5648 GB, free: 5.918 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.01707, allocations: 183.2 kB / 0.565 GB, free: 5.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01707, allocations: 0 / 0.565 GB, free: 5.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.01743, allocations: 59.89 kB / 0.565 GB, free: 5.68 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: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * 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.000145/0.01758, allocations: 111.8 kB / 0.5651 GB, free: 5.562 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.01804, allocations: 385.8 kB / 0.5655 GB, free: 5.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.01805, allocations: 4 kB / 0.5655 GB, free: 5.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.0182, allocations: 67.59 kB / 0.5656 GB, free: 5.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.01862, allocations: 42.89 kB / 0.5656 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.01942, allocations: 368.1 kB / 0.566 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/0.01948, allocations: 76.22 kB / 0.566 GB, free: 4.539 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.01959, allocations: 21.95 kB / 0.5661 GB, free: 4.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.01968, allocations: 32.48 kB / 0.5661 GB, free: 4.488 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01968, allocations: 0 / 0.5661 GB, free: 4.488 MB / 490.7 MB Notification: Performance of Templates: time 0.005785/0.02547, allocations: 3.872 MB / 0.5699 GB, free: 0.7266 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8191044689156115]