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.001426/0.001426, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001774/0.001774, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6177/0.6177, allocations: 115 MB / 376 MB, free: 7.652 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.232e-06/1.232e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.15e-05, allocations: 2.312 kB / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.003414/0.003436, allocations: 3.275 MB / 484.8 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005324, allocations: 1.519 MB / 486.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.005577, allocations: 11.22 kB / 486.4 MB, free: 8.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.005898, allocations: 111 kB / 486.5 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.006474, allocations: 324.1 kB / 486.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.007065, allocations: 373.5 kB / 487.2 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.007817, allocations: 0.9017 MB / 488.1 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.008159, allocations: 232.3 kB / 488.3 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.008593, allocations: 488.3 kB / 488.8 MB, free: 7.473 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.008988, allocations: 373.5 kB / 489.1 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.009092, allocations: 90.97 kB / 489.2 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.009283, allocations: 121.6 kB / 489.3 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.00947, allocations: 281.8 kB / 489.6 MB, free: 7.168 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.009712, allocations: 267.5 kB / 489.9 MB, free: 7.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007353/0.01045, allocations: 0.6534 MB / 490.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01045, allocations: 1.469 kB / 490.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01045, allocations: 0.875 kB / 490.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.01047, allocations: 0 / 490.5 MB, free: 6.66 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.001486/0.01196, allocations: 1.24 MB / 491.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.012, allocations: 9.125 kB / 491.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.01231, allocations: 138 kB / 491.9 MB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.01307, allocations: 0.6158 MB / 492.5 MB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.01311, allocations: 39.78 kB / 492.6 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.01316, allocations: 49.91 kB / 492.6 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.01373, allocations: 0.6274 MB / 493.2 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01374, allocations: 2.562 kB / 493.2 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.01377, allocations: 23.22 kB / 493.3 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.01378, allocations: 10.22 kB / 493.3 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.01407, allocations: 151.9 kB / 493.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.01546, allocations: 1.127 MB / 494.6 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.01583, allocations: 168.1 kB / 494.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.01595, allocations: 75.66 kB / 494.8 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.01599, allocations: 9.734 kB / 494.8 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.01625, allocations: 203.7 kB / 495 MB, free: 3.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01625, allocations: 1.219 kB / 495 MB, free: 3.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005224/0.01677, allocations: 313.3 kB / 495.3 MB, free: 3.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.01683, allocations: 161.7 kB / 495.5 MB, free: 3.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.01755, allocations: 0.6473 MB / 496.1 MB, free: 19.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.0176, allocations: 46.2 kB / 496.2 MB, free: 19.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.01784, allocations: 398.9 kB / 496.5 MB, free: 18.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.01789, allocations: 94.95 kB / 496.6 MB, free: 18.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.018, allocations: 102.7 kB / 496.7 MB, free: 18.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.01816, allocations: 0.5503 MB / 497.3 MB, free: 18.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.0183, allocations: 124.1 kB / 497.4 MB, free: 18.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.01848, allocations: 315.5 kB / 497.7 MB, free: 17.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01872, allocations: 244 kB / 498 MB, free: 17.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01872, allocations: 0 / 498 MB, free: 17.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004691/0.01919, allocations: 450.7 kB / 498.4 MB, free: 17.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.01923, allocations: 70.41 kB / 498.5 MB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01923, allocations: 2.25 kB / 498.5 MB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01925, allocations: 4.062 kB / 498.5 MB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.0194, allocations: 58.39 kB / 498.5 MB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.01941, allocations: 11.55 kB / 498.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.01963, allocations: 56.64 kB / 498.6 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.01965, allocations: 18.84 kB / 498.6 MB, free: 17.36 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.0001674/0.01982, allocations: 200.7 kB / 498.8 MB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.0199, allocations: 81.31 kB / 498.9 MB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.02026, allocations: 268.8 kB / 499.2 MB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.02027, allocations: 3.281 kB / 499.2 MB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.02027, allocations: 1.094 kB / 499.2 MB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.02028, allocations: 5.109 kB / 499.2 MB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.02116, allocations: 0.9292 MB / 0.4884 GB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02116, allocations: 6.594 kB / 0.4884 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.02127, allocations: 35.98 kB / 0.4884 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.02127, allocations: 2.531 kB / 0.4884 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.02129, allocations: 9.75 kB / 0.4884 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.02129, allocations: 2.25 kB / 0.4884 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02129, allocations: 4.688 kB / 0.4884 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.02169, allocations: 0.5213 MB / 0.4889 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.02177, allocations: 80.38 kB / 0.489 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.02183, allocations: 14.81 kB / 0.489 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.02204, allocations: 35.25 kB / 0.4891 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.02217, allocations: 84.62 kB / 0.4891 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.02219, allocations: 10.89 kB / 0.4892 GB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004299/0.02262, allocations: 429.8 kB / 0.4896 GB, free: 15.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02262, allocations: 0 / 0.4896 GB, free: 15.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.02302, allocations: 134.8 kB / 0.4897 GB, free: 15.69 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.0007768/0.0238, allocations: 380 kB / 0.4901 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.02424, allocations: 376.9 kB / 0.4904 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02425, allocations: 3.938 kB / 0.4904 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.02441, allocations: 107 kB / 0.4905 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.02501, allocations: 182.4 kB / 0.4907 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.02639, allocations: 0.9519 MB / 0.4916 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.02651, allocations: 151.2 kB / 0.4918 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.02674, allocations: 78.58 kB / 0.4918 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.02687, allocations: 62.11 kB / 0.4919 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02687, allocations: 1.188 kB / 0.4919 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Templates: time 0.01391/0.04078, allocations: 10.28 MB / 0.5019 GB, free: 7.742 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: 3.8041128418408334]