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.0009798/0.0009798, allocations: 93.06 kB / 19.65 MB, free: 280 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.001116/0.001116, allocations: 173 kB / 23.03 MB, free: 1.547 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.967/0.967, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.001706/0.001706, allocations: 238 kB / 260.2 MB, free: 12.82 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.7122/0.7122, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.412e-06/1.412e-06, allocations: 0 / 0.5552 GB, free: 492 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.676e-05, allocations: 6.312 kB / 0.5552 GB, free: 484 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00597/0.005996, allocations: 2.078 MB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.006906, allocations: 0.5925 MB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.007007, allocations: 4 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.007125, allocations: 27.66 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.007312, allocations: 47.53 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.007572, allocations: 99.8 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.007894, allocations: 287.3 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.008121, allocations: 87.91 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.008352, allocations: 175.6 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.008489, allocations: 95.67 kB / 0.5586 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.008538, allocations: 28 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.008576, allocations: 28 kB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.008635, allocations: 59.81 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.008724, allocations: 91.73 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.00895, allocations: 207.2 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.008953, allocations: 0 / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008954, allocations: 4 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.00896, allocations: 0 / 0.559 GB, free: 12.56 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.0007889/0.009749, allocations: 0.6691 MB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.009791, allocations: 12.75 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.009871, allocations: 40.8 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.0101, allocations: 208.9 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.01013, allocations: 16.88 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.01016, allocations: 28.38 kB / 0.5599 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.01053, allocations: 330 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01054, allocations: 4.172 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01056, allocations: 12.31 kB / 0.5602 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01057, allocations: 7.938 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.01071, allocations: 70.94 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.01145, allocations: 0.5482 MB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.01162, allocations: 95.02 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.01167, allocations: 27.67 kB / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.01168, allocations: 4 kB / 0.561 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.01187, allocations: 147.5 kB / 0.5611 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.01188, allocations: 4 kB / 0.5611 GB, free: 10.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003112/0.01219, allocations: 177.5 kB / 0.5613 GB, free: 9.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.01224, allocations: 136.5 kB / 0.5614 GB, free: 9.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.0124, allocations: 262.8 kB / 0.5617 GB, free: 9.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01243, allocations: 37.7 kB / 0.5617 GB, free: 9.504 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.01253, allocations: 211.4 kB / 0.5619 GB, free: 9.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01256, allocations: 51.61 kB / 0.562 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.01264, allocations: 71.62 kB / 0.562 GB, free: 9.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01276, allocations: 0.504 MB / 0.5625 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.01287, allocations: 125.3 kB / 0.5626 GB, free: 8.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01305, allocations: 296.2 kB / 0.5629 GB, free: 8.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.01323, allocations: 215.6 kB / 0.5631 GB, free: 7.887 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01323, allocations: 4 kB / 0.5631 GB, free: 7.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003313/0.01356, allocations: 392.7 kB / 0.5635 GB, free: 7.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.01361, allocations: 93.09 kB / 0.5636 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.01361, allocations: 4 kB / 0.5636 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01363, allocations: 4 kB / 0.5636 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01377, allocations: 47.91 kB / 0.5637 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.01378, allocations: 4 kB / 0.5637 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.01392, allocations: 63.89 kB / 0.5637 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01393, allocations: 11.94 kB / 0.5637 GB, free: 7.215 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.0001142/0.01405, allocations: 187.2 kB / 0.5639 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.01408, allocations: 27.84 kB / 0.5639 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.01412, allocations: 33.75 kB / 0.564 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01412, allocations: 0 / 0.564 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01412, allocations: 0 / 0.564 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01413, allocations: 7.984 kB / 0.564 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01455, allocations: 493 kB / 0.5644 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01455, allocations: 0 / 0.5644 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.01461, allocations: 19.98 kB / 0.5645 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01461, allocations: 0 / 0.5645 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01462, allocations: 3.984 kB / 0.5645 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01463, allocations: 4 kB / 0.5645 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01463, allocations: 3.938 kB / 0.5645 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01485, allocations: 302.2 kB / 0.5648 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01487, allocations: 27.78 kB / 0.5648 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.0149, allocations: 15.94 kB / 0.5648 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01502, allocations: 35.95 kB / 0.5648 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.01512, allocations: 47.86 kB / 0.5649 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.01514, allocations: 11.98 kB / 0.5649 GB, free: 5.945 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.108e-05/0.01524, allocations: 175.3 kB / 0.5651 GB, free: 5.773 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01524, allocations: 0 / 0.5651 GB, free: 5.773 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01545, allocations: 63.89 kB / 0.5651 GB, free: 5.711 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.0001083/0.01556, allocations: 119 kB / 0.5652 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.0159, allocations: 387.4 kB / 0.5656 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0159, allocations: 0 / 0.5656 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.016, allocations: 66.69 kB / 0.5657 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01626, allocations: 39.91 kB / 0.5657 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.01682, allocations: 376.9 kB / 0.5661 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.01687, allocations: 76.22 kB / 0.5661 GB, free: 4.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.01694, allocations: 29.92 kB / 0.5662 GB, free: 4.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.01701, allocations: 28.48 kB / 0.5662 GB, free: 4.504 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01701, allocations: 0 / 0.5662 GB, free: 4.504 MB / 490.7 MB Notification: Performance of Templates: time 0.006252/0.02326, allocations: 4.078 MB / 0.5702 GB, free: 0.5156 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.7068047700449824]