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.001367/0.001367, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.001489/0.001489, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.466/1.466, allocations: 177.1 MB / 203.9 MB, free: 5.609 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 0.9351/0.9351, allocations: 115 MB / 375.3 MB, free: 7.598 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.843e-06/1.843e-06, allocations: 0 / 480.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.691e-05, allocations: 5.266 kB / 480.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002895/0.002922, allocations: 2.034 MB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004057, allocations: 0.5866 MB / 483.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.004249, allocations: 7.75 kB / 483.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004396, allocations: 31.95 kB / 483.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.004576, allocations: 51.69 kB / 483.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.004835, allocations: 101.9 kB / 483.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.005168, allocations: 313.8 kB / 484 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.005411, allocations: 90.8 kB / 484 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.005687, allocations: 182.8 kB / 484.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005841, allocations: 110.5 kB / 484.3 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.005904, allocations: 31.28 kB / 484.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.005955, allocations: 32.09 kB / 484.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.006011, allocations: 68.88 kB / 484.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.006113, allocations: 96.62 kB / 484.6 MB, free: 9.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.006456, allocations: 339.8 kB / 484.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006459, allocations: 1 kB / 484.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.00646, allocations: 1.5 kB / 484.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.00647, allocations: 0 / 484.9 MB, free: 9.371 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.0012/0.00767, allocations: 0.6237 MB / 485.5 MB, free: 8.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.007706, allocations: 9.719 kB / 485.5 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.007837, allocations: 51.41 kB / 485.6 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.008194, allocations: 225.4 kB / 485.8 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.008221, allocations: 16.25 kB / 485.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.008268, allocations: 27.06 kB / 485.8 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.00895, allocations: 421.1 kB / 486.2 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008963, allocations: 1.125 kB / 486.2 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.008995, allocations: 14.06 kB / 486.3 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.009006, allocations: 5 kB / 486.3 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.009717, allocations: 214.7 kB / 486.5 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01088, allocations: 0.5432 MB / 487 MB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.01152, allocations: 207.5 kB / 487.2 MB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.01181, allocations: 92.62 kB / 487.3 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.01183, allocations: 2.562 kB / 487.3 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.0123, allocations: 207 kB / 487.5 MB, free: 7.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.01231, allocations: 0 / 487.5 MB, free: 7.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001118/0.01342, allocations: 359.9 kB / 487.9 MB, free: 7.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.01347, allocations: 141.5 kB / 488 MB, free: 7.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.01365, allocations: 224.1 kB / 488.2 MB, free: 7.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.01369, allocations: 41.27 kB / 488.3 MB, free: 7.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.01377, allocations: 168.8 kB / 488.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.01382, allocations: 58.48 kB / 488.5 MB, free: 7.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01393, allocations: 75.38 kB / 488.6 MB, free: 7.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.01415, allocations: 338.7 kB / 488.9 MB, free: 22.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.01456, allocations: 202.5 kB / 489.1 MB, free: 22.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.01498, allocations: 358 kB / 489.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.01563, allocations: 322 kB / 489.8 MB, free: 22.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01563, allocations: 0 / 489.8 MB, free: 22.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001044/0.01667, allocations: 0.5386 MB / 490.3 MB, free: 21.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.01675, allocations: 91.83 kB / 490.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01676, allocations: 4.344 kB / 490.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.01678, allocations: 3.375 kB / 490.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.01702, allocations: 46.95 kB / 490.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.01703, allocations: 2.375 kB / 490.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.01742, allocations: 72.11 kB / 490.5 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.01745, allocations: 10.06 kB / 490.5 MB, free: 21.73 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.0001824/0.01764, allocations: 157.8 kB / 490.7 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.0177, allocations: 35.14 kB / 490.7 MB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.01776, allocations: 32.89 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01777, allocations: 3.797 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01777, allocations: 3.984 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01778, allocations: 1.844 kB / 490.7 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.01886, allocations: 0.542 MB / 491.3 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01886, allocations: 0 / 491.3 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.01901, allocations: 35.97 kB / 491.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01902, allocations: 1.906 kB / 491.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.01904, allocations: 6.078 kB / 491.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01904, allocations: 1.281 kB / 491.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01904, allocations: 0 / 491.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.01985, allocations: 375.6 kB / 491.7 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.01988, allocations: 21.92 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.01993, allocations: 8.688 kB / 491.7 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.02028, allocations: 50.58 kB / 491.8 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.02041, allocations: 58.83 kB / 491.8 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.02044, allocations: 8.422 kB / 491.8 MB, free: 21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.02058, allocations: 147.2 kB / 492 MB, free: 20.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02058, allocations: 2.812 kB / 492 MB, free: 20.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.02092, allocations: 68.36 kB / 492.1 MB, free: 20.88 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.0001661/0.02109, allocations: 122.7 kB / 492.2 MB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.02205, allocations: 0.5009 MB / 492.7 MB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02205, allocations: 0 / 492.7 MB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.02242, allocations: 118.4 kB / 492.8 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.02281, allocations: 52.94 kB / 492.8 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.02368, allocations: 406.8 kB / 493.2 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.0238, allocations: 137.8 kB / 493.4 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.02392, allocations: 28.28 kB / 493.4 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.02403, allocations: 31.09 kB / 493.4 MB, free: 20.03 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02403, allocations: 0 / 493.4 MB, free: 20.03 MB / 426.7 MB Notification: Performance of Templates: time 0.008286/0.03231, allocations: 4.044 MB / 497.5 MB, free: 19.71 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.469947239034809]