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.00105/0.00105, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.00125/0.00125, allocations: 169 kB / 24.14 MB, free: 356 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.069/1.069, allocations: 177.1 MB / 204.6 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.6364/0.6364, allocations: 115 MB / 376 MB, free: 7.441 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.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.453e-06/1.453e-06, allocations: 0 / 428.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.46e-05, allocations: 2.312 kB / 428.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003182/0.003206, allocations: 2.193 MB / 431 MB, free: 456 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004322, allocations: 0.6193 MB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.00446, allocations: 0 / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.0046, allocations: 27.67 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.004702, allocations: 47.56 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.005028, allocations: 95.81 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.005334, allocations: 291.2 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.005557, allocations: 110.1 kB / 432.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.005784, allocations: 171.7 kB / 432.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.0059, allocations: 99.67 kB / 432.5 MB, free: 15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.005943, allocations: 28 kB / 432.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.005969, allocations: 28 kB / 432.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.006021, allocations: 63.73 kB / 432.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.006091, allocations: 79.81 kB / 432.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.006356, allocations: 211.2 kB / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.00636, allocations: 0 / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006361, allocations: 0 / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006365, allocations: 4 kB / 432.9 MB, free: 14.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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006984/0.007064, allocations: 0.5486 MB / 433.4 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.007104, allocations: 12.03 kB / 433.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.00717, allocations: 36.89 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.007412, allocations: 174.2 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.007437, allocations: 20.86 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.007466, allocations: 32.31 kB / 433.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.007777, allocations: 283.8 kB / 434 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007787, allocations: 0 / 434 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.007802, allocations: 4 kB / 434 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.00781, allocations: 8 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.007898, allocations: 55.47 kB / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.00851, allocations: 386.3 kB / 434.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.008644, allocations: 78.47 kB / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.008682, allocations: 28.84 kB / 434.5 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.008702, allocations: 0 / 434.5 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.008871, allocations: 134.6 kB / 434.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.008872, allocations: 0 / 434.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002061/0.009078, allocations: 129.5 kB / 434.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.00913, allocations: 114.7 kB / 434.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.009269, allocations: 210.7 kB / 435.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.0093, allocations: 37.7 kB / 435.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.009373, allocations: 148.3 kB / 435.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.00941, allocations: 63.53 kB / 435.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.009494, allocations: 69.88 kB / 435.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.009584, allocations: 338.8 kB / 435.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.009669, allocations: 109.4 kB / 435.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.009793, allocations: 235.8 kB / 436.1 MB, free: 11.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.00993, allocations: 202.5 kB / 436.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.009933, allocations: 0 / 436.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002431/0.01018, allocations: 328.4 kB / 436.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.01024, allocations: 89.09 kB / 436.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01024, allocations: 0 / 436.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01026, allocations: 4 kB / 436.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01041, allocations: 60.05 kB / 436.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01042, allocations: 11.92 kB / 436.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01055, allocations: 43.86 kB / 436.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.01057, allocations: 12 kB / 436.8 MB, free: 10.27 MB / 410.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 0.0001024/0.01067, allocations: 139.9 kB / 436.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.0107, allocations: 19.98 kB / 437 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.01087, allocations: 127.3 kB / 437.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01087, allocations: 4 kB / 437.1 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01087, allocations: 3.938 kB / 437.1 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01088, allocations: 3.984 kB / 437.1 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.01119, allocations: 302.2 kB / 437.4 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01119, allocations: 4 kB / 437.4 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.01126, allocations: 31.91 kB / 437.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01127, allocations: 0 / 437.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01128, allocations: 3.984 kB / 437.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.01128, allocations: 7.938 kB / 437.4 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01128, allocations: 8 kB / 437.4 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01143, allocations: 199.5 kB / 437.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.01145, allocations: 19.8 kB / 437.7 MB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.01148, allocations: 8 kB / 437.7 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.01161, allocations: 39.89 kB / 437.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.01172, allocations: 47.91 kB / 437.7 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.01174, allocations: 7.938 kB / 437.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.01181, allocations: 57.95 kB / 437.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01181, allocations: 0 / 437.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.01202, allocations: 63.89 kB / 437.9 MB, free: 9.141 MB / 410.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 0.0001301/0.01215, allocations: 100.3 kB / 438 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.01244, allocations: 368.6 kB / 438.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.01245, allocations: 0 / 438.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.01253, allocations: 64.36 kB / 438.4 MB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01276, allocations: 40.28 kB / 438.4 MB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.01346, allocations: 379.4 kB / 438.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.995e-05/0.01351, allocations: 84.22 kB / 438.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.01358, allocations: 21.95 kB / 438.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01372, allocations: 103.3 kB / 439 MB, free: 7.887 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01372, allocations: 0 / 439 MB, free: 7.887 MB / 410.7 MB Notification: Performance of Templates: time 0.006015/0.01974, allocations: 3.718 MB / 442.7 MB, free: 4.184 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 -s gbode -gbm=radauIIA3 -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.698987105861306]