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.0009672/0.0009672, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001506/0.001506, allocations: 167.6 kB / 24.84 MB, free: 9.207 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.9634/0.9634, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6328/0.6328, allocations: 115 MB / 376.8 MB, free: 7.488 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.603e-06/1.603e-06, allocations: 0.6562 kB / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.301e-05, allocations: 2.312 kB / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002139/0.002152, allocations: 2.083 MB / 484.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.002979, allocations: 0.6139 MB / 485.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003092, allocations: 3.25 kB / 485.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003221, allocations: 27.59 kB / 485.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.003334, allocations: 57.14 kB / 485.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.003514, allocations: 99.09 kB / 485.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.00374, allocations: 317 kB / 486 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.003928, allocations: 87.17 kB / 486.1 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004112, allocations: 187.7 kB / 486.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.004218, allocations: 106.4 kB / 486.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.004261, allocations: 30.72 kB / 486.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.004292, allocations: 29.41 kB / 486.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.004338, allocations: 72.42 kB / 486.5 MB, free: 9.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.004407, allocations: 88.69 kB / 486.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004604, allocations: 217.9 kB / 486.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004606, allocations: 1.406 kB / 486.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004608, allocations: 3.422 kB / 486.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004613, allocations: 1.125 kB / 486.8 MB, free: 9.203 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.0006546/0.005267, allocations: 0.6985 MB / 487.5 MB, free: 8.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.005298, allocations: 8.875 kB / 487.5 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.00537, allocations: 56.81 kB / 487.6 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.005546, allocations: 216.3 kB / 487.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.005571, allocations: 18.81 kB / 487.8 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.005602, allocations: 27.53 kB / 487.8 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.005888, allocations: 329.3 kB / 488.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.005898, allocations: 1.406 kB / 488.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.005915, allocations: 10.66 kB / 488.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.005923, allocations: 4.969 kB / 488.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.006026, allocations: 56.11 kB / 488.2 MB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.006619, allocations: 0.5527 MB / 488.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.006749, allocations: 91.78 kB / 488.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.00679, allocations: 29.12 kB / 488.9 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006805, allocations: 7.891 kB / 488.9 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.006966, allocations: 138.2 kB / 489 MB, free: 7.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.006967, allocations: 0 / 489 MB, free: 7.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002805/0.007248, allocations: 181.5 kB / 489.2 MB, free: 7.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.007287, allocations: 136.3 kB / 489.3 MB, free: 7.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007409, allocations: 280.8 kB / 489.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.007435, allocations: 38.91 kB / 489.7 MB, free: 7.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.007505, allocations: 210.3 kB / 489.9 MB, free: 6.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.00754, allocations: 60.03 kB / 489.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.007617, allocations: 84.12 kB / 490 MB, free: 6.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.007823, allocations: 0.5036 MB / 490.5 MB, free: 22.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.0079, allocations: 121.4 kB / 490.6 MB, free: 22.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.008033, allocations: 294.3 kB / 490.9 MB, free: 21.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.008198, allocations: 222.2 kB / 491.1 MB, free: 21.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0082, allocations: 0 / 491.1 MB, free: 21.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002946/0.008494, allocations: 396.6 kB / 491.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.008531, allocations: 90.55 kB / 491.6 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.008535, allocations: 1.281 kB / 491.6 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.008545, allocations: 6.375 kB / 491.6 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.008668, allocations: 48.59 kB / 491.7 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008674, allocations: 12.52 kB / 491.7 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.008816, allocations: 56.11 kB / 491.7 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.008833, allocations: 13.09 kB / 491.7 MB, free: 21.36 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,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.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) * 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.0001239/0.008957, allocations: 185.2 kB / 491.9 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.008992, allocations: 35.19 kB / 492 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.009024, allocations: 32.05 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.009027, allocations: 2.5 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009029, allocations: 0 / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009033, allocations: 1.344 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.009395, allocations: 456.8 kB / 492.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009396, allocations: 0 / 492.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.009455, allocations: 31.14 kB / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009458, allocations: 3.984 kB / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009469, allocations: 6.031 kB / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.00947, allocations: 0 / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009471, allocations: 3.188 kB / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.009676, allocations: 308.1 kB / 492.8 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.009693, allocations: 22 kB / 492.8 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.009723, allocations: 11.77 kB / 492.8 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.009849, allocations: 38.02 kB / 492.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.009945, allocations: 61.61 kB / 492.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.00996, allocations: 7.484 kB / 492.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.01007, allocations: 172.1 kB / 493.1 MB, free: 20.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 0.875 kB / 493.1 MB, free: 20.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01027, allocations: 64.58 kB / 493.2 MB, free: 20.41 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 8.943e-05/0.01036, allocations: 115.8 kB / 493.3 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.01064, allocations: 380.3 kB / 493.6 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01065, allocations: 2.062 kB / 493.6 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.01074, allocations: 70.3 kB / 493.7 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.01099, allocations: 49.5 kB / 493.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.01146, allocations: 392.4 kB / 494.1 MB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.0115, allocations: 77.27 kB / 494.2 MB, free: 19.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.01158, allocations: 25.36 kB / 494.2 MB, free: 19.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.01174, allocations: 129.3 kB / 494.4 MB, free: 19.54 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01174, allocations: 3.938 kB / 494.4 MB, free: 19.54 MB / 426.7 MB Notification: Performance of Templates: time 0.006279/0.01802, allocations: 4.452 MB / 498.8 MB, free: 19.11 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.5783651382662356]