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.0008894/0.0008894, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.00108/0.00108, allocations: 169 kB / 24.05 MB, free: 456 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.9708/0.9708, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6179/0.6179, allocations: 115 MB / 376 MB, free: 7.531 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.393e-06/1.393e-06, allocations: 0 / 482 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.034e-05, allocations: 6.547 kB / 482 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00246/0.00249, allocations: 2.079 MB / 484.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.00345, allocations: 0.6216 MB / 484.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.003574, allocations: 3.156 kB / 484.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003681, allocations: 23.02 kB / 484.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.003794, allocations: 57.05 kB / 484.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004014, allocations: 103.1 kB / 484.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.004261, allocations: 309.3 kB / 485.2 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.004442, allocations: 95.09 kB / 485.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.004632, allocations: 188.6 kB / 485.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.004732, allocations: 109.5 kB / 485.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.004779, allocations: 30.41 kB / 485.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.004813, allocations: 29.25 kB / 485.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.004857, allocations: 67.22 kB / 485.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.004926, allocations: 91.86 kB / 485.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005155, allocations: 223.8 kB / 486 MB, free: 9.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005157, allocations: 0 / 486 MB, free: 9.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005158, allocations: 0.5 kB / 486 MB, free: 9.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.005161, allocations: 1.938 kB / 486 MB, free: 9.277 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.0006109/0.005772, allocations: 0.7016 MB / 486.7 MB, free: 8.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.005806, allocations: 6.75 kB / 486.7 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.005873, allocations: 56.8 kB / 486.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006068, allocations: 219.3 kB / 487 MB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.006088, allocations: 18.94 kB / 487 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.006117, allocations: 23.94 kB / 487.1 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.006405, allocations: 336.7 kB / 487.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006413, allocations: 0.625 kB / 487.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.006429, allocations: 7.594 kB / 487.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.006436, allocations: 8.375 kB / 487.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.006526, allocations: 55.25 kB / 487.5 MB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.007103, allocations: 0.5388 MB / 488 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.007227, allocations: 94.83 kB / 488.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.007266, allocations: 33.47 kB / 488.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.007278, allocations: 3.375 kB / 488.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.00743, allocations: 137.2 kB / 488.3 MB, free: 7.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.007432, allocations: 0 / 488.3 MB, free: 7.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002425/0.007675, allocations: 186.4 kB / 488.4 MB, free: 7.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.007705, allocations: 137.6 kB / 488.6 MB, free: 7.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.00797, allocations: 278.5 kB / 488.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.007996, allocations: 42.52 kB / 488.9 MB, free: 23.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.008078, allocations: 211 kB / 489.1 MB, free: 23.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.008105, allocations: 57.45 kB / 489.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.008181, allocations: 81.78 kB / 489.2 MB, free: 22.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.008299, allocations: 0.5089 MB / 489.7 MB, free: 22.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.008376, allocations: 119.1 kB / 489.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.008473, allocations: 285.7 kB / 490.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.008595, allocations: 231.6 kB / 490.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008597, allocations: 0 / 490.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002837/0.008881, allocations: 393.2 kB / 490.7 MB, free: 21.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.008922, allocations: 94.56 kB / 490.8 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008927, allocations: 1.469 kB / 490.8 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.008937, allocations: 4.031 kB / 490.8 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.009057, allocations: 43.62 kB / 490.9 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009062, allocations: 11.72 kB / 490.9 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.0092, allocations: 54.61 kB / 490.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.009216, allocations: 13.95 kB / 491 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,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.0001008/0.009317, allocations: 191.1 kB / 491.1 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.009347, allocations: 33.3 kB / 491.2 MB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.009377, allocations: 30.88 kB / 491.2 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.00938, allocations: 5.406 kB / 491.2 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009383, allocations: 0 / 491.2 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009386, allocations: 0 / 491.2 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.009735, allocations: 460.9 kB / 491.7 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009736, allocations: 1.094 kB / 491.7 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.009789, allocations: 25.12 kB / 491.7 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.009792, allocations: 1.188 kB / 491.7 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.009807, allocations: 5.438 kB / 491.7 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009809, allocations: 5.062 kB / 491.7 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009811, allocations: 1.219 kB / 491.7 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01001, allocations: 313.5 kB / 492 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01002, allocations: 17.98 kB / 492 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01005, allocations: 15.09 kB / 492 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01017, allocations: 36.56 kB / 492.1 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.01028, allocations: 55.92 kB / 492.1 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.0103, allocations: 8.016 kB / 492.1 MB, free: 20.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.0104, allocations: 178.3 kB / 492.3 MB, free: 20.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0104, allocations: 0 / 492.3 MB, free: 20.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01063, allocations: 69.52 kB / 492.4 MB, free: 20.49 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 9.49e-05/0.01072, allocations: 114.1 kB / 492.5 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.01098, allocations: 382.3 kB / 492.9 MB, free: 20.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01098, allocations: 1.031 kB / 492.9 MB, free: 20.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.01107, allocations: 68.41 kB / 492.9 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01131, allocations: 49.36 kB / 493 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.01181, allocations: 394.6 kB / 493.4 MB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.517e-05/0.01186, allocations: 80.78 kB / 493.4 MB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.01194, allocations: 24.02 kB / 493.5 MB, free: 19.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.0121, allocations: 125.7 kB / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0121, allocations: 0 / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of Templates: time 0.007015/0.01911, allocations: 4.356 MB / 498 MB, free: 19.22 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.517180298920721]