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.004787/0.004787, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.00121/0.00121, allocations: 195.5 kB / 16.79 MB, free: 6.242 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7683/0.7683, allocations: 126.1 MB / 416.7 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.92 kB / 0.4943 GB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1895, allocations: 78.71 MB / 0.5712 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.00568/0.1953, allocations: 3.202 MB / 0.5743 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.198, allocations: 1.318 MB / 0.5756 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.1986, allocations: 8 kB / 0.5756 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.1992, allocations: 79.45 kB / 0.5757 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007975/0.2, allocations: 234.9 kB / 0.5759 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.2009, allocations: 310.8 kB / 0.5762 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2021, allocations: 1.01 MB / 0.5772 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.2027, allocations: 312.6 kB / 0.5775 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.2032, allocations: 270.9 kB / 0.5777 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.2039, allocations: 402.2 kB / 0.5781 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.204, allocations: 36 kB / 0.5782 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2043, allocations: 75.97 kB / 0.5782 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.2046, allocations: 211.3 kB / 0.5784 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.205, allocations: 322.1 kB / 0.5787 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.206, allocations: 1.098 MB / 0.5798 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2061, allocations: 0 / 0.5798 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2061, allocations: 0 / 0.5798 GB, free: 3.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.2061, allocations: 4 kB / 0.5798 GB, free: 3.465 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.002826/0.2089, allocations: 1.173 MB / 0.581 GB, free: 2.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.209, allocations: 12.03 kB / 0.581 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.2092, allocations: 87.89 kB / 0.5811 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2106, allocations: 0.6838 MB / 0.5817 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2106, allocations: 36.94 kB / 0.5818 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.2107, allocations: 44 kB / 0.5818 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2118, allocations: 0.5109 MB / 0.5823 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2118, allocations: 0 / 0.5823 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.2119, allocations: 16 kB / 0.5823 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2119, allocations: 11.94 kB / 0.5823 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.213, allocations: 379.8 kB / 0.5827 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3325/0.5454, allocations: 1.383 MB / 0.584 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.5464, allocations: 313.6 kB / 0.5843 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.5469, allocations: 173.5 kB / 0.5845 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.547, allocations: 4.125 kB / 0.5845 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.5478, allocations: 270.2 kB / 0.5848 GB, free: 19.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/0.5478, allocations: 0 / 0.5848 GB, free: 19.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001652/0.5495, allocations: 0.5147 MB / 0.5853 GB, free: 19.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.5495, allocations: 161.6 kB / 0.5854 GB, free: 18.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5507, allocations: 0.8051 MB / 0.5862 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.5508, allocations: 46.23 kB / 0.5862 GB, free: 18.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.551, allocations: 316.6 kB / 0.5865 GB, free: 18.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.5511, allocations: 87.3 kB / 0.5866 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.5513, allocations: 89.23 kB / 0.5867 GB, free: 18.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5514, allocations: 383.9 kB / 0.5871 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.5519, allocations: 161.5 kB / 0.5872 GB, free: 17.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.5525, allocations: 249 kB / 0.5875 GB, free: 17.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.5533, allocations: 381.7 kB / 0.5878 GB, free: 17.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5533, allocations: 0 / 0.5878 GB, free: 17.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001214/0.5545, allocations: 0.5403 MB / 0.5884 GB, free: 17.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5546, allocations: 61.91 kB / 0.5884 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5546, allocations: 0.9375 kB / 0.5884 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5546, allocations: 3.75 kB / 0.5884 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.5549, allocations: 62.48 kB / 0.5885 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.555, allocations: 4.953 kB / 0.5885 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.5555, allocations: 70.88 kB / 0.5886 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.5555, allocations: 17.5 kB / 0.5886 GB, free: 17.09 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.0002877/0.5558, allocations: 261.5 kB / 0.5888 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.5559, allocations: 61.64 kB / 0.5889 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.5571, allocations: 424.3 kB / 0.5893 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5571, allocations: 2.844 kB / 0.5893 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5571, allocations: 1.375 kB / 0.5893 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5571, allocations: 2.203 kB / 0.5893 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5592, allocations: 1.174 MB / 0.5904 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5592, allocations: 0 / 0.5904 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.5594, allocations: 40.33 kB / 0.5905 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5595, allocations: 6.797 kB / 0.5905 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.5595, allocations: 13.31 kB / 0.5905 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5595, allocations: 5.531 kB / 0.5905 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5595, allocations: 4.625 kB / 0.5905 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5606, allocations: 0.569 MB / 0.5911 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5608, allocations: 153.8 kB / 0.5912 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5609, allocations: 19.03 kB / 0.5912 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.5614, allocations: 45.16 kB / 0.5913 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.5616, allocations: 73.31 kB / 0.5913 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.5616, allocations: 15.83 kB / 0.5914 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007801/0.5624, allocations: 0.5568 MB / 0.5919 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5624, allocations: 0 / 0.5919 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.563, allocations: 128.5 kB / 0.592 GB, free: 15.28 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.0009516/0.564, allocations: 391.6 kB / 0.5924 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.5653, allocations: 498.9 kB / 0.5929 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5653, allocations: 0 / 0.5929 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.5659, allocations: 195.9 kB / 0.5931 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5669, allocations: 160.6 kB / 0.5932 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.569, allocations: 1.219 MB / 0.5944 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.5695, allocations: 0.9078 MB / 0.5953 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.57, allocations: 92.27 kB / 0.5954 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5702, allocations: 57.61 kB / 0.5954 GB, free: 13.26 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5702, allocations: 0 / 0.5954 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Templates: time 0.02056/0.5907, allocations: 8.948 MB / 0.6042 GB, free: 11.42 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)