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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 114.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 190.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 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.8813/0.8813, allocations: 149.6 MB / 456.6 MB, free: 1.16 MB / 350.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001851/0.001851, allocations: 65.14 kB / 0.6329 GB, free: 8.883 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.158, allocations: 87.88 MB / 0.7187 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003702/0.1617, allocations: 2.047 MB / 0.7207 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1629, allocations: 0.5766 MB / 0.7213 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.163, allocations: 4 kB / 0.7213 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.1632, allocations: 31.67 kB / 0.7213 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1634, allocations: 43.59 kB / 0.7214 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1637, allocations: 87.88 kB / 0.7214 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1641, allocations: 291.1 kB / 0.7217 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1644, allocations: 95.91 kB / 0.7218 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1646, allocations: 127.5 kB / 0.7219 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1648, allocations: 127.4 kB / 0.722 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.1648, allocations: 31.94 kB / 0.7221 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.1649, allocations: 32 kB / 0.7221 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.1649, allocations: 63.81 kB / 0.7222 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1651, allocations: 119.4 kB / 0.7223 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1654, allocations: 310.7 kB / 0.7226 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1654, allocations: 0 / 0.7226 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1654, allocations: 0 / 0.7226 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.1654, allocations: 0 / 0.7226 GB, free: 12.95 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001178/0.1666, allocations: 0.585 MB / 0.7232 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1666, allocations: 8.031 kB / 0.7232 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.1667, allocations: 32.75 kB / 0.7232 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1671, allocations: 207.5 kB / 0.7234 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1671, allocations: 24.55 kB / 0.7234 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.1671, allocations: 23.98 kB / 0.7234 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.1678, allocations: 287.5 kB / 0.7237 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1678, allocations: 0 / 0.7237 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1678, allocations: 4 kB / 0.7237 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1678, allocations: 4 kB / 0.7237 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.1684, allocations: 205.6 kB / 0.7239 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1695, allocations: 0.6104 MB / 0.7245 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1701, allocations: 194.4 kB / 0.7247 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1704, allocations: 88.72 kB / 0.7248 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1704, allocations: 8 kB / 0.7248 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.1709, allocations: 185.4 kB / 0.725 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.1709, allocations: 0 / 0.725 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0009884/0.1718, allocations: 345.2 kB / 0.7253 GB, free: 10 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.1719, allocations: 136.5 kB / 0.7254 GB, free: 9.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1721, allocations: 214.9 kB / 0.7256 GB, free: 9.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1722, allocations: 33.7 kB / 0.7257 GB, free: 9.574 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1723, allocations: 168.6 kB / 0.7258 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1723, allocations: 47.64 kB / 0.7259 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1724, allocations: 69.92 kB / 0.7259 GB, free: 9.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1726, allocations: 330.8 kB / 0.7262 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1729, allocations: 116.2 kB / 0.7264 GB, free: 8.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.1733, allocations: 196.7 kB / 0.7265 GB, free: 8.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.174, allocations: 307.5 kB / 0.7268 GB, free: 8.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.174, allocations: 4 kB / 0.7268 GB, free: 8.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008615/0.1748, allocations: 436.2 kB / 0.7273 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.1749, allocations: 89.09 kB / 0.7273 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1749, allocations: 4 kB / 0.7273 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1749, allocations: 12.09 kB / 0.7274 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1751, allocations: 47.89 kB / 0.7274 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1751, allocations: 4 kB / 0.7274 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.1754, allocations: 59.83 kB / 0.7275 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1755, allocations: 12 kB / 0.7275 GB, free: 7.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.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.booPasThr.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 (33): * Single equations (assignments): 30 * 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.0001555/0.1756, allocations: 156.4 kB / 0.7276 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1757, allocations: 27.8 kB / 0.7277 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.1757, allocations: 21.81 kB / 0.7277 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1757, allocations: 4 kB / 0.7277 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1757, allocations: 0 / 0.7277 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1757, allocations: 3.984 kB / 0.7277 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1767, allocations: 0.5937 MB / 0.7283 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1767, allocations: 0 / 0.7283 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1769, allocations: 27.91 kB / 0.7283 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1769, allocations: 4 kB / 0.7283 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1769, allocations: 3.984 kB / 0.7283 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1769, allocations: 0 / 0.7283 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1769, allocations: 4 kB / 0.7283 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.1776, allocations: 355.1 kB / 0.7286 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.1776, allocations: 19.8 kB / 0.7287 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1777, allocations: 8 kB / 0.7287 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.178, allocations: 55.92 kB / 0.7287 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.1781, allocations: 47.92 kB / 0.7288 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.1781, allocations: 11.98 kB / 0.7288 GB, free: 6.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001246/0.1782, allocations: 144.4 kB / 0.7289 GB, free: 6.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1782, allocations: 0 / 0.7289 GB, free: 6.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002864/0.1785, allocations: 59.95 kB / 0.729 GB, free: 5.996 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,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) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * 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.0001277/0.1786, allocations: 117.4 kB / 0.7291 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008466/0.1795, allocations: 411.3 kB / 0.7295 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1795, allocations: 320 / 0.7295 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.1799, allocations: 125.9 kB / 0.7296 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1802, allocations: 31.86 kB / 0.7296 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.1811, allocations: 376.7 kB / 0.73 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1815, allocations: 0.7401 MB / 0.7307 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.1816, allocations: 25.94 kB / 0.7307 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.1817, allocations: 31.42 kB / 0.7308 GB, free: 4.059 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1817, allocations: 0 / 0.7308 GB, free: 4.059 MB / 0.545 GB Notification: Performance of Templates: time 0.007379/0.1891, allocations: 3.659 MB / 0.7343 GB, free: 440 kB / 0.545 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: 5.219841072335839] Failed to read output from testmodel.py, exit status != 0: 0.19668792095035315 0.209907807 0.04158394 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fac3f0017b0>