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.001396/0.001396, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001213/0.001213, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9733/0.9733, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001768/0.001768, allocations: 247.5 kB / 261.3 MB, free: 12.65 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.7236/0.7236, allocations: 138.5 MB / 456.3 MB, free: 1.391 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 2.104e-06/2.104e-06, allocations: 0 / 0.5564 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.816e-05, allocations: 9.203 kB / 0.5564 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003744/0.003773, allocations: 2.054 MB / 0.5584 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.005123, allocations: 0.5925 MB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.005296, allocations: 3.938 kB / 0.559 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.005442, allocations: 23.73 kB / 0.559 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.005601, allocations: 51.52 kB / 0.5591 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.005881, allocations: 99.8 kB / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.006249, allocations: 283.3 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.006504, allocations: 91.89 kB / 0.5595 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.006787, allocations: 175.6 kB / 0.5597 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.006948, allocations: 95.72 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.007003, allocations: 28 kB / 0.5598 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.007044, allocations: 28 kB / 0.5598 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.007108, allocations: 63.75 kB / 0.5599 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.007209, allocations: 83.8 kB / 0.56 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.00753, allocations: 207.2 kB / 0.5602 GB, free: 12.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.007534, allocations: 0 / 0.5602 GB, free: 12.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.007535, allocations: 0 / 0.5602 GB, free: 12.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007541, allocations: 0 / 0.5602 GB, free: 12.29 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.001152/0.008694, allocations: 0.6807 MB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.008739, allocations: 8.75 kB / 0.5609 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.00885, allocations: 44.8 kB / 0.5609 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.009154, allocations: 208.9 kB / 0.5611 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.009188, allocations: 20.81 kB / 0.5611 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.00923, allocations: 20.38 kB / 0.5611 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.009704, allocations: 322.1 kB / 0.5614 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.009715, allocations: 192 / 0.5614 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.009739, allocations: 8.375 kB / 0.5615 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.009749, allocations: 7.938 kB / 0.5615 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.009891, allocations: 55.44 kB / 0.5615 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.01077, allocations: 0.5215 MB / 0.562 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.01097, allocations: 86.83 kB / 0.5621 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.01103, allocations: 31.66 kB / 0.5621 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.01105, allocations: 8 kB / 0.5621 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.01128, allocations: 128.9 kB / 0.5623 GB, free: 9.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/0.01128, allocations: 0 / 0.5623 GB, free: 9.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003752/0.01165, allocations: 168.2 kB / 0.5624 GB, free: 9.801 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.01173, allocations: 140.5 kB / 0.5626 GB, free: 9.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.01193, allocations: 254.7 kB / 0.5628 GB, free: 9.367 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.01197, allocations: 37.7 kB / 0.5628 GB, free: 9.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.0121, allocations: 207.3 kB / 0.563 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.01215, allocations: 59.59 kB / 0.5631 GB, free: 9.059 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.01227, allocations: 71.59 kB / 0.5632 GB, free: 8.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01245, allocations: 0.5117 MB / 0.5637 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.01258, allocations: 113.4 kB / 0.5638 GB, free: 8.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.01316, allocations: 292 kB / 0.5641 GB, free: 7.965 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.0134, allocations: 203.6 kB / 0.5642 GB, free: 7.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.01341, allocations: 4 kB / 0.5642 GB, free: 7.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005285/0.01394, allocations: 376.8 kB / 0.5646 GB, free: 7.309 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/0.01402, allocations: 95.91 kB / 0.5647 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.01403, allocations: 4 kB / 0.5647 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01405, allocations: 0 / 0.5647 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01426, allocations: 47.91 kB / 0.5647 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01427, allocations: 4 kB / 0.5648 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.01455, allocations: 59.73 kB / 0.5648 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.01457, allocations: 12.16 kB / 0.5648 GB, free: 7.074 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,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.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) * 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.0001852/0.01476, allocations: 183.1 kB / 0.565 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.01482, allocations: 35.84 kB / 0.565 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.01488, allocations: 25.81 kB / 0.5651 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.01489, allocations: 4 kB / 0.5651 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01489, allocations: 4 kB / 0.5651 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.0149, allocations: 3.984 kB / 0.5651 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.01582, allocations: 441.6 kB / 0.5655 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.01582, allocations: 0 / 0.5655 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01596, allocations: 27.98 kB / 0.5655 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.01596, allocations: 0 / 0.5655 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.01598, allocations: 4.031 kB / 0.5655 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.01599, allocations: 4 kB / 0.5655 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.01599, allocations: 3.984 kB / 0.5655 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.01636, allocations: 303.6 kB / 0.5658 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.01639, allocations: 23.8 kB / 0.5658 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.01643, allocations: 8 kB / 0.5658 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01658, allocations: 39.95 kB / 0.5659 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.01667, allocations: 47.91 kB / 0.5659 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.01669, allocations: 4 kB / 0.5659 GB, free: 5.867 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.022e-05/0.01678, allocations: 175.2 kB / 0.5661 GB, free: 5.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01678, allocations: 0 / 0.5661 GB, free: 5.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.01701, allocations: 67.81 kB / 0.5662 GB, free: 5.629 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.000128/0.01714, allocations: 115.2 kB / 0.5663 GB, free: 5.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.01746, allocations: 370.7 kB / 0.5666 GB, free: 5.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01746, allocations: 0 / 0.5666 GB, free: 5.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.01754, allocations: 63.52 kB / 0.5667 GB, free: 5.023 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.01781, allocations: 43.91 kB / 0.5667 GB, free: 4.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.01834, allocations: 365.7 kB / 0.5671 GB, free: 4.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.01838, allocations: 80.2 kB / 0.5672 GB, free: 4.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.059e-05/0.01845, allocations: 21.95 kB / 0.5672 GB, free: 4.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.01868, allocations: 126.2 kB / 0.5673 GB, free: 4.352 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01868, allocations: 0 / 0.5673 GB, free: 4.352 MB / 490.7 MB Notification: Performance of Templates: time 0.005785/0.02446, allocations: 4.226 MB / 0.5714 GB, free: 220 kB / 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.749508425127715]