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.001746/0.001752, allocations: 97.8 kB / 16.64 MB, free: 6.816 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.001854/0.001854, allocations: 192.8 kB / 17.57 MB, free: 5.934 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.445/1.445, allocations: 222.9 MB / 241.3 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8275/0.8275, allocations: 126.1 MB / 417.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 0.4951 GB, free: 3.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.453, allocations: 78.7 MB / 0.572 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004816/0.4579, allocations: 3.201 MB / 0.5751 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.4603, allocations: 1.323 MB / 0.5764 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.4606, allocations: 6.062 kB / 0.5764 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.4611, allocations: 83.55 kB / 0.5765 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005998/0.4617, allocations: 222.7 kB / 0.5767 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.4625, allocations: 314.4 kB / 0.577 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008768/0.4634, allocations: 0.8507 MB / 0.5778 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.4638, allocations: 314 kB / 0.5781 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.4642, allocations: 329 kB / 0.5785 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.4647, allocations: 430.2 kB / 0.5789 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4648, allocations: 87.5 kB / 0.579 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.4651, allocations: 131.7 kB / 0.5791 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.4653, allocations: 254.1 kB / 0.5793 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.4656, allocations: 386.6 kB / 0.5797 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.4663, allocations: 0.9348 MB / 0.5806 GB, free: 25.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4663, allocations: 1.406 kB / 0.5806 GB, free: 25.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4664, allocations: 0 / 0.5806 GB, free: 25.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4664, allocations: 1.156 kB / 0.5806 GB, free: 25.71 MB / 446.1 MB 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.002022/0.4684, allocations: 1.184 MB / 0.5818 GB, free: 24.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4685, allocations: 9.75 kB / 0.5818 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.4686, allocations: 81.25 kB / 0.5819 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.4696, allocations: 0.6881 MB / 0.5825 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.4697, allocations: 38.75 kB / 0.5826 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.4697, allocations: 48.55 kB / 0.5826 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.4707, allocations: 0.516 MB / 0.5831 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4707, allocations: 1.344 kB / 0.5831 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.4707, allocations: 16.28 kB / 0.5831 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4707, allocations: 9.469 kB / 0.5831 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.4716, allocations: 381 kB / 0.5835 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.4737, allocations: 1.386 MB / 0.5849 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.4745, allocations: 317.8 kB / 0.5852 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.4749, allocations: 167.7 kB / 0.5853 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.475, allocations: 3.797 kB / 0.5853 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006754/0.4757, allocations: 279.5 kB / 0.5856 GB, free: 22.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.225e-06/0.4757, allocations: 0 / 0.5856 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001453/0.4772, allocations: 0.5148 MB / 0.5861 GB, free: 21.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.4772, allocations: 169.8 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.4783, allocations: 0.792 MB / 0.587 GB, free: 21.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.4783, allocations: 49.97 kB / 0.5871 GB, free: 21.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.4785, allocations: 317.1 kB / 0.5874 GB, free: 20.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.4786, allocations: 86.83 kB / 0.5875 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.4788, allocations: 90.36 kB / 0.5875 GB, free: 20.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.4789, allocations: 373.9 kB / 0.5879 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.4793, allocations: 164.5 kB / 0.5881 GB, free: 20.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.4798, allocations: 246.4 kB / 0.5883 GB, free: 20.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.4806, allocations: 384.5 kB / 0.5887 GB, free: 19.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4806, allocations: 1.344 kB / 0.5887 GB, free: 19.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001128/0.4817, allocations: 0.5273 MB / 0.5892 GB, free: 19.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.4818, allocations: 72.83 kB / 0.5892 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4818, allocations: 1.125 kB / 0.5892 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4818, allocations: 4.328 kB / 0.5892 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.4821, allocations: 67.75 kB / 0.5893 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4821, allocations: 3.469 kB / 0.5893 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.4826, allocations: 76.75 kB / 0.5894 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.4827, allocations: 13.03 kB / 0.5894 GB, free: 19.46 MB / 446.1 MB 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.0002825/0.483, allocations: 249.6 kB / 0.5896 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.4831, allocations: 66.38 kB / 0.5897 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009971/0.4841, allocations: 424.6 kB / 0.5901 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4841, allocations: 3.625 kB / 0.5901 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4841, allocations: 4.516 kB / 0.5901 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4841, allocations: 1.344 kB / 0.5901 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4858, allocations: 1.168 MB / 0.5913 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4858, allocations: 0.6562 kB / 0.5913 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.486, allocations: 43.44 kB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.486, allocations: 5.422 kB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.4861, allocations: 7.625 kB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4861, allocations: 1.312 kB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4861, allocations: 1.906 kB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.487, allocations: 0.5824 MB / 0.5919 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4872, allocations: 152.7 kB / 0.592 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/0.4873, allocations: 18.72 kB / 0.592 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4877, allocations: 53.98 kB / 0.5921 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4879, allocations: 73.02 kB / 0.5922 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.4879, allocations: 13.02 kB / 0.5922 GB, free: 17.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006595/0.4886, allocations: 0.5572 MB / 0.5927 GB, free: 17.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4886, allocations: 0 / 0.5927 GB, free: 17.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.4891, allocations: 129.8 kB / 0.5928 GB, free: 17.05 MB / 446.1 MB 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.001305/0.4904, allocations: 392.1 kB / 0.5932 GB, free: 16.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4915, allocations: 0.5112 MB / 0.5937 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4915, allocations: 4.062 kB / 0.5937 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.4919, allocations: 183.8 kB / 0.5939 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.4927, allocations: 161 kB / 0.5941 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4943, allocations: 1.262 MB / 0.5953 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.4946, allocations: 0.9068 MB / 0.5962 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4947, allocations: 67.41 kB / 0.5962 GB, free: 13.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4947, allocations: 0 / 0.5962 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Templates: time 0.0106/0.5053, allocations: 9.31 MB / 0.6053 GB, free: 4.441 MB / 446.1 MB 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)