Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 114.8 kB / 17.09 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.001055/0.001055, allocations: 189.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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7908/0.7908, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.16 kB / 0.5738 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 78.7 MB / 0.6507 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004613/0.1594, allocations: 3.184 MB / 0.6538 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1617, allocations: 1.349 MB / 0.6551 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.162, allocations: 8 kB / 0.6551 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.1623, allocations: 111 kB / 0.6552 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.1629, allocations: 262.5 kB / 0.6554 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.1636, allocations: 346 kB / 0.6558 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.1645, allocations: 0.846 MB / 0.6566 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.165, allocations: 336.2 kB / 0.6569 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.1654, allocations: 326.8 kB / 0.6572 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.1658, allocations: 418.3 kB / 0.6576 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1659, allocations: 88 kB / 0.6577 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1662, allocations: 128 kB / 0.6578 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1664, allocations: 251.3 kB / 0.6581 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.1667, allocations: 382 kB / 0.6584 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1678, allocations: 1.163 MB / 0.6596 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1678, allocations: 0 / 0.6596 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1678, allocations: 0 / 0.6596 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.1679, allocations: 4 kB / 0.6596 GB, free: 10.89 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002149/0.17, allocations: 1.199 MB / 0.6608 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1701, allocations: 15.97 kB / 0.6608 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1702, allocations: 84.42 kB / 0.6608 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.1714, allocations: 0.6919 MB / 0.6615 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1714, allocations: 36.98 kB / 0.6616 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.1715, allocations: 40 kB / 0.6616 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.1724, allocations: 0.5148 MB / 0.6621 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1725, allocations: 0 / 0.6621 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1725, allocations: 16 kB / 0.6621 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1725, allocations: 8 kB / 0.6621 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.1735, allocations: 379.8 kB / 0.6625 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1755, allocations: 1.375 MB / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.1764, allocations: 326.7 kB / 0.6641 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.1768, allocations: 169.2 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1768, allocations: 4.234 kB / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.1774, allocations: 277.1 kB / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.1774, allocations: 0 / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001584/0.179, allocations: 0.5089 MB / 0.6651 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.1791, allocations: 166.2 kB / 0.6652 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.1801, allocations: 0.7969 MB / 0.666 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/0.1802, allocations: 45.7 kB / 0.666 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.1804, allocations: 324.7 kB / 0.6664 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1805, allocations: 95.23 kB / 0.6664 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1807, allocations: 86.06 kB / 0.6665 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1808, allocations: 386.8 kB / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.1813, allocations: 156.7 kB / 0.667 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.1818, allocations: 248.2 kB / 0.6673 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.1826, allocations: 385.3 kB / 0.6676 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1827, allocations: 4 kB / 0.6677 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001201/0.1839, allocations: 0.533 MB / 0.6682 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.184, allocations: 75.27 kB / 0.6682 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.184, allocations: 4 kB / 0.6682 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.184, allocations: 0 / 0.6682 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.1843, allocations: 60.08 kB / 0.6683 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.1843, allocations: 7.938 kB / 0.6683 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.1848, allocations: 71.67 kB / 0.6684 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.1848, allocations: 16 kB / 0.6684 GB, free: 1.457 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 34 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.booPasThr.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3,opeEnv.intConOne.y,opeEnv.disErr.local_set,opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0002985/0.1851, allocations: 249.8 kB / 0.6686 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1852, allocations: 67.52 kB / 0.6687 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.1863, allocations: 431.8 kB / 0.6691 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1863, allocations: 7.922 kB / 0.6691 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1863, allocations: 4 kB / 0.6691 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.1865, allocations: 160.6 kB / 0.6693 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.1866, allocations: 16 kB / 0.6693 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.1869, allocations: 39.94 kB / 0.6693 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.1871, allocations: 75.88 kB / 0.6694 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001264/0.1884, allocations: 0.5508 MB / 0.6699 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000993/0.1894, allocations: 0.6455 MB / 0.6706 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004466/0.1898, allocations: 191.9 kB / 0.6708 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006884/0.1905, allocations: 0.5537 MB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of Backend: time 3.21e-07/0.1906, allocations: 0 / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.1926, allocations: 0.7631 MB / 0.672 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001994/0.1946, allocations: 1.523 MB / 0.6735 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.01822/0.2128, allocations: 10.49 MB / 0.6838 GB, free: 1.879 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1)