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.00116/0.00116, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.001103/0.001103, allocations: 169.3 kB / 23.8 MB, free: 0.7695 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.9903/0.9903, allocations: 177.2 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6077/0.6077, allocations: 115 MB / 375.7 MB, free: 7.605 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.493e-06/1.493e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.37e-05, allocations: 2.969 kB / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002448/0.002472, allocations: 2.109 MB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.003394, allocations: 0.6185 MB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.003512, allocations: 6.312 kB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.003639, allocations: 30.19 kB / 484.3 MB, free: 10 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.003768, allocations: 43.2 kB / 484.4 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.004003, allocations: 107.4 kB / 484.5 MB, free: 9.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.004298, allocations: 312.3 kB / 484.8 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.004544, allocations: 94.73 kB / 484.9 MB, free: 9.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.004764, allocations: 188.6 kB / 485.1 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.004879, allocations: 109 kB / 485.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.004925, allocations: 30.34 kB / 485.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.004962, allocations: 29.22 kB / 485.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.00501, allocations: 68.56 kB / 485.3 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.005089, allocations: 88.55 kB / 485.4 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.005322, allocations: 221.3 kB / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005325, allocations: 0 / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.005326, allocations: 0 / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.005332, allocations: 0.625 kB / 485.6 MB, free: 9.359 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.0007636/0.006096, allocations: 0.6971 MB / 486.3 MB, free: 8.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.006135, allocations: 10.56 kB / 486.3 MB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.006226, allocations: 48.25 kB / 486.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.00645, allocations: 220.9 kB / 486.6 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.006481, allocations: 18.53 kB / 486.6 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.006519, allocations: 25.06 kB / 486.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.006956, allocations: 346.8 kB / 487 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006966, allocations: 1.344 kB / 487 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.00699, allocations: 9.656 kB / 487 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.007003, allocations: 14.5 kB / 487 MB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.007204, allocations: 71.61 kB / 487.1 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.008266, allocations: 0.5737 MB / 487.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.008475, allocations: 100 kB / 487.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.00855, allocations: 36.69 kB / 487.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.008565, allocations: 3.469 kB / 487.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.008801, allocations: 149.3 kB / 487.9 MB, free: 23.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.357e-06/0.008805, allocations: 1.781 kB / 487.9 MB, free: 23.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004037/0.009208, allocations: 197.2 kB / 488.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.009253, allocations: 137.8 kB / 488.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.009439, allocations: 280.3 kB / 488.5 MB, free: 23.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.009468, allocations: 39.92 kB / 488.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.009564, allocations: 213.4 kB / 488.8 MB, free: 23.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.009602, allocations: 57.97 kB / 488.8 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.009706, allocations: 80.78 kB / 488.9 MB, free: 22.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.009826, allocations: 0.5111 MB / 489.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.009958, allocations: 128.2 kB / 489.5 MB, free: 22.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.01012, allocations: 296.2 kB / 489.8 MB, free: 22.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01032, allocations: 228.4 kB / 490 MB, free: 21.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01032, allocations: 1.406 kB / 490 MB, free: 21.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004568/0.01078, allocations: 418.6 kB / 490.5 MB, free: 21.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.01084, allocations: 89.41 kB / 490.5 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01084, allocations: 5.594 kB / 490.5 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01086, allocations: 4.5 kB / 490.5 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.01105, allocations: 48.25 kB / 490.6 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01106, allocations: 2.25 kB / 490.6 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.01125, allocations: 60.11 kB / 490.7 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.01128, allocations: 12.25 kB / 490.7 MB, free: 21.45 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.0001309/0.01141, allocations: 186.3 kB / 490.9 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.01145, allocations: 34.97 kB / 490.9 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.0115, allocations: 30.25 kB / 490.9 MB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.0115, allocations: 5.062 kB / 490.9 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.01151, allocations: 1.125 kB / 490.9 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01151, allocations: 0.875 kB / 490.9 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.01204, allocations: 0.4982 MB / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01205, allocations: 1.344 kB / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.01213, allocations: 18.11 kB / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01213, allocations: 0 / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.01215, allocations: 11.23 kB / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01215, allocations: 0 / 491.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.01215, allocations: 1.875 kB / 491.5 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.01244, allocations: 327.8 kB / 491.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.01246, allocations: 20.62 kB / 491.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.0125, allocations: 10.56 kB / 491.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.01267, allocations: 36.38 kB / 491.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.01279, allocations: 53.48 kB / 491.9 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.01281, allocations: 12.59 kB / 491.9 MB, free: 20.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01292, allocations: 183 kB / 492.1 MB, free: 20.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01292, allocations: 0.5 kB / 492.1 MB, free: 20.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.01322, allocations: 62.3 kB / 492.1 MB, free: 20.46 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.0001333/0.01335, allocations: 118.9 kB / 492.3 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.01374, allocations: 397.9 kB / 492.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01374, allocations: 0.875 kB / 492.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.01386, allocations: 71.31 kB / 492.7 MB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.01421, allocations: 50.91 kB / 492.8 MB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.01492, allocations: 397 kB / 493.2 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.01498, allocations: 80.28 kB / 493.2 MB, free: 19.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.972e-05/0.01508, allocations: 23.98 kB / 493.3 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.01518, allocations: 30.44 kB / 493.3 MB, free: 19.63 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01518, allocations: 0 / 493.3 MB, free: 19.63 MB / 426.7 MB Notification: Performance of Templates: time 0.008249/0.02343, allocations: 4.289 MB / 497.6 MB, free: 19.27 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: 3.5970513205975294]