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.001873/0.001873, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.001924/0.001924, allocations: 165.6 kB / 23.53 MB, free: 0.8945 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.017/1.017, allocations: 115 MB / 375.3 MB, free: 7.602 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.663e-06/1.663e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.735e-05, allocations: 7.219 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002972/0.003, allocations: 2.128 MB / 483 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.003901, allocations: 0.5987 MB / 483.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.004004, allocations: 0.6875 kB / 483.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.004123, allocations: 27.36 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.004217, allocations: 45.39 kB / 483.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.004513, allocations: 94.05 kB / 483.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.004876, allocations: 294.6 kB / 484 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.005145, allocations: 97.3 kB / 484.1 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.005412, allocations: 171.8 kB / 484.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.00558, allocations: 100.8 kB / 484.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.00565, allocations: 27.5 kB / 484.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.005713, allocations: 28.56 kB / 484.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.005785, allocations: 62.97 kB / 484.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.005916, allocations: 88.19 kB / 484.6 MB, free: 9.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.006368, allocations: 316.5 kB / 484.9 MB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.006374, allocations: 1.062 kB / 484.9 MB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.006377, allocations: 1.344 kB / 484.9 MB, free: 9.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.006386, allocations: 0.9688 kB / 484.9 MB, free: 9.473 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.001344/0.00773, allocations: 0.6962 MB / 485.6 MB, free: 8.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.007784, allocations: 9.188 kB / 485.6 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.007916, allocations: 51.02 kB / 485.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.008254, allocations: 207.8 kB / 485.9 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.008286, allocations: 19.28 kB / 485.9 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.008335, allocations: 22.47 kB / 485.9 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.008916, allocations: 383.6 kB / 486.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.00893, allocations: 7.984 kB / 486.3 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.008958, allocations: 6.844 kB / 486.3 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.008967, allocations: 5.156 kB / 486.3 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.009472, allocations: 174.3 kB / 486.5 MB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.01044, allocations: 0.607 MB / 487.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.01092, allocations: 173.1 kB / 487.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.01113, allocations: 75.27 kB / 487.3 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.01116, allocations: 2.594 kB / 487.3 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.01154, allocations: 193.8 kB / 487.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.01155, allocations: 0 / 487.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.000825/0.01237, allocations: 304.9 kB / 487.8 MB, free: 7.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.01241, allocations: 108.3 kB / 487.9 MB, free: 7.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.01276, allocations: 307.2 kB / 488.2 MB, free: 23.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.01279, allocations: 42.45 kB / 488.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.01291, allocations: 218.3 kB / 488.5 MB, free: 23.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01295, allocations: 60.48 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.01306, allocations: 92.48 kB / 488.6 MB, free: 22.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.01332, allocations: 0.5137 MB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.01362, allocations: 183.9 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.01397, allocations: 331.3 kB / 489.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.01444, allocations: 303.4 kB / 489.9 MB, free: 21.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01445, allocations: 0 / 489.9 MB, free: 21.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007499/0.0152, allocations: 0.5004 MB / 490.4 MB, free: 21.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.01525, allocations: 92.61 kB / 490.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.01526, allocations: 7.406 kB / 490.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01528, allocations: 2.875 kB / 490.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.0155, allocations: 41.06 kB / 490.6 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.01551, allocations: 11.67 kB / 490.6 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.01577, allocations: 59.28 kB / 490.6 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.0158, allocations: 8.781 kB / 490.6 MB, free: 21.41 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,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,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * 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.0001875/0.01598, allocations: 198 kB / 490.8 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.01603, allocations: 26.72 kB / 490.9 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.01664, allocations: 247.6 kB / 491.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01664, allocations: 1.312 kB / 491.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01664, allocations: 2.188 kB / 491.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01665, allocations: 3.422 kB / 491.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.01756, allocations: 0.5691 MB / 491.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01756, allocations: 5.375 kB / 491.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.01768, allocations: 25.67 kB / 491.7 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01768, allocations: 2.156 kB / 491.7 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.0177, allocations: 8.844 kB / 491.7 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01771, allocations: 2.625 kB / 491.7 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01771, allocations: 0 / 491.7 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.01834, allocations: 388.2 kB / 492.1 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.01837, allocations: 29.98 kB / 492.1 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.01841, allocations: 11.06 kB / 492.1 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.01864, allocations: 30.48 kB / 492.2 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.01877, allocations: 55.27 kB / 492.2 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.01879, allocations: 8.438 kB / 492.2 MB, free: 20.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.01896, allocations: 200.1 kB / 492.4 MB, free: 20.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01896, allocations: 0 / 492.4 MB, free: 20.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000321/0.01928, allocations: 63.55 kB / 492.5 MB, free: 20.29 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.0001481/0.01943, allocations: 116.8 kB / 492.6 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.02023, allocations: 496.3 kB / 493.1 MB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.02024, allocations: 1.812 kB / 493.1 MB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.02055, allocations: 123 kB / 493.2 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.02096, allocations: 39.25 kB / 493.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.02188, allocations: 400.9 kB / 493.6 MB, free: 19.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.02202, allocations: 132.2 kB / 493.8 MB, free: 19.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.02214, allocations: 23.88 kB / 493.8 MB, free: 19.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.02224, allocations: 28.89 kB / 493.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02224, allocations: 0 / 493.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of Templates: time 0.007974/0.03022, allocations: 3.69 MB / 497.5 MB, free: 19.16 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: 5.680256749037653]