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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 111.5 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8475/0.8475, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 76.42 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 83.25 MB / 0.6725 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003573/0.1503, allocations: 2.029 MB / 0.6745 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1514, allocations: 0.5921 MB / 0.6751 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1515, allocations: 4 kB / 0.6751 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1516, allocations: 31.66 kB / 0.6751 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1517, allocations: 39.59 kB / 0.6751 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.152, allocations: 95.88 kB / 0.6752 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1523, allocations: 279.3 kB / 0.6755 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1525, allocations: 95.42 kB / 0.6756 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1527, allocations: 123.5 kB / 0.6757 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1529, allocations: 135.4 kB / 0.6758 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.1529, allocations: 28 kB / 0.6759 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.153, allocations: 28 kB / 0.6759 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1531, allocations: 63.81 kB / 0.676 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1532, allocations: 119.4 kB / 0.6761 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.1535, allocations: 306.7 kB / 0.6764 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1536, allocations: 0 / 0.6764 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1536, allocations: 0 / 0.6764 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.1536, allocations: 0 / 0.6764 GB, free: 15.86 MB / 0.5137 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.001257/0.1548, allocations: 0.6642 MB / 0.677 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1549, allocations: 8.625 kB / 0.677 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.1549, allocations: 32.75 kB / 0.677 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1553, allocations: 265.4 kB / 0.6773 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.1553, allocations: 20.56 kB / 0.6773 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1554, allocations: 24 kB / 0.6773 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.1561, allocations: 283.4 kB / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1561, allocations: 0 / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1561, allocations: 11.98 kB / 0.6776 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1561, allocations: 4 kB / 0.6776 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.1568, allocations: 209.6 kB / 0.6778 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.158, allocations: 0.6426 MB / 0.6785 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.1586, allocations: 190.4 kB / 0.6786 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.1589, allocations: 88.78 kB / 0.6787 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1589, allocations: 0 / 0.6787 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.1594, allocations: 205.1 kB / 0.6789 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.1594, allocations: 4 kB / 0.6789 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001054/0.1604, allocations: 333.2 kB / 0.6792 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1606, allocations: 132.5 kB / 0.6794 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1608, allocations: 226.7 kB / 0.6796 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.1608, allocations: 41.7 kB / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.161, allocations: 160.6 kB / 0.6798 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.161, allocations: 51.66 kB / 0.6798 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1611, allocations: 65.94 kB / 0.6799 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1613, allocations: 334.8 kB / 0.6802 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.1617, allocations: 116.2 kB / 0.6803 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.1621, allocations: 188.8 kB / 0.6805 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.1628, allocations: 318.5 kB / 0.6808 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1628, allocations: 0 / 0.6808 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009153/0.1637, allocations: 427.5 kB / 0.6812 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.1638, allocations: 93.27 kB / 0.6813 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1638, allocations: 0 / 0.6813 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1638, allocations: 4 kB / 0.6813 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.164, allocations: 43.89 kB / 0.6813 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.164, allocations: 4 kB / 0.6813 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.1643, allocations: 63.77 kB / 0.6814 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.1644, allocations: 12 kB / 0.6814 GB, free: 10.3 MB / 0.5137 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.0001754/0.1646, allocations: 160.4 kB / 0.6816 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1646, allocations: 23.8 kB / 0.6816 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.1646, allocations: 25.86 kB / 0.6816 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1647, allocations: 4 kB / 0.6816 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1647, allocations: 0 / 0.6816 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1647, allocations: 0 / 0.6816 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1658, allocations: 0.6173 MB / 0.6822 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1658, allocations: 0 / 0.6822 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1659, allocations: 27.97 kB / 0.6823 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1659, allocations: 0 / 0.6823 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.166, allocations: 15.98 kB / 0.6823 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.166, allocations: 4 kB / 0.6823 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.166, allocations: 0 / 0.6823 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007539/0.1667, allocations: 345.2 kB / 0.6826 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1668, allocations: 108.8 kB / 0.6827 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.1669, allocations: 8 kB / 0.6827 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.1672, allocations: 47.94 kB / 0.6828 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1673, allocations: 51.88 kB / 0.6828 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.1674, allocations: 11.98 kB / 0.6828 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001395/0.1675, allocations: 152.3 kB / 0.683 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 0 / 0.683 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003129/0.1678, allocations: 59.89 kB / 0.683 GB, free: 8.566 MB / 0.5137 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.0001621/0.168, allocations: 119.2 kB / 0.6831 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.1689, allocations: 418.6 kB / 0.6835 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1689, allocations: 0 / 0.6835 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.1693, allocations: 111.8 kB / 0.6836 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1696, allocations: 40.66 kB / 0.6837 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.1705, allocations: 380.5 kB / 0.684 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1708, allocations: 0.7361 MB / 0.6848 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.848e-05/0.1709, allocations: 25.94 kB / 0.6848 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.171, allocations: 27.42 kB / 0.6848 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.171, allocations: 4 kB / 0.6848 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of Templates: time 0.007418/0.1784, allocations: 3.596 MB / 0.6883 GB, free: 3.062 MB / 0.5137 GB 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]