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.001355/0.001355, allocations: 88.72 kB / 19.44 MB, free: 356 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.001554/0.001554, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.437/1.437, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002525/0.002525, allocations: 229.6 kB / 259.8 MB, free: 12.84 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.065/1.065, allocations: 138.4 MB / 454.7 MB, free: 1.457 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.553e-06/1.553e-06, allocations: 0 / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.604e-05, allocations: 5.828 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003571/0.003597, allocations: 2.004 MB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004798, allocations: 0.5766 MB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004907, allocations: 4 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.005032, allocations: 23.67 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.005183, allocations: 51.52 kB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.005438, allocations: 99.8 kB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.005829, allocations: 287.3 kB / 0.5573 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.006062, allocations: 91.95 kB / 0.5574 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.006313, allocations: 167.6 kB / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.006482, allocations: 103.7 kB / 0.5577 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.006538, allocations: 28 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.006589, allocations: 32 kB / 0.5577 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.006665, allocations: 59.81 kB / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.006797, allocations: 83.73 kB / 0.5579 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.007237, allocations: 323 kB / 0.5582 GB, free: 12.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.00724, allocations: 0 / 0.5582 GB, free: 12.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007241, allocations: 4 kB / 0.5582 GB, free: 12.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.007246, allocations: 0 / 0.5582 GB, free: 12.87 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.001333/0.008579, allocations: 0.589 MB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.008616, allocations: 12.75 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.008757, allocations: 44.78 kB / 0.5588 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.009155, allocations: 206.8 kB / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.009188, allocations: 24.86 kB / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.009242, allocations: 24.38 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.01004, allocations: 358.1 kB / 0.5594 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01005, allocations: 4.172 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.01008, allocations: 12.12 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.01009, allocations: 4 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.01087, allocations: 209.8 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.01211, allocations: 0.5215 MB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.01286, allocations: 186.4 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.01321, allocations: 88.77 kB / 0.5604 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01323, allocations: 4 kB / 0.5604 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/0.0138, allocations: 195.2 kB / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.0138, allocations: 0 / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.001286/0.01508, allocations: 351.9 kB / 0.5609 GB, free: 9.895 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.0152, allocations: 136.5 kB / 0.5611 GB, free: 9.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.01569, allocations: 204.3 kB / 0.5613 GB, free: 9.523 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.01574, allocations: 45.69 kB / 0.5613 GB, free: 9.473 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.0159, allocations: 160.6 kB / 0.5614 GB, free: 9.312 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.01596, allocations: 47.64 kB / 0.5615 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.01609, allocations: 69.97 kB / 0.5616 GB, free: 9.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.0163, allocations: 338.8 kB / 0.5619 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.0168, allocations: 201.3 kB / 0.5621 GB, free: 8.637 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.0174, allocations: 346.6 kB / 0.5624 GB, free: 8.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.01822, allocations: 314.5 kB / 0.5627 GB, free: 7.887 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01823, allocations: 0 / 0.5627 GB, free: 7.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00119/0.01942, allocations: 0.5201 MB / 0.5632 GB, free: 7.324 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/0.01951, allocations: 93.09 kB / 0.5633 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01952, allocations: 4 kB / 0.5633 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.01954, allocations: 4 kB / 0.5633 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.0198, allocations: 43.91 kB / 0.5634 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01981, allocations: 4.141 kB / 0.5634 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.02019, allocations: 71.77 kB / 0.5634 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.02022, allocations: 12 kB / 0.5634 GB, free: 7.078 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.0001905/0.02041, allocations: 156.4 kB / 0.5636 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.02048, allocations: 27.84 kB / 0.5636 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.02056, allocations: 25.81 kB / 0.5636 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.02056, allocations: 15.94 kB / 0.5637 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02057, allocations: 0 / 0.5637 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02058, allocations: 7.922 kB / 0.5637 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.02182, allocations: 0.5135 MB / 0.5642 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.02183, allocations: 0 / 0.5642 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.02201, allocations: 39.91 kB / 0.5642 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.02201, allocations: 0 / 0.5642 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.02204, allocations: 7.984 kB / 0.5642 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.02204, allocations: 0 / 0.5642 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.02204, allocations: 3.938 kB / 0.5642 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.02297, allocations: 365.8 kB / 0.5646 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.02301, allocations: 19.8 kB / 0.5646 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.02306, allocations: 8 kB / 0.5646 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.02341, allocations: 47.94 kB / 0.5646 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.02356, allocations: 55.84 kB / 0.5647 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.02359, allocations: 7.984 kB / 0.5647 GB, free: 5.723 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.02375, allocations: 147.4 kB / 0.5648 GB, free: 5.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02375, allocations: 0 / 0.5648 GB, free: 5.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.0241, allocations: 67.89 kB / 0.5649 GB, free: 5.512 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.0001696/0.02427, allocations: 111.2 kB / 0.565 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.02538, allocations: 0.4919 MB / 0.5655 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.02539, allocations: 4 kB / 0.5655 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.02579, allocations: 103.9 kB / 0.5656 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.0262, allocations: 52.86 kB / 0.5656 GB, free: 4.691 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.02715, allocations: 379.9 kB / 0.566 GB, free: 4.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.0273, allocations: 126.1 kB / 0.5661 GB, free: 4.152 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.02742, allocations: 25.94 kB / 0.5661 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.02752, allocations: 28.48 kB / 0.5662 GB, free: 4.102 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02752, allocations: 0 / 0.5662 GB, free: 4.102 MB / 490.7 MB Notification: Performance of Templates: time 0.008903/0.03643, allocations: 3.846 MB / 0.5699 GB, free: 360 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=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.477900536963716]