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.001162/0.001162, allocations: 119.8 kB / 17.09 MB, free: 5.984 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.001233/0.001233, allocations: 196.6 kB / 18.02 MB, free: 5.059 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.314/1.314, 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.7533/0.7533, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.53 kB / 0.5738 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 78.7 MB / 0.6507 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004476/0.1557, allocations: 3.176 MB / 0.6538 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1581, allocations: 1.345 MB / 0.6551 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.1585, allocations: 8 kB / 0.6551 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.1589, allocations: 115 kB / 0.6552 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.1595, allocations: 258.5 kB / 0.6554 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.1602, allocations: 350.3 kB / 0.6558 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.1611, allocations: 0.8538 MB / 0.6566 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.1615, allocations: 320.3 kB / 0.6569 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.1619, allocations: 330.8 kB / 0.6572 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.1623, allocations: 422.2 kB / 0.6576 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1624, allocations: 88 kB / 0.6577 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1627, allocations: 124 kB / 0.6578 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.1629, allocations: 255.3 kB / 0.6581 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.1632, allocations: 382 kB / 0.6584 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1642, allocations: 1.16 MB / 0.6596 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1643, allocations: 0 / 0.6596 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1643, allocations: 0 / 0.6596 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.1643, allocations: 0 / 0.6596 GB, free: 10.91 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.002/0.1663, allocations: 1.207 MB / 0.6607 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1663, allocations: 12.02 kB / 0.6608 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1665, allocations: 84.42 kB / 0.6608 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.1676, allocations: 0.6958 MB / 0.6615 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.1676, allocations: 29 kB / 0.6615 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.1677, allocations: 40 kB / 0.6616 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.1686, allocations: 0.5186 MB / 0.6621 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1686, allocations: 0 / 0.6621 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1686, allocations: 16 kB / 0.6621 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1687, allocations: 12 kB / 0.6621 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.1695, allocations: 383.7 kB / 0.6625 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.1715, allocations: 1.375 MB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.1723, allocations: 320 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1727, allocations: 165.2 kB / 0.6643 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.1728, allocations: 4.234 kB / 0.6643 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005743/0.1734, allocations: 281.1 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.1734, allocations: 0 / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.00135/0.1747, allocations: 0.5088 MB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.1748, allocations: 170.2 kB / 0.6652 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.1757, allocations: 0.793 MB / 0.666 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.1758, allocations: 49.69 kB / 0.666 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.176, allocations: 324.7 kB / 0.6663 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.1761, allocations: 91.34 kB / 0.6664 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.1762, allocations: 90.05 kB / 0.6665 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1764, allocations: 374.8 kB / 0.6669 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.1768, allocations: 160.7 kB / 0.667 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.1773, allocations: 252.1 kB / 0.6673 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/0.178, allocations: 385.4 kB / 0.6676 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1781, allocations: 4 kB / 0.6676 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001045/0.1791, allocations: 0.5329 MB / 0.6682 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.1792, allocations: 79.45 kB / 0.6682 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1792, allocations: 0 / 0.6682 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1792, allocations: 4 kB / 0.6682 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.1795, allocations: 51.89 kB / 0.6683 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1795, allocations: 7.984 kB / 0.6683 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.1799, allocations: 71.67 kB / 0.6684 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.18, allocations: 16 kB / 0.6684 GB, free: 1.473 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.000266/0.1802, allocations: 257.3 kB / 0.6686 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1803, allocations: 71.52 kB / 0.6687 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009854/0.1813, allocations: 427.7 kB / 0.6691 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1813, allocations: 4 kB / 0.6691 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1814, allocations: 3.984 kB / 0.6691 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1814, allocations: 0 / 0.6691 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.183, allocations: 1.174 MB / 0.6703 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.183, allocations: 7.938 kB / 0.6703 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1832, allocations: 47.91 kB / 0.6703 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1832, allocations: 3.984 kB / 0.6703 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1833, allocations: 8 kB / 0.6703 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1833, allocations: 0 / 0.6703 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1833, allocations: 4 kB / 0.6703 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.1842, allocations: 0.5769 MB / 0.6709 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1844, allocations: 160.7 kB / 0.671 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.1845, allocations: 16 kB / 0.6711 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.1849, allocations: 43.94 kB / 0.6711 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.1851, allocations: 71.89 kB / 0.6712 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1851, allocations: 15.98 kB / 0.6712 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006098/0.1857, allocations: 0.5537 MB / 0.6717 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1857, allocations: 0 / 0.6717 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004587/0.1862, allocations: 131.7 kB / 0.6719 GB, free: 13.81 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 21 (opeEnv.booPasThr.y,opeEnv.bouMapHea.noErr,opeEnv.bouMapCoo.noErr,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count) * Number of discrete states: 10 (TEvaInEmu.count,TConOutEmu.count,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapHea.hysBou.y,hys.y,opeEnv.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008572/0.1871, allocations: 399.1 kB / 0.6722 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001/0.1881, allocations: 487.3 kB / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1881, allocations: 384 / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.1885, allocations: 195.8 kB / 0.6729 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.1893, allocations: 172.8 kB / 0.673 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.191, allocations: 1.063 MB / 0.6741 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1914, allocations: 0.9146 MB / 0.675 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.1916, allocations: 55.42 kB / 0.675 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1916, allocations: 0 / 0.675 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.01245/0.2041, allocations: 9.386 MB / 0.6842 GB, free: 1.285 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)