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.001762/0.001762, allocations: 104.3 kB / 20.45 MB, free: 1.402 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.002126/0.002126, allocations: 211.8 kB / 23.74 MB, free: 4.574 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.982/0.982, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.002107/0.002107, allocations: 69.61 kB / 0.6423 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1996, allocations: 89.17 MB / 0.7294 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.004126/0.2038, allocations: 2.03 MB / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2051, allocations: 0.5883 MB / 0.732 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2052, allocations: 11.94 kB / 0.732 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2054, allocations: 27.66 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.2055, allocations: 43.59 kB / 0.7321 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2058, allocations: 99.88 kB / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.2062, allocations: 307.3 kB / 0.7325 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.2065, allocations: 100.4 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2067, allocations: 135.5 kB / 0.7327 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2069, allocations: 123.4 kB / 0.7328 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.2069, allocations: 28 kB / 0.7328 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.207, allocations: 32 kB / 0.7329 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.2071, allocations: 75.69 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2072, allocations: 107.5 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.2077, allocations: 330.6 kB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2077, allocations: 0 / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2077, allocations: 0 / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2077, allocations: 4 kB / 0.7333 GB, free: 12.47 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.001363/0.2091, allocations: 0.6202 MB / 0.734 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2091, allocations: 8.031 kB / 0.734 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.2092, allocations: 32.75 kB / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.2097, allocations: 218.7 kB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2097, allocations: 20.56 kB / 0.7342 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.2097, allocations: 28 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.2106, allocations: 415 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2106, allocations: 0 / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.2106, allocations: 12 kB / 0.7347 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2106, allocations: 4 kB / 0.7347 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.2114, allocations: 217.6 kB / 0.7349 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2126, allocations: 0.5291 MB / 0.7354 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.2133, allocations: 210.3 kB / 0.7356 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2136, allocations: 84.78 kB / 0.7357 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2136, allocations: 4 kB / 0.7357 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005392/0.2142, allocations: 212.6 kB / 0.7359 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2142, allocations: 0 / 0.7359 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001169/0.2153, allocations: 355.2 kB / 0.7362 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.2154, allocations: 136.5 kB / 0.7363 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.2157, allocations: 227 kB / 0.7366 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.2157, allocations: 41.69 kB / 0.7366 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2159, allocations: 164.7 kB / 0.7368 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.2159, allocations: 75.44 kB / 0.7368 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2161, allocations: 69.69 kB / 0.7369 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2162, allocations: 334.8 kB / 0.7372 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.2167, allocations: 205.3 kB / 0.7374 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006455/0.2173, allocations: 362.9 kB / 0.7378 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.2181, allocations: 323.1 kB / 0.7381 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2181, allocations: 3.984 kB / 0.7381 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001061/0.2192, allocations: 0.5178 MB / 0.7386 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.2193, allocations: 93.09 kB / 0.7387 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2193, allocations: 0 / 0.7387 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.2193, allocations: 4 kB / 0.7387 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2196, allocations: 47.89 kB / 0.7387 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2196, allocations: 4 kB / 0.7387 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.2199, allocations: 71.84 kB / 0.7388 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.22, allocations: 20.03 kB / 0.7388 GB, free: 6.465 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.0001965/0.2202, allocations: 152.4 kB / 0.7389 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2202, allocations: 19.86 kB / 0.739 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.2203, allocations: 33.95 kB / 0.739 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2203, allocations: 0 / 0.739 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2203, allocations: 4 kB / 0.739 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.2203, allocations: 3.938 kB / 0.739 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.2216, allocations: 0.5411 MB / 0.7395 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2216, allocations: 0 / 0.7395 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.2217, allocations: 27.97 kB / 0.7396 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2217, allocations: 4 kB / 0.7396 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2218, allocations: 11.98 kB / 0.7396 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2218, allocations: 0 / 0.7396 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2218, allocations: 7.938 kB / 0.7396 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.2226, allocations: 365.4 kB / 0.7399 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.2226, allocations: 23.8 kB / 0.74 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.2227, allocations: 15.98 kB / 0.74 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.223, allocations: 51.88 kB / 0.74 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2231, allocations: 55.84 kB / 0.7401 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.2231, allocations: 11.98 kB / 0.7401 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001572/0.2233, allocations: 148.7 kB / 0.7402 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2233, allocations: 0 / 0.7402 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003274/0.2236, allocations: 67.89 kB / 0.7403 GB, free: 4.883 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.0001763/0.2238, allocations: 117.5 kB / 0.7404 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2249, allocations: 0.5047 MB / 0.7409 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2249, allocations: 0 / 0.7409 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.2253, allocations: 107.9 kB / 0.741 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.2258, allocations: 51.23 kB / 0.741 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2269, allocations: 436.9 kB / 0.7415 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.227, allocations: 134.2 kB / 0.7416 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2271, allocations: 31.42 kB / 0.7416 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2271, allocations: 4 kB / 0.7416 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.00633/0.2335, allocations: 3.356 MB / 0.7449 GB, free: 68 kB / 0.5606 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: 8.322309931740165] Failed to read output from testmodel.py, exit status != 0: 0.24274295382201672 0.25861073700000003 0.047329203 Calling exit ...