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.001193/0.001193, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00181/0.003003, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001361/0.001361, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.003133, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9975/0.9975, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08683/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6049/0.6049, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06474/0.6697, allocations: 38.17 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.202e-06/1.202e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.272e-05, allocations: 10.31 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002575/0.002598, allocations: 2.156 MB / 405.9 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.003563, allocations: 0.6192 MB / 406.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.003684, allocations: 4 kB / 406.5 MB, free: 8.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.003771, allocations: 35.64 kB / 406.6 MB, free: 8.055 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.003862, allocations: 51.47 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004066, allocations: 99.86 kB / 406.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.004341, allocations: 299.2 kB / 407 MB, free: 7.613 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.004529, allocations: 103 kB / 407.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.004761, allocations: 208.5 kB / 407.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.004887, allocations: 107.7 kB / 407.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.004928, allocations: 32 kB / 407.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.00496, allocations: 28 kB / 407.5 MB, free: 7.141 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.005005, allocations: 47.81 kB / 407.5 MB, free: 7.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.005068, allocations: 67.81 kB / 407.6 MB, free: 7.027 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.005304, allocations: 191.3 kB / 407.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.005318, allocations: 4 kB / 407.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005319, allocations: 0 / 407.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.005331, allocations: 0 / 407.8 MB, free: 6.836 MB / 394.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.0008185/0.00615, allocations: 0.6303 MB / 408.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.006181, allocations: 8.031 kB / 408.4 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.006246, allocations: 36.91 kB / 408.5 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006462, allocations: 181.3 kB / 408.6 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.006485, allocations: 24.86 kB / 408.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.006517, allocations: 32.31 kB / 408.7 MB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.006856, allocations: 330.3 kB / 409 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.006864, allocations: 0 / 409 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.00688, allocations: 8 kB / 409 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.006888, allocations: 8 kB / 409 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.006971, allocations: 51.47 kB / 409.1 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.007547, allocations: 397.9 kB / 409.5 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.007675, allocations: 86.47 kB / 409.6 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.007722, allocations: 28.86 kB / 409.6 MB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.007736, allocations: 4 kB / 409.6 MB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.007921, allocations: 135.2 kB / 409.7 MB, free: 4.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.007922, allocations: 0 / 409.7 MB, free: 4.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001978/0.00812, allocations: 133.5 kB / 409.9 MB, free: 4.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.008156, allocations: 59.41 kB / 409.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.008281, allocations: 210.4 kB / 410.1 MB, free: 4.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.008312, allocations: 41.7 kB / 410.2 MB, free: 4.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.008385, allocations: 152.7 kB / 410.3 MB, free: 4.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.008419, allocations: 63.55 kB / 410.4 MB, free: 4.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.00849, allocations: 77.64 kB / 410.4 MB, free: 3.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.008572, allocations: 334.8 kB / 410.8 MB, free: 3.641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.008658, allocations: 117.4 kB / 410.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.008789, allocations: 258.5 kB / 411.1 MB, free: 3.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.008938, allocations: 215.1 kB / 411.4 MB, free: 2.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008941, allocations: 4 kB / 411.4 MB, free: 2.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002299/0.009171, allocations: 330.2 kB / 411.7 MB, free: 2.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.009229, allocations: 93.03 kB / 411.8 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.009236, allocations: 4 kB / 411.8 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.009252, allocations: 4 kB / 411.8 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.009394, allocations: 55.84 kB / 411.8 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009399, allocations: 4 kB / 411.8 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.00954, allocations: 63.89 kB / 411.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.009554, allocations: 12 kB / 411.9 MB, free: 2.32 MB / 394.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.0001025/0.009657, allocations: 140.4 kB / 412 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.009684, allocations: 27.92 kB / 412.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.009724, allocations: 33.89 kB / 412.1 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009727, allocations: 4 kB / 412.1 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.00973, allocations: 0 / 412.1 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.009734, allocations: 7.984 kB / 412.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.01005, allocations: 318.9 kB / 412.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01005, allocations: 0 / 412.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.01011, allocations: 27.92 kB / 412.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.01013, allocations: 15.86 kB / 412.5 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01013, allocations: 7.984 kB / 412.5 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01014, allocations: 0 / 412.5 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01014, allocations: 3.938 kB / 412.5 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01015, allocations: 0 / 412.5 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01028, allocations: 212.9 kB / 412.7 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01031, allocations: 15.98 kB / 412.7 MB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01043, allocations: 39.95 kB / 412.7 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.01051, allocations: 51.91 kB / 412.8 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01053, allocations: 7.984 kB / 412.8 MB, free: 1.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.01058, allocations: 70.12 kB / 412.9 MB, free: 1.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01058, allocations: 3.938 kB / 412.9 MB, free: 1.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000186/0.01077, allocations: 59.89 kB / 412.9 MB, free: 1.238 MB / 394.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.0001162/0.01088, allocations: 104.3 kB / 413 MB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.01115, allocations: 384.4 kB / 413.4 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.01116, allocations: 4 kB / 413.4 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.01125, allocations: 64.81 kB / 413.5 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01151, allocations: 235.5 kB / 413.7 MB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.01224, allocations: 393.5 kB / 414.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.01229, allocations: 84.19 kB / 414.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.01237, allocations: 29.88 kB / 414.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.01253, allocations: 103.3 kB / 414.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.01254, allocations: 3.938 kB / 414.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005909/0.01844, allocations: 4.251 MB / 418.6 MB, free: 11.46 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.189733514562249]