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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 93.47 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.687/1.687, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.031/1.031, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,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=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.099e-05, allocations: 2.312 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004183/0.004204, allocations: 3.231 MB / 484.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006495, allocations: 1.508 MB / 485.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.006757, allocations: 12.34 kB / 485.6 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.00711, allocations: 119.9 kB / 485.7 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.007738, allocations: 323 kB / 486 MB, free: 8.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.008338, allocations: 363.6 kB / 486.4 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.009072, allocations: 0.9074 MB / 487.3 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.009427, allocations: 226.8 kB / 487.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.009922, allocations: 499.3 kB / 488 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.01035, allocations: 366.5 kB / 488.4 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.01048, allocations: 90.94 kB / 488.5 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.01071, allocations: 125.7 kB / 488.6 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.01094, allocations: 278.4 kB / 488.8 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.01117, allocations: 264.1 kB / 489.1 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.01217, allocations: 1.221 MB / 490.3 MB, free: 6.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.01217, allocations: 1.281 kB / 490.3 MB, free: 6.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01218, allocations: 0.5625 kB / 490.3 MB, free: 6.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.01219, allocations: 0.9375 kB / 490.3 MB, free: 6.605 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00215/0.01434, allocations: 1.314 MB / 491.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.01438, allocations: 9.719 kB / 491.7 MB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.01471, allocations: 145.8 kB / 491.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.0158, allocations: 0.6135 MB / 492.4 MB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.01584, allocations: 36.62 kB / 492.4 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.01591, allocations: 49.94 kB / 492.5 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/0.0168, allocations: 0.7496 MB / 493.2 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01681, allocations: 0 / 493.2 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.01686, allocations: 16.78 kB / 493.3 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01687, allocations: 14.53 kB / 493.3 MB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/0.01761, allocations: 317.1 kB / 493.6 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.01975, allocations: 1.417 MB / 495 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.02047, allocations: 286.4 kB / 495.3 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.0208, allocations: 147 kB / 495.4 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.02085, allocations: 7.875 kB / 495.4 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.02135, allocations: 285.9 kB / 495.7 MB, free: 3.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.02135, allocations: 0 / 495.7 MB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001203/0.02256, allocations: 481.1 kB / 496.2 MB, free: 3.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.02262, allocations: 160.3 kB / 496.3 MB, free: 3.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.02357, allocations: 0.8656 MB / 497.2 MB, free: 2.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.02363, allocations: 48.92 kB / 497.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.02398, allocations: 445.7 kB / 497.7 MB, free: 18.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.02406, allocations: 101.3 kB / 497.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.02423, allocations: 137.8 kB / 497.9 MB, free: 18.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003682/0.02459, allocations: 0.6107 MB / 498.5 MB, free: 17.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.02496, allocations: 203 kB / 498.7 MB, free: 17.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.02538, allocations: 408.1 kB / 499.1 MB, free: 17.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.02599, allocations: 373.4 kB / 499.5 MB, free: 16.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02599, allocations: 0 / 499.5 MB, free: 16.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001066/0.02706, allocations: 0.5828 MB / 0.4884 GB, free: 16.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.02712, allocations: 65.22 kB / 0.4884 GB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.02713, allocations: 1.438 kB / 0.4884 GB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.02715, allocations: 8.812 kB / 0.4884 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.02741, allocations: 58.23 kB / 0.4885 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.02742, allocations: 11.58 kB / 0.4885 GB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.02787, allocations: 60.72 kB / 0.4885 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.02791, allocations: 14.97 kB / 0.4886 GB, free: 16.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,opeEnv.errAndSetOn.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 (49): * Single equations (assignments): 47 * 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.0002819/0.02819, allocations: 246.2 kB / 0.4888 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.02831, allocations: 79.98 kB / 0.4889 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.0292, allocations: 382.1 kB / 0.4892 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.02921, allocations: 4.75 kB / 0.4892 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02921, allocations: 1.281 kB / 0.4892 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.02922, allocations: 2.953 kB / 0.4892 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.03099, allocations: 1.18 MB / 0.4904 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.03099, allocations: 4.469 kB / 0.4904 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.03117, allocations: 42.77 kB / 0.4904 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.03117, allocations: 1.438 kB / 0.4904 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.0312, allocations: 10.98 kB / 0.4905 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.03121, allocations: 5.547 kB / 0.4905 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.03121, allocations: 1.094 kB / 0.4905 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.03219, allocations: 0.635 MB / 0.4911 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.03233, allocations: 85.78 kB / 0.4912 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.03245, allocations: 17.83 kB / 0.4912 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.03285, allocations: 32.97 kB / 0.4912 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.03305, allocations: 94.09 kB / 0.4913 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.03309, allocations: 14.44 kB / 0.4913 GB, free: 14.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006683/0.03376, allocations: 0.5214 MB / 0.4918 GB, free: 14.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03376, allocations: 0 / 0.4918 GB, free: 14.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005094/0.03427, allocations: 139.7 kB / 0.492 GB, free: 14.54 MB / 426.7 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.errAndSetOn.y,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.canOpe,opeEnv.bouMapHea.noErr,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count,ySetOn.y) * Number of discrete states: 11 (TEvaInEmu.count,TConOutEmu.count,ySetOn.y,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.002555/0.03682, allocations: 408.5 kB / 0.4923 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.03794, allocations: 0.5338 MB / 0.4929 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03795, allocations: 1.469 kB / 0.4929 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.03839, allocations: 177.8 kB / 0.493 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.03935, allocations: 179.8 kB / 0.4932 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.04138, allocations: 1.015 MB / 0.4942 GB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.04179, allocations: 312.3 kB / 0.4945 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.0421, allocations: 83.69 kB / 0.4946 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.04231, allocations: 59.39 kB / 0.4946 GB, free: 12.71 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.04231, allocations: 0 / 0.4946 GB, free: 12.71 MB / 426.7 MB Notification: Performance of Templates: time 0.02154/0.06385, allocations: 10.26 MB / 0.5047 GB, free: 4.289 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.004460931988433]