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.001358/0.001358, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001825/0.001825, allocations: 169.3 kB / 24.14 MB, free: 352 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 0.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.5932/0.5932, allocations: 115 MB / 376 MB, free: 7.473 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.262e-06/1.262e-06, allocations: 0 / 428.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.221e-05, allocations: 6.25 kB / 428.8 MB, free: 2.711 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002207/0.002219, allocations: 2.094 MB / 430.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.003005, allocations: 0.6271 MB / 431.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.003095, allocations: 0 / 431.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.003193, allocations: 31.61 kB / 431.5 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.003294, allocations: 47.53 kB / 431.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.00347, allocations: 107.8 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.0037, allocations: 307.2 kB / 432 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.003862, allocations: 106.9 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.004028, allocations: 187.6 kB / 432.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004129, allocations: 107.7 kB / 432.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.004166, allocations: 28 kB / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.004191, allocations: 28 kB / 432.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.004242, allocations: 71.73 kB / 432.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.004309, allocations: 83.8 kB / 432.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004505, allocations: 227.1 kB / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004507, allocations: 4 kB / 432.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.004507, allocations: 0 / 432.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.00451, allocations: 0 / 432.8 MB, free: 14.65 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.0005904/0.005101, allocations: 0.5721 MB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005129, allocations: 8.031 kB / 433.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.005183, allocations: 44.89 kB / 433.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.005357, allocations: 189 kB / 433.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.005374, allocations: 16.88 kB / 433.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.005403, allocations: 32.31 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.005676, allocations: 318.3 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.005682, allocations: 0 / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.005699, allocations: 12 kB / 434 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005705, allocations: 7.984 kB / 434 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.005782, allocations: 47.48 kB / 434 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.006289, allocations: 417.8 kB / 434.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.006402, allocations: 86.42 kB / 434.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.006437, allocations: 24.84 kB / 434.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.006449, allocations: 7.938 kB / 434.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.006586, allocations: 135.2 kB / 434.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.006587, allocations: 0 / 434.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001711/0.006758, allocations: 134.1 kB / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.006808, allocations: 136.5 kB / 435 MB, free: 12.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.006927, allocations: 222.3 kB / 435.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.006954, allocations: 37.7 kB / 435.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.007018, allocations: 152.7 kB / 435.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.007051, allocations: 59.56 kB / 435.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.007119, allocations: 69.64 kB / 435.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.007199, allocations: 338.8 kB / 435.8 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.00727, allocations: 117.4 kB / 435.9 MB, free: 11.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.007391, allocations: 270.3 kB / 436.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.007514, allocations: 203.2 kB / 436.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007516, allocations: 0 / 436.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002019/0.007718, allocations: 326.2 kB / 436.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.007756, allocations: 97.03 kB / 436.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.00776, allocations: 0 / 436.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.007769, allocations: 8.156 kB / 436.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.007883, allocations: 47.91 kB / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007886, allocations: 0 / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.008015, allocations: 59.8 kB / 436.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.008028, allocations: 8 kB / 436.9 MB, free: 10.12 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 8.643e-05/0.008114, allocations: 148.3 kB / 437.1 MB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.008137, allocations: 28 kB / 437.1 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.008169, allocations: 33.89 kB / 437.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008172, allocations: 4 kB / 437.1 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.008173, allocations: 0 / 437.1 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008176, allocations: 0 / 437.1 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.008435, allocations: 319 kB / 437.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008437, allocations: 0 / 437.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.008484, allocations: 27.91 kB / 437.5 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.008485, allocations: 3.938 kB / 437.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.008496, allocations: 7.984 kB / 437.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008498, allocations: 8 kB / 437.5 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008498, allocations: 0 / 437.5 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.008622, allocations: 200 kB / 437.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.00864, allocations: 31.78 kB / 437.7 MB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.008667, allocations: 12 kB / 437.7 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.008774, allocations: 35.95 kB / 437.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.008858, allocations: 55.89 kB / 437.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.00887, allocations: 4 kB / 437.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.008911, allocations: 62.17 kB / 437.9 MB, free: 9.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008911, allocations: 4 kB / 437.9 MB, free: 9.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.009073, allocations: 63.89 kB / 438 MB, free: 9.043 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 7.362e-05/0.009146, allocations: 92.41 kB / 438.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.009377, allocations: 380.2 kB / 438.4 MB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.009381, allocations: 4 kB / 438.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.009452, allocations: 56.77 kB / 438.5 MB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.009623, allocations: 52.98 kB / 438.5 MB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.01005, allocations: 382.3 kB / 438.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.01009, allocations: 84.34 kB / 439 MB, free: 7.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.01016, allocations: 29.92 kB / 439 MB, free: 7.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.01029, allocations: 107.3 kB / 439.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01029, allocations: 0 / 439.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of Templates: time 0.005021/0.01531, allocations: 4.1 MB / 443.2 MB, free: 3.676 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 -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.4468541662208736]