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.002119/0.002119, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.00287/0.00287, allocations: 165 kB / 23.8 MB, free: 0.7695 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.112/1.112, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.665/0.665, allocations: 115 MB / 375.7 MB, free: 7.598 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 2.325e-06/2.325e-06, allocations: 0.7656 kB / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.389e-05, allocations: 2.312 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.006169/0.006203, allocations: 3.281 MB / 484.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.009234, allocations: 1.521 MB / 486.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.009559, allocations: 9.562 kB / 486.4 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.01007, allocations: 122.1 kB / 486.5 MB, free: 8.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008559/0.01093, allocations: 316.8 kB / 486.8 MB, free: 8.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.0117, allocations: 369.6 kB / 487.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.01286, allocations: 0.9089 MB / 488.1 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.01341, allocations: 232.9 kB / 488.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.01409, allocations: 492.1 kB / 488.8 MB, free: 7.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.01467, allocations: 367.2 kB / 489.1 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.01487, allocations: 91.78 kB / 489.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.01513, allocations: 130.4 kB / 489.4 MB, free: 7.316 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.01537, allocations: 279 kB / 489.6 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.01562, allocations: 257.4 kB / 489.9 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.01638, allocations: 0.6548 MB / 490.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01639, allocations: 3.188 kB / 490.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01639, allocations: 1.531 kB / 490.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.0164, allocations: 1.344 kB / 490.5 MB, free: 6.656 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.001719/0.01812, allocations: 1.242 MB / 491.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.01817, allocations: 14.47 kB / 491.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.01854, allocations: 133.4 kB / 491.9 MB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.01944, allocations: 0.6167 MB / 492.5 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.01949, allocations: 36.25 kB / 492.6 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.01956, allocations: 50.09 kB / 492.6 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.0203, allocations: 0.6366 MB / 493.3 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.02032, allocations: 1.031 kB / 493.3 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.02036, allocations: 16.5 kB / 493.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.02039, allocations: 10.69 kB / 493.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.02075, allocations: 149.8 kB / 493.4 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.02242, allocations: 1.131 MB / 494.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.02285, allocations: 169.9 kB / 494.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.02299, allocations: 72.62 kB / 494.8 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.02304, allocations: 8.156 kB / 494.8 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.02334, allocations: 206.8 kB / 495 MB, free: 3.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.02335, allocations: 0 / 495 MB, free: 3.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000628/0.02397, allocations: 313.3 kB / 495.3 MB, free: 3.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.02405, allocations: 160.2 kB / 495.5 MB, free: 3.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.02475, allocations: 0.6561 MB / 496.1 MB, free: 3.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.0248, allocations: 46.27 kB / 496.2 MB, free: 3.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.02513, allocations: 393.5 kB / 496.6 MB, free: 18.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.0252, allocations: 100.9 kB / 496.7 MB, free: 18.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.02534, allocations: 103.4 kB / 496.8 MB, free: 18.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.02556, allocations: 0.5551 MB / 497.3 MB, free: 18.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.02573, allocations: 115.6 kB / 497.4 MB, free: 18.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.026, allocations: 306.8 kB / 497.7 MB, free: 17.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.0263, allocations: 252.8 kB / 498 MB, free: 17.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.0263, allocations: 0 / 498 MB, free: 17.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006613/0.02697, allocations: 449.9 kB / 498.4 MB, free: 17.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.02703, allocations: 64.69 kB / 498.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.02704, allocations: 2.562 kB / 498.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.02707, allocations: 2.438 kB / 498.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.02726, allocations: 65.98 kB / 498.6 MB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.02727, allocations: 8.203 kB / 498.6 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.0275, allocations: 60.39 kB / 498.6 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.02753, allocations: 11.53 kB / 498.6 MB, free: 17.34 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.0001951/0.02772, allocations: 202.4 kB / 498.8 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.02782, allocations: 77.58 kB / 498.9 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.02827, allocations: 274.2 kB / 499.2 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.02828, allocations: 4.625 kB / 499.2 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02829, allocations: 1 kB / 499.2 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.02829, allocations: 4.078 kB / 499.2 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02932, allocations: 0.9304 MB / 0.4884 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02933, allocations: 4.906 kB / 0.4884 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.02944, allocations: 36.3 kB / 0.4884 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.02944, allocations: 2.281 kB / 0.4884 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.02947, allocations: 13.58 kB / 0.4884 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.02947, allocations: 1.062 kB / 0.4884 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02947, allocations: 1.969 kB / 0.4885 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.02999, allocations: 0.5211 MB / 0.489 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.03008, allocations: 79.23 kB / 0.489 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.03014, allocations: 14.56 kB / 0.489 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.03034, allocations: 36.03 kB / 0.4891 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.0305, allocations: 86.28 kB / 0.4892 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.03053, allocations: 16.67 kB / 0.4892 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004695/0.031, allocations: 425.5 kB / 0.4896 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.031, allocations: 0 / 0.4896 GB, free: 15.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000374/0.03138, allocations: 142.3 kB / 0.4897 GB, free: 15.66 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.001003/0.03238, allocations: 357.9 kB / 0.4901 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.03295, allocations: 385.1 kB / 0.4904 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.03295, allocations: 0 / 0.4904 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.03314, allocations: 110.4 kB / 0.4905 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.03382, allocations: 179.5 kB / 0.4907 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.03545, allocations: 0.949 MB / 0.4916 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.03562, allocations: 147.3 kB / 0.4918 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.03583, allocations: 81.44 kB / 0.4919 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.03599, allocations: 61.94 kB / 0.4919 GB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.011e-06/0.03599, allocations: 0 / 0.4919 GB, free: 14.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01625/0.05224, allocations: 10.29 MB / 0.502 GB, free: 7.387 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: 4.356883340049535]