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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=200,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=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 116.9 kB / 17.1 MB, free: 5.996 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.002187/0.002187, allocations: 193.6 kB / 18.03 MB, free: 5.074 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7717/0.7717, allocations: 126.1 MB / 417.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 69.12 kB / 0.5738 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 78.7 MB / 0.6507 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00348/0.1511, allocations: 2.018 MB / 0.6526 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1523, allocations: 0.5728 MB / 0.6532 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1524, allocations: 7.938 kB / 0.6532 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1526, allocations: 23.72 kB / 0.6532 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1527, allocations: 43.59 kB / 0.6533 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.153, allocations: 103.8 kB / 0.6534 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.1533, allocations: 283.4 kB / 0.6536 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.1536, allocations: 131.3 kB / 0.6537 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1537, allocations: 119.5 kB / 0.6539 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1539, allocations: 127.5 kB / 0.654 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.154, allocations: 28 kB / 0.654 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.154, allocations: 32 kB / 0.654 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1541, allocations: 67.73 kB / 0.6541 GB, free: 484 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1542, allocations: 123.3 kB / 0.6542 GB, free: 360 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1546, allocations: 298.8 kB / 0.6545 GB, free: 60 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1546, allocations: 0 / 0.6545 GB, free: 60 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1546, allocations: 0 / 0.6545 GB, free: 60 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1546, allocations: 0 / 0.6545 GB, free: 60 kB / 494.1 MB 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.001159/0.1558, allocations: 0.6719 MB / 0.6552 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1558, allocations: 8.031 kB / 0.6552 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1559, allocations: 32.73 kB / 0.6552 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1563, allocations: 265.4 kB / 0.6555 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1563, allocations: 20.56 kB / 0.6555 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1563, allocations: 24 kB / 0.6555 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.1569, allocations: 283.5 kB / 0.6558 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.157, allocations: 0 / 0.6558 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.157, allocations: 7.984 kB / 0.6558 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.157, allocations: 15.94 kB / 0.6558 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1576, allocations: 197.6 kB / 0.656 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1588, allocations: 0.6465 MB / 0.6566 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.1595, allocations: 194.4 kB / 0.6568 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.1598, allocations: 96.78 kB / 0.6569 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1598, allocations: 0 / 0.6569 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.1603, allocations: 200.9 kB / 0.6571 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.1603, allocations: 0 / 0.6571 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001051/0.1614, allocations: 334 kB / 0.6574 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.1614, allocations: 136.5 kB / 0.6575 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1617, allocations: 226.6 kB / 0.6577 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.1617, allocations: 37.7 kB / 0.6578 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1618, allocations: 160.6 kB / 0.6579 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.1619, allocations: 55.62 kB / 0.658 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.162, allocations: 65.97 kB / 0.658 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1621, allocations: 334.8 kB / 0.6584 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.1625, allocations: 112.2 kB / 0.6585 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.1629, allocations: 188.4 kB / 0.6587 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.1636, allocations: 311 kB / 0.659 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1636, allocations: 0 / 0.659 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008993/0.1645, allocations: 429.3 kB / 0.6594 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.1646, allocations: 93.03 kB / 0.6595 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1646, allocations: 4 kB / 0.6595 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1646, allocations: 4 kB / 0.6595 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1649, allocations: 47.89 kB / 0.6595 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1649, allocations: 0 / 0.6595 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.1652, allocations: 67.72 kB / 0.6596 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1653, allocations: 16.06 kB / 0.6596 GB, free: 10.49 MB / 0.4981 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.0001556/0.1654, allocations: 155.9 kB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.1655, allocations: 23.84 kB / 0.6598 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.1655, allocations: 25.88 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1656, allocations: 3.984 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1656, allocations: 0 / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1656, allocations: 97 kB / 0.6599 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.1657, allocations: 8 kB / 0.6599 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.166, allocations: 51.94 kB / 0.6599 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1661, allocations: 51.92 kB / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009304/0.1671, allocations: 358.7 kB / 0.6603 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007637/0.1679, allocations: 426.4 kB / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003419/0.1682, allocations: 117.5 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001234/0.1683, allocations: 148.6 kB / 0.661 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of Backend: time 2.043e-06/0.1684, allocations: 0 / 0.661 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000919/0.1693, allocations: 427.4 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0009268/0.1702, allocations: 0.7941 MB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.00871/0.1789, allocations: 3.887 MB / 0.666 GB, free: 3.852 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile (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)