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.0009718/0.0009718, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001326/0.001326, allocations: 172.7 kB / 24.84 MB, free: 9.246 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 0.9876/0.9876, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.6121/0.6121, allocations: 115 MB / 376.8 MB, free: 7.496 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.393e-06/1.393e-06, allocations: 0 / 482.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.831e-05, allocations: 3.297 kB / 482.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002445/0.002464, allocations: 2.146 MB / 485 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003531, allocations: 0.6044 MB / 485.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.003653, allocations: 4.281 kB / 485.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.003781, allocations: 23.16 kB / 485.6 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.003863, allocations: 51.72 kB / 485.6 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004088, allocations: 91.88 kB / 485.7 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.004338, allocations: 293.5 kB / 486 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.004531, allocations: 87.12 kB / 486.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.004715, allocations: 181.8 kB / 486.3 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.004818, allocations: 91.28 kB / 486.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.004861, allocations: 27.06 kB / 486.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.004894, allocations: 28.12 kB / 486.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.004938, allocations: 61.53 kB / 486.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.005008, allocations: 85.09 kB / 486.6 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.005222, allocations: 209.6 kB / 486.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005225, allocations: 0 / 486.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005226, allocations: 0 / 486.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.005231, allocations: 1.125 kB / 486.8 MB, free: 9.332 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.0006239/0.005855, allocations: 0.6865 MB / 487.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.00589, allocations: 11.41 kB / 487.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.005956, allocations: 41.23 kB / 487.5 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.006135, allocations: 213 kB / 487.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.006156, allocations: 12.94 kB / 487.7 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.006184, allocations: 26.72 kB / 487.8 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.006465, allocations: 293.2 kB / 488 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.006473, allocations: 0 / 488 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.006491, allocations: 9.219 kB / 488 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006497, allocations: 5.25 kB / 488.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.006596, allocations: 60.97 kB / 488.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.007181, allocations: 0.5246 MB / 488.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.007321, allocations: 90.33 kB / 488.7 MB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.007364, allocations: 31.17 kB / 488.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.007386, allocations: 6.625 kB / 488.8 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.007547, allocations: 134.4 kB / 488.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.007548, allocations: 1.25 kB / 488.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.000277/0.007825, allocations: 180.1 kB / 489.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.007864, allocations: 110.9 kB / 489.2 MB, free: 7.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007982, allocations: 259.8 kB / 489.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008003, allocations: 38.83 kB / 489.5 MB, free: 7.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.008236, allocations: 215.9 kB / 489.7 MB, free: 23.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.008265, allocations: 51.03 kB / 489.7 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.00834, allocations: 82.73 kB / 489.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.008457, allocations: 0.5026 MB / 490.3 MB, free: 22.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.008537, allocations: 118 kB / 490.4 MB, free: 22.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.008651, allocations: 262.4 kB / 490.7 MB, free: 22.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.008784, allocations: 204.6 kB / 490.9 MB, free: 22.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008786, allocations: 0.9688 kB / 490.9 MB, free: 22.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002973/0.009083, allocations: 389.6 kB / 491.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.009127, allocations: 89.17 kB / 491.4 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.009134, allocations: 2.25 kB / 491.4 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.009143, allocations: 2.906 kB / 491.4 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.009281, allocations: 57.45 kB / 491.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.009286, allocations: 2.875 kB / 491.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.009419, allocations: 52.53 kB / 491.5 MB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.009436, allocations: 15.55 kB / 491.5 MB, free: 21.64 MB / 426.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.0001147/0.009551, allocations: 180.4 kB / 491.7 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.009582, allocations: 21.94 kB / 491.7 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.009778, allocations: 167.1 kB / 491.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.009781, allocations: 7.406 kB / 491.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009783, allocations: 0 / 491.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.009787, allocations: 1.344 kB / 491.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01014, allocations: 444.7 kB / 492.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01014, allocations: 5.094 kB / 492.3 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.01021, allocations: 22.62 kB / 492.3 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01021, allocations: 3.938 kB / 492.3 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01022, allocations: 9.062 kB / 492.3 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01022, allocations: 1.062 kB / 492.3 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01022, allocations: 5.266 kB / 492.3 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01042, allocations: 298.6 kB / 492.6 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.01044, allocations: 18.95 kB / 492.6 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.01048, allocations: 16.03 kB / 492.7 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.0106, allocations: 40.7 kB / 492.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.01069, allocations: 48.23 kB / 492.7 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.01071, allocations: 5.875 kB / 492.8 MB, free: 20.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.01078, allocations: 176.2 kB / 492.9 MB, free: 20.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01078, allocations: 0 / 492.9 MB, free: 20.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01099, allocations: 61.72 kB / 493 MB, free: 20.65 MB / 426.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.0001184/0.01111, allocations: 110.9 kB / 493.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01139, allocations: 373.3 kB / 493.5 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0114, allocations: 0 / 493.5 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.01149, allocations: 71.89 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01174, allocations: 42.23 kB / 493.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.01235, allocations: 380.7 kB / 493.9 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.756e-05/0.0124, allocations: 79.48 kB / 494 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.01247, allocations: 22.66 kB / 494 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.01262, allocations: 118.4 kB / 494.2 MB, free: 19.8 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01262, allocations: 0 / 494.2 MB, free: 19.8 MB / 426.7 MB Notification: Performance of Templates: time 0.006007/0.01863, allocations: 4.068 MB / 498.2 MB, free: 19.44 MB / 426.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.485630751121789]