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.0009623/0.0009623, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001059/0.001059, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.073/1.073, allocations: 177.1 MB / 204.5 MB, free: 5.078 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.6765/0.6765, allocations: 115 MB / 376 MB, free: 7.441 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 2.705e-06/2.705e-06, allocations: 0 / 428.8 MB, free: 2.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.11e-05, allocations: 6.25 kB / 428.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003677/0.003718, allocations: 2.133 MB / 431 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.00502, allocations: 0.6271 MB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.005149, allocations: 7.938 kB / 431.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.005291, allocations: 23.67 kB / 431.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.005437, allocations: 47.52 kB / 431.7 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.005722, allocations: 99.88 kB / 431.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.006045, allocations: 315.2 kB / 432.1 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.006283, allocations: 107 kB / 432.2 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.006555, allocations: 191.5 kB / 432.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.006684, allocations: 107.7 kB / 432.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.00673, allocations: 28 kB / 432.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.006759, allocations: 32 kB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.006815, allocations: 63.8 kB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.006888, allocations: 91.73 kB / 432.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.007157, allocations: 219.2 kB / 432.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007161, allocations: 8 kB / 432.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007162, allocations: 3.938 kB / 432.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007167, allocations: 0 / 432.9 MB, free: 14.6 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.000749/0.007916, allocations: 0.5682 MB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.007954, allocations: 8.031 kB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.008023, allocations: 36.91 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.008259, allocations: 189.1 kB / 433.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.008284, allocations: 16.88 kB / 433.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.008313, allocations: 32.36 kB / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.008653, allocations: 326.2 kB / 434.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.008661, allocations: 0 / 434.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.008677, allocations: 4 kB / 434.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.008686, allocations: 8 kB / 434.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.008774, allocations: 47.47 kB / 434.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.009402, allocations: 413.8 kB / 434.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.009534, allocations: 90.44 kB / 434.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.009573, allocations: 28.84 kB / 434.6 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.009588, allocations: 7.938 kB / 434.7 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.009758, allocations: 131.2 kB / 434.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.00976, allocations: 0 / 434.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002074/0.009967, allocations: 130.1 kB / 434.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.01003, allocations: 144.4 kB / 435.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01017, allocations: 222.3 kB / 435.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.0102, allocations: 41.7 kB / 435.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.01027, allocations: 152.7 kB / 435.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.01031, allocations: 59.55 kB / 435.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.01039, allocations: 77.64 kB / 435.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.01047, allocations: 334.8 kB / 435.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.01056, allocations: 109.4 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.0107, allocations: 266.4 kB / 436.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.01085, allocations: 211.1 kB / 436.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01086, allocations: 0 / 436.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002603/0.01112, allocations: 330.2 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.01117, allocations: 93.03 kB / 436.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01118, allocations: 0 / 436.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01119, allocations: 8.156 kB / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.01133, allocations: 51.91 kB / 437 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01134, allocations: 4 kB / 437 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01148, allocations: 55.8 kB / 437 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.0115, allocations: 15.98 kB / 437 MB, free: 10.06 MB / 410.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.0001095/0.01161, allocations: 140.3 kB / 437.2 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.01164, allocations: 23.97 kB / 437.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.01168, allocations: 33.91 kB / 437.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01168, allocations: 0 / 437.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01169, allocations: 0 / 437.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01169, allocations: 3.984 kB / 437.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.01202, allocations: 315 kB / 437.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01203, allocations: 0 / 437.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.01209, allocations: 23.98 kB / 437.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0121, allocations: 7.984 kB / 437.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01211, allocations: 0 / 437.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01211, allocations: 4 kB / 437.6 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01211, allocations: 0 / 437.6 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.01226, allocations: 215.9 kB / 437.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.01228, allocations: 27.72 kB / 437.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.01231, allocations: 8.047 kB / 437.8 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01244, allocations: 43.94 kB / 437.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.01253, allocations: 55.91 kB / 437.9 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01255, allocations: 7.984 kB / 437.9 MB, free: 9.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.01259, allocations: 66.22 kB / 438 MB, free: 9.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01259, allocations: 0 / 438 MB, free: 9.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01279, allocations: 63.89 kB / 438.1 MB, free: 8.992 MB / 410.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.0001378/0.01293, allocations: 103.6 kB / 438.2 MB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01323, allocations: 368.3 kB / 438.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.01323, allocations: 0 / 438.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.01332, allocations: 65.08 kB / 438.6 MB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01356, allocations: 41.44 kB / 438.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.01411, allocations: 405.4 kB / 439 MB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.782e-05/0.01416, allocations: 80.34 kB / 439.1 MB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.902e-05/0.01425, allocations: 25.94 kB / 439.1 MB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.01441, allocations: 107.3 kB / 439.2 MB, free: 7.695 MB / 410.7 MB Notification: Performance of SimCode: time 1.774e-06/0.01441, allocations: 0 / 439.2 MB, free: 7.695 MB / 410.7 MB Notification: Performance of Templates: time 0.006471/0.02088, allocations: 4.094 MB / 443.3 MB, free: 3.625 MB / 410.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 -s gbode -gbm=radauIIA3 -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.759973314125091]