Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.0006646/0.0006646, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001622, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006832/0.0006832, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009314/0.001615, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9132/0.9132, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08519/0.9984, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6822/0.6822, allocations: 120.1 MB / 364.2 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07159/0.7538, allocations: 38.15 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] 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.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.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.595e-05, allocations: 6.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002805/0.002821, allocations: 2.205 MB / 406 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.003677, allocations: 0.6154 MB / 406.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00378, allocations: 11.94 kB / 406.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.003846, allocations: 23.67 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.003926, allocations: 39.59 kB / 406.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.004099, allocations: 99.8 kB / 406.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.004372, allocations: 283.2 kB / 407 MB, free: 7.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.004574, allocations: 102.2 kB / 407.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.004874, allocations: 191.5 kB / 407.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.004993, allocations: 107.7 kB / 407.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005033, allocations: 28 kB / 407.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.005061, allocations: 24 kB / 407.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.005105, allocations: 47.81 kB / 407.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.005166, allocations: 63.86 kB / 407.6 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005373, allocations: 179.3 kB / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.005388, allocations: 0 / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005388, allocations: 0 / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.005402, allocations: 0 / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007875/0.006189, allocations: 0.6029 MB / 408.4 MB, free: 6.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.006219, allocations: 8.031 kB / 408.4 MB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.00628, allocations: 44.89 kB / 408.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.006488, allocations: 170.2 kB / 408.6 MB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.006508, allocations: 16.88 kB / 408.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.006542, allocations: 32.3 kB / 408.6 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.00682, allocations: 283.8 kB / 408.9 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006831, allocations: 4 kB / 408.9 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.006847, allocations: 8 kB / 408.9 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.006854, allocations: 4 kB / 408.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.006932, allocations: 51.47 kB / 409 MB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.00747, allocations: 398.2 kB / 409.4 MB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.007588, allocations: 82.41 kB / 409.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.007624, allocations: 28.84 kB / 409.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.007646, allocations: 0 / 409.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.007824, allocations: 131.2 kB / 409.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.007826, allocations: 0 / 409.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001988/0.008025, allocations: 126 kB / 409.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.008063, allocations: 67.33 kB / 409.8 MB, free: 4.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.00834, allocations: 202.2 kB / 410 MB, free: 4.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.008364, allocations: 37.7 kB / 410 MB, free: 4.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.008435, allocations: 152.5 kB / 410.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.008468, allocations: 59.59 kB / 410.2 MB, free: 4.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.008541, allocations: 77.88 kB / 410.3 MB, free: 4.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.008631, allocations: 338.8 kB / 410.6 MB, free: 3.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.008705, allocations: 109.4 kB / 410.7 MB, free: 3.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.008817, allocations: 228.1 kB / 411 MB, free: 3.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.008948, allocations: 210.5 kB / 411.2 MB, free: 3.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.008951, allocations: 32 / 411.2 MB, free: 3.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002105/0.009161, allocations: 324.4 kB / 411.5 MB, free: 2.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.009212, allocations: 93.09 kB / 411.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.009218, allocations: 7.938 kB / 411.6 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.009231, allocations: 0 / 411.6 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.009367, allocations: 55.91 kB / 411.6 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.009373, allocations: 7.984 kB / 411.7 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.009492, allocations: 52.02 kB / 411.7 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.009503, allocations: 4 kB / 411.7 MB, free: 2.543 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,ySetOn.y,$PRE.ySetOn.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 8.606e-05/0.009589, allocations: 143.9 kB / 411.8 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.009611, allocations: 19.98 kB / 411.9 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.009746, allocations: 131.4 kB / 412 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009749, allocations: 4 kB / 412 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.009751, allocations: 0 / 412 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.009755, allocations: 3.984 kB / 412 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.01001, allocations: 302.6 kB / 412.3 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01001, allocations: 4 kB / 412.3 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.01007, allocations: 27.91 kB / 412.3 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.01009, allocations: 23.78 kB / 412.4 MB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01009, allocations: 0 / 412.4 MB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.0101, allocations: 7.984 kB / 412.4 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.0101, allocations: 4 kB / 412.4 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01011, allocations: 0 / 412.4 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.01023, allocations: 207.4 kB / 412.6 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01026, allocations: 4 kB / 412.6 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.01035, allocations: 39.95 kB / 412.6 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.01043, allocations: 43.92 kB / 412.7 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.01044, allocations: 7.984 kB / 412.7 MB, free: 1.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.01048, allocations: 65.72 kB / 412.7 MB, free: 1.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 3.938 kB / 412.7 MB, free: 1.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.01066, allocations: 63.89 kB / 412.8 MB, free: 1.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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 9.101e-05/0.01075, allocations: 100.3 kB / 412.9 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.01098, allocations: 364.5 kB / 413.2 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01099, allocations: 4 kB / 413.3 MB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.01107, allocations: 73.17 kB / 413.3 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.01161, allocations: 256.2 kB / 413.6 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.01243, allocations: 379.4 kB / 413.9 MB, free: 112 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.01247, allocations: 80.08 kB / 414 MB, free: 12 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.01255, allocations: 22.02 kB / 414 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.01269, allocations: 107.2 kB / 414.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0127, allocations: 0 / 414.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of Templates: time 0.005292/0.01799, allocations: 3.86 MB / 418 MB, free: 12.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.10360046941787]