Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001915/0.001915, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.002022/0.002022, allocations: 173.2 kB / 23.53 MB, free: 0.8867 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.072/1.072, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0.875 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.238e-05, allocations: 8.703 kB / 480.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002954/0.002987, allocations: 2.077 MB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009586/0.003945, allocations: 0.6089 MB / 483.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004055, allocations: 4.75 kB / 483.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004172, allocations: 23.56 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.004312, allocations: 57.47 kB / 483.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.004517, allocations: 104.1 kB / 483.7 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.004799, allocations: 305.9 kB / 484 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.005027, allocations: 98.3 kB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.005243, allocations: 185.6 kB / 484.3 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005379, allocations: 110.5 kB / 484.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.005442, allocations: 30.78 kB / 484.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.005492, allocations: 30.31 kB / 484.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.00555, allocations: 67.77 kB / 484.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.005646, allocations: 91.94 kB / 484.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.005975, allocations: 348.5 kB / 485 MB, free: 9.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.005979, allocations: 2.094 kB / 485 MB, free: 9.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00598, allocations: 0 / 485 MB, free: 9.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005987, allocations: 0.5625 kB / 485 MB, free: 9.41 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009757/0.006962, allocations: 0.7153 MB / 485.7 MB, free: 8.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.006996, allocations: 10.12 kB / 485.7 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.899e-05/0.007095, allocations: 48.72 kB / 485.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.007407, allocations: 227 kB / 486 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.007435, allocations: 24.31 kB / 486 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.007478, allocations: 23.19 kB / 486 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.008024, allocations: 423.8 kB / 486.4 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.008036, allocations: 1.219 kB / 486.4 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.008063, allocations: 14.78 kB / 486.4 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.008072, allocations: 5.25 kB / 486.4 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.008571, allocations: 177.6 kB / 486.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.009572, allocations: 0.6195 MB / 487.2 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.01005, allocations: 186.9 kB / 487.4 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.01028, allocations: 79.31 kB / 487.5 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.01031, allocations: 8.406 kB / 487.5 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.01068, allocations: 192.1 kB / 487.7 MB, free: 7.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.01069, allocations: 1.375 kB / 487.7 MB, free: 7.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008394/0.01152, allocations: 312.7 kB / 488 MB, free: 7.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.01157, allocations: 144.1 kB / 488.1 MB, free: 7.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.01196, allocations: 318.2 kB / 488.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.01199, allocations: 40.05 kB / 488.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01214, allocations: 224.4 kB / 488.7 MB, free: 22.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.01218, allocations: 61.97 kB / 488.8 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.01231, allocations: 96.16 kB / 488.9 MB, free: 22.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/0.01258, allocations: 0.5207 MB / 489.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.01289, allocations: 189.4 kB / 489.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.01324, allocations: 369.5 kB / 489.9 MB, free: 21.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.0137, allocations: 313.3 kB / 490.2 MB, free: 21.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.0137, allocations: 0 / 490.2 MB, free: 21.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007713/0.01447, allocations: 0.516 MB / 490.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.01452, allocations: 90.42 kB / 490.8 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01453, allocations: 5.984 kB / 490.8 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01455, allocations: 2.562 kB / 490.8 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.01476, allocations: 47.48 kB / 490.9 MB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01477, allocations: 3.438 kB / 490.9 MB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.01507, allocations: 56.23 kB / 491 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.0151, allocations: 13.69 kB / 491 MB, free: 21.17 MB / 426.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: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.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 (36): * Single equations (assignments): 33 * 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.0001924/0.01529, allocations: 203.1 kB / 491.2 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.01534, allocations: 31.98 kB / 491.2 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.01541, allocations: 29.94 kB / 491.2 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01542, allocations: 3.156 kB / 491.2 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.01542, allocations: 0.6562 kB / 491.2 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01543, allocations: 0 / 491.2 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.01635, allocations: 0.5954 MB / 491.8 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01636, allocations: 0.5 kB / 491.8 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01646, allocations: 26.06 kB / 491.8 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01647, allocations: 1.125 kB / 491.8 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.01649, allocations: 6.141 kB / 491.9 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01649, allocations: 3.438 kB / 491.9 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01649, allocations: 1.375 kB / 491.9 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.01714, allocations: 397.5 kB / 492.2 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.01717, allocations: 20.41 kB / 492.3 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.01722, allocations: 8.312 kB / 492.3 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.01747, allocations: 39.05 kB / 492.3 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.01761, allocations: 66.48 kB / 492.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.01763, allocations: 9.266 kB / 492.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.0178, allocations: 204 kB / 492.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0178, allocations: 0 / 492.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.01813, allocations: 62.42 kB / 492.6 MB, free: 20.11 MB / 426.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: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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.0001607/0.01829, allocations: 125 kB / 492.8 MB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008055/0.0191, allocations: 0.4926 MB / 493.3 MB, free: 19.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0191, allocations: 1.438 kB / 493.3 MB, free: 19.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.01939, allocations: 123.1 kB / 493.4 MB, free: 19.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.01976, allocations: 45.61 kB / 493.4 MB, free: 19.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.02056, allocations: 411.6 kB / 493.8 MB, free: 19.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.02069, allocations: 137.5 kB / 494 MB, free: 19.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.02081, allocations: 23.16 kB / 494 MB, free: 19.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.02091, allocations: 34.98 kB / 494 MB, free: 19.23 MB / 426.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02091, allocations: 1.469 kB / 494 MB, free: 19.23 MB / 426.7 MB Notification: Performance of Templates: time 0.008221/0.02913, allocations: 4.041 MB / 498.1 MB, free: 18.92 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.769631301984191]