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.002489/0.002489, allocations: 93.47 kB / 19.44 MB, free: 336 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.002974/0.002974, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003221/0.003221, allocations: 234.1 kB / 259.8 MB, free: 12.86 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 1.19/1.19, allocations: 138.4 MB / 454.7 MB, free: 1.516 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.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 1.613e-06/1.613e-06, allocations: 0 / 0.5544 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.031e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.005598/0.005628, allocations: 2.039 MB / 0.5564 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.007455, allocations: 0.5844 MB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.007652, allocations: 7.938 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.007837, allocations: 23.72 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.00807, allocations: 51.53 kB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.008438, allocations: 99.73 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.008988, allocations: 291.3 kB / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.00932, allocations: 87.95 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.009718, allocations: 163.7 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.009961, allocations: 103.7 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.01006, allocations: 28 kB / 0.5578 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.01013, allocations: 28 kB / 0.5578 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.01025, allocations: 59.81 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01043, allocations: 91.67 kB / 0.5579 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.01107, allocations: 323 kB / 0.5582 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.01107, allocations: 4 kB / 0.5582 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01107, allocations: 4 kB / 0.5582 GB, free: 12.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.01109, allocations: 0 / 0.5582 GB, free: 12.85 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.001921/0.01301, allocations: 0.6808 MB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001043/0.01311, allocations: 12.75 kB / 0.5589 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.01336, allocations: 44.8 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.01393, allocations: 205.6 kB / 0.5592 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.01398, allocations: 20.88 kB / 0.5592 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.01406, allocations: 24.38 kB / 0.5592 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.01499, allocations: 373.3 kB / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.015, allocations: 192 / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.01506, allocations: 16.12 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.01507, allocations: 4 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.01581, allocations: 161.9 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.01742, allocations: 0.6111 MB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.01819, allocations: 171 kB / 0.5605 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.01853, allocations: 75.64 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.01856, allocations: 3.938 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.0192, allocations: 199.4 kB / 0.5608 GB, free: 10.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.0192, allocations: 0 / 0.5608 GB, free: 10.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.001288/0.02049, allocations: 293.3 kB / 0.561 GB, free: 9.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.02063, allocations: 140.5 kB / 0.5612 GB, free: 9.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.02108, allocations: 298.8 kB / 0.5615 GB, free: 9.312 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.02115, allocations: 37.7 kB / 0.5615 GB, free: 9.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.02139, allocations: 215.4 kB / 0.5617 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.02148, allocations: 59.62 kB / 0.5618 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.0217, allocations: 91.58 kB / 0.5618 GB, free: 8.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003834/0.02208, allocations: 0.5157 MB / 0.5623 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.02266, allocations: 185.3 kB / 0.5625 GB, free: 8.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.02341, allocations: 360.1 kB / 0.5629 GB, free: 7.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/0.02428, allocations: 303.5 kB / 0.5632 GB, free: 7.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.02429, allocations: 0 / 0.5632 GB, free: 7.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001405/0.02569, allocations: 0.489 MB / 0.5636 GB, free: 6.871 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.02581, allocations: 89.09 kB / 0.5637 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02582, allocations: 0 / 0.5637 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.02584, allocations: 8.156 kB / 0.5637 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.02618, allocations: 51.91 kB / 0.5638 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.02619, allocations: 0 / 0.5638 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.02663, allocations: 55.78 kB / 0.5638 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.02667, allocations: 16 kB / 0.5638 GB, free: 6.637 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.000297/0.02697, allocations: 203.1 kB / 0.564 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.02706, allocations: 35.84 kB / 0.5641 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.02716, allocations: 25.81 kB / 0.5641 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02716, allocations: 0 / 0.5641 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.02717, allocations: 0 / 0.5641 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.02718, allocations: 11.92 kB / 0.5641 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.02869, allocations: 0.5696 MB / 0.5647 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0287, allocations: 0 / 0.5647 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.02886, allocations: 19.97 kB / 0.5647 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.02887, allocations: 4 kB / 0.5647 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.0289, allocations: 8 kB / 0.5647 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.0289, allocations: 0 / 0.5647 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.0289, allocations: 3.938 kB / 0.5647 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.0299, allocations: 387.5 kB / 0.5651 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.02996, allocations: 19.8 kB / 0.5651 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.03002, allocations: 8 kB / 0.5651 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.03042, allocations: 43.95 kB / 0.5651 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.03066, allocations: 59.84 kB / 0.5652 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.0307, allocations: 4 kB / 0.5652 GB, free: 5.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.03097, allocations: 195.3 kB / 0.5654 GB, free: 4.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03097, allocations: 0 / 0.5654 GB, free: 4.984 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.03154, allocations: 63.88 kB / 0.5654 GB, free: 4.922 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.0002163/0.03176, allocations: 107.2 kB / 0.5655 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.03298, allocations: 0.4985 MB / 0.566 GB, free: 4.254 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.03298, allocations: 0 / 0.566 GB, free: 4.254 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.03343, allocations: 115.5 kB / 0.5661 GB, free: 4.137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.03405, allocations: 39.8 kB / 0.5662 GB, free: 4.102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.03522, allocations: 385.4 kB / 0.5666 GB, free: 3.699 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.0354, allocations: 126.1 kB / 0.5667 GB, free: 3.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.03555, allocations: 25.94 kB / 0.5667 GB, free: 3.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.03568, allocations: 32.48 kB / 0.5667 GB, free: 3.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03568, allocations: 0 / 0.5667 GB, free: 3.5 MB / 490.7 MB Notification: Performance of Templates: time 0.01251/0.04819, allocations: 3.869 MB / 0.5705 GB, free: 15.72 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.075264048064128]