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.001422/0.001422, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.00152/0.00152, allocations: 210.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.9875/0.9875, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.48 kB / 0.6416 GB, free: 9.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1961, allocations: 89.17 MB / 0.7287 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003799/0.1999, allocations: 2.033 MB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2011, allocations: 0.5922 MB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2012, allocations: 4 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2013, allocations: 31.67 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2016, allocations: 43.53 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.2018, allocations: 103.9 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.2023, allocations: 303.3 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.2025, allocations: 100.4 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2027, allocations: 127.5 kB / 0.7319 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2029, allocations: 135.3 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.203, allocations: 32 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.203, allocations: 32 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.2031, allocations: 63.81 kB / 0.7322 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2032, allocations: 111.5 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.2036, allocations: 322.7 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2036, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2036, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2036, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB 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.001369/0.205, allocations: 0.6241 MB / 0.7332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.205, allocations: 12.03 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.2051, allocations: 36.73 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.2055, allocations: 214.6 kB / 0.7334 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2056, allocations: 24.56 kB / 0.7335 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.2056, allocations: 23.98 kB / 0.7335 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.2064, allocations: 419.1 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2064, allocations: 3.938 kB / 0.7339 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.2064, allocations: 7.984 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2064, allocations: 8 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.2072, allocations: 213.6 kB / 0.7341 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2084, allocations: 0.5369 MB / 0.7346 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/0.2091, allocations: 206.4 kB / 0.7348 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.2095, allocations: 88.78 kB / 0.7349 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2095, allocations: 4 kB / 0.7349 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005377/0.21, allocations: 214.3 kB / 0.7351 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.21, allocations: 0 / 0.7351 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001184/0.2112, allocations: 354.9 kB / 0.7355 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2113, allocations: 136.5 kB / 0.7356 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2115, allocations: 227 kB / 0.7358 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.2116, allocations: 41.7 kB / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2117, allocations: 156.8 kB / 0.736 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.2118, allocations: 71.44 kB / 0.7361 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2119, allocations: 73.69 kB / 0.7361 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2121, allocations: 338.8 kB / 0.7365 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.2125, allocations: 209.3 kB / 0.7367 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.2131, allocations: 355 kB / 0.737 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.2138, allocations: 323.1 kB / 0.7373 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2138, allocations: 0 / 0.7373 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001038/0.2149, allocations: 0.5294 MB / 0.7378 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.2149, allocations: 85.11 kB / 0.7379 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.215, allocations: 3.984 kB / 0.7379 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.215, allocations: 4 kB / 0.7379 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2152, allocations: 43.91 kB / 0.738 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2152, allocations: 11.92 kB / 0.738 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.2156, allocations: 71.84 kB / 0.738 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.2156, allocations: 16 kB / 0.7381 GB, free: 6.426 MB / 0.5606 GB 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,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,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * 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.0001718/0.2158, allocations: 148.4 kB / 0.7382 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.2158, allocations: 23.84 kB / 0.7382 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.2159, allocations: 25.97 kB / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2159, allocations: 4 kB / 0.7382 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2159, allocations: 0 / 0.7382 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2159, allocations: 11.92 kB / 0.7383 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2171, allocations: 0.535 MB / 0.7388 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2171, allocations: 0 / 0.7388 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2173, allocations: 39.83 kB / 0.7388 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2173, allocations: 4 kB / 0.7388 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2173, allocations: 7.984 kB / 0.7388 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2173, allocations: 0 / 0.7388 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2173, allocations: 3.938 kB / 0.7388 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.2181, allocations: 369.9 kB / 0.7392 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2181, allocations: 19.8 kB / 0.7392 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.2182, allocations: 12 kB / 0.7392 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2185, allocations: 47.94 kB / 0.7393 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2186, allocations: 71.8 kB / 0.7393 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2187, allocations: 7.984 kB / 0.7393 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2188, allocations: 148.7 kB / 0.7395 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2188, allocations: 0 / 0.7395 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003195/0.2191, allocations: 63.89 kB / 0.7395 GB, free: 4.844 MB / 0.5606 GB 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.0001529/0.2193, allocations: 119.2 kB / 0.7397 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2203, allocations: 0.4951 MB / 0.7401 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2203, allocations: 320 / 0.7401 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.2208, allocations: 119.8 kB / 0.7403 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2211, allocations: 37.91 kB / 0.7403 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2222, allocations: 400.8 kB / 0.7407 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2223, allocations: 138.1 kB / 0.7408 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.2224, allocations: 25.94 kB / 0.7408 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.2225, allocations: 27.42 kB / 0.7409 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2225, allocations: 0 / 0.7409 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of Templates: time 0.008725/0.2312, allocations: 4.2 MB / 0.745 GB, free: 15.29 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.058526061475277] Failed to read output from testmodel.py, exit status != 0: 0.2396331038326025 0.254145887 0.047455479 Calling exit ...