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.0008953/0.0008953, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009349/0.0009349, allocations: 169 kB / 24.05 MB, free: 452 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 0.9653/0.9653, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.5978/0.5978, allocations: 115 MB / 376 MB, free: 7.512 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.694e-06/1.694e-06, allocations: 0 / 482 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.185e-05, allocations: 5.234 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.002972/0.002984, allocations: 3.198 MB / 485.2 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.004875, allocations: 1.514 MB / 486.7 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.005139, allocations: 14.06 kB / 486.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.005467, allocations: 110 kB / 486.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.006005, allocations: 330.2 kB / 487.2 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.006482, allocations: 362.6 kB / 487.5 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.007183, allocations: 0.9203 MB / 488.5 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.00749, allocations: 223.3 kB / 488.7 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.007989, allocations: 0.5048 MB / 489.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.008349, allocations: 342.8 kB / 489.5 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.008451, allocations: 74.41 kB / 489.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.008617, allocations: 114.3 kB / 489.7 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.008774, allocations: 262.1 kB / 490 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.008916, allocations: 232.2 kB / 490.2 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.009416, allocations: 0.6078 MB / 490.8 MB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.009418, allocations: 0 / 490.8 MB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.009418, allocations: 0 / 490.8 MB, free: 6.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.009426, allocations: 4.5 kB / 490.8 MB, free: 6.59 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.001086/0.01051, allocations: 1.195 MB / 492 MB, free: 5.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01054, allocations: 8.906 kB / 492 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.01076, allocations: 136.3 kB / 492.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.01118, allocations: 0.5134 MB / 492.6 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.01121, allocations: 33.38 kB / 492.7 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.01125, allocations: 51.62 kB / 492.7 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.01165, allocations: 455.5 kB / 493.2 MB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01166, allocations: 5.375 kB / 493.2 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01168, allocations: 16.03 kB / 493.2 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01169, allocations: 10.88 kB / 493.2 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.01186, allocations: 118.4 kB / 493.3 MB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01291, allocations: 1.022 MB / 494.3 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.01313, allocations: 148.1 kB / 494.5 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.01321, allocations: 69.33 kB / 494.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.01323, allocations: 5.469 kB / 494.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.01343, allocations: 201 kB / 494.8 MB, free: 4.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.283e-06/0.01343, allocations: 0.75 kB / 494.8 MB, free: 4.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000366/0.0138, allocations: 282.9 kB / 495 MB, free: 4.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.01383, allocations: 167.6 kB / 495.2 MB, free: 3.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.01437, allocations: 0.6163 MB / 495.8 MB, free: 19.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.01441, allocations: 46.42 kB / 495.9 MB, free: 19.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.0146, allocations: 405.7 kB / 496.3 MB, free: 19.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.01465, allocations: 87.47 kB / 496.3 MB, free: 19.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.01475, allocations: 102.6 kB / 496.4 MB, free: 19.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01492, allocations: 0.5624 MB / 497 MB, free: 18.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01502, allocations: 103 kB / 497.1 MB, free: 18.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01516, allocations: 292.3 kB / 497.4 MB, free: 18.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01539, allocations: 231.2 kB / 497.6 MB, free: 18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01539, allocations: 0 / 497.6 MB, free: 18 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003799/0.01577, allocations: 428.5 kB / 498 MB, free: 17.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.0158, allocations: 68.45 kB / 498.1 MB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01581, allocations: 1.188 kB / 498.1 MB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01582, allocations: 7.5 kB / 498.1 MB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01596, allocations: 54.47 kB / 498.2 MB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.01597, allocations: 8.562 kB / 498.2 MB, free: 17.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.01615, allocations: 60.08 kB / 498.2 MB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01617, allocations: 12.03 kB / 498.2 MB, free: 17.64 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,opeEnv.disErr.local_reset,opeEnv.disErr.local_set,opeEnv.intConOne.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) * 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.0001428/0.01632, allocations: 204.5 kB / 498.4 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.01639, allocations: 80.97 kB / 498.5 MB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.01667, allocations: 256.7 kB / 498.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01668, allocations: 8.281 kB / 498.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01668, allocations: 1.281 kB / 498.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01668, allocations: 3.047 kB / 498.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.01746, allocations: 0.8063 MB / 499.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01746, allocations: 0 / 499.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.342e-05/0.01755, allocations: 35.62 kB / 499.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01756, allocations: 2.219 kB / 499.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.01758, allocations: 18.75 kB / 499.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01758, allocations: 1.344 kB / 499.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01758, allocations: 1.469 kB / 499.6 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.01801, allocations: 0.5073 MB / 0.4884 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.01807, allocations: 68.7 kB / 0.4885 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.01813, allocations: 26.59 kB / 0.4885 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.01834, allocations: 38.78 kB / 0.4886 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.01846, allocations: 80.03 kB / 0.4886 GB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.01848, allocations: 15.12 kB / 0.4887 GB, free: 16.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003123/0.01879, allocations: 377.5 kB / 0.489 GB, free: 16.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01879, allocations: 1.25 kB / 0.489 GB, free: 16.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.01918, allocations: 131.3 kB / 0.4891 GB, free: 16.07 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.0006459/0.01982, allocations: 358.2 kB / 0.4895 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.02014, allocations: 352 kB / 0.4898 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02014, allocations: 0 / 0.4898 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.02028, allocations: 105.8 kB / 0.4899 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.0208, allocations: 179.1 kB / 0.4901 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02192, allocations: 0.9458 MB / 0.491 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.02204, allocations: 154.6 kB / 0.4912 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.02223, allocations: 75.55 kB / 0.4912 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.02257, allocations: 229.5 kB / 0.4914 GB, free: 14.87 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02257, allocations: 0 / 0.4914 GB, free: 14.87 MB / 426.7 MB Notification: Performance of Templates: time 0.0193/0.04188, allocations: 10.97 MB / 0.5022 GB, free: 7.48 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.5620574452914298]