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.001137/0.001137, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001027/0.001027, allocations: 169 kB / 23.8 MB, free: 0.7695 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.053/1.053, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.7098/0.7098, allocations: 115 MB / 375.7 MB, free: 7.59 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 2.444e-06/2.444e-06, allocations: 0 / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.603e-05, allocations: 2.312 kB / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004085/0.004121, allocations: 2.172 MB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.005482, allocations: 0.6045 MB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.005651, allocations: 2.281 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.005836, allocations: 23.73 kB / 484.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.005968, allocations: 51.09 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.006366, allocations: 93.78 kB / 484.5 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.006824, allocations: 290.8 kB / 484.8 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.00721, allocations: 91.56 kB / 484.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.007535, allocations: 170 kB / 485.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.007743, allocations: 98.42 kB / 485.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.737e-05/0.007821, allocations: 28.94 kB / 485.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.007882, allocations: 27.94 kB / 485.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.00796, allocations: 67.67 kB / 485.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.008092, allocations: 83.81 kB / 485.4 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.008407, allocations: 218.4 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00841, allocations: 0 / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00841, allocations: 0.5625 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.008418, allocations: 1.25 kB / 485.6 MB, free: 9.465 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.0008978/0.009316, allocations: 0.6831 MB / 486.3 MB, free: 8.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.009366, allocations: 13.44 kB / 486.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.009475, allocations: 47.86 kB / 486.3 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.00978, allocations: 208.9 kB / 486.5 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.009815, allocations: 16.25 kB / 486.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.009856, allocations: 26.56 kB / 486.6 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.01029, allocations: 344.7 kB / 486.9 MB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01031, allocations: 1.406 kB / 486.9 MB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.01033, allocations: 5.469 kB / 486.9 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01034, allocations: 6.281 kB / 486.9 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01051, allocations: 69.61 kB / 487 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.01133, allocations: 0.5607 MB / 487.5 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.01153, allocations: 92.78 kB / 487.6 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.0116, allocations: 36.77 kB / 487.7 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.01164, allocations: 4.75 kB / 487.7 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.01188, allocations: 149.1 kB / 487.8 MB, free: 7.879 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.01188, allocations: 0.6562 kB / 487.8 MB, free: 7.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00042/0.0123, allocations: 190.9 kB / 488 MB, free: 7.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.01236, allocations: 119.7 kB / 488.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01253, allocations: 263.3 kB / 488.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01256, allocations: 36.45 kB / 488.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.01289, allocations: 211.1 kB / 488.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.01293, allocations: 57.69 kB / 488.7 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01305, allocations: 74.8 kB / 488.8 MB, free: 23.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01321, allocations: 0.5036 MB / 489.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01334, allocations: 127.8 kB / 489.4 MB, free: 22.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01351, allocations: 266.3 kB / 489.6 MB, free: 22.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.01372, allocations: 213.5 kB / 489.8 MB, free: 22.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01372, allocations: 0 / 489.8 MB, free: 22.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004314/0.01416, allocations: 409.9 kB / 490.2 MB, free: 21.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.01421, allocations: 93.48 kB / 490.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01422, allocations: 5.312 kB / 490.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.01425, allocations: 2.844 kB / 490.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01442, allocations: 49.47 kB / 490.4 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.01444, allocations: 8.047 kB / 490.4 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.01458, allocations: 56.52 kB / 490.5 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.0146, allocations: 12.88 kB / 490.5 MB, free: 21.66 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.000128/0.01473, allocations: 180.2 kB / 490.6 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01477, allocations: 29.64 kB / 490.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.01506, allocations: 175.4 kB / 490.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01506, allocations: 1.375 kB / 490.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.01507, allocations: 1.438 kB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01508, allocations: 3.188 kB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.01556, allocations: 492.2 kB / 491.3 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01556, allocations: 3.938 kB / 491.3 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.01563, allocations: 23.48 kB / 491.4 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.01564, allocations: 4.375 kB / 491.4 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01565, allocations: 1.156 kB / 491.4 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01565, allocations: 2.219 kB / 491.4 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01565, allocations: 3.375 kB / 491.4 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01595, allocations: 315.5 kB / 491.7 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.01597, allocations: 21.36 kB / 491.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.016, allocations: 10.3 kB / 491.7 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01612, allocations: 39.16 kB / 491.7 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.01623, allocations: 48 kB / 491.8 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.01625, allocations: 9.016 kB / 491.8 MB, free: 20.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01636, allocations: 176.7 kB / 492 MB, free: 20.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01636, allocations: 0 / 492 MB, free: 20.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.0166, allocations: 68.39 kB / 492 MB, free: 20.62 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.0001379/0.01673, allocations: 111.6 kB / 492.2 MB, free: 20.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.01715, allocations: 388.3 kB / 492.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01715, allocations: 0 / 492.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01727, allocations: 65.53 kB / 492.6 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01756, allocations: 44.78 kB / 492.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.01845, allocations: 386 kB / 493 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.01851, allocations: 80.66 kB / 493.1 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.01859, allocations: 24.36 kB / 493.1 MB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.01867, allocations: 32.28 kB / 493.2 MB, free: 19.83 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01867, allocations: 0 / 493.2 MB, free: 19.83 MB / 426.7 MB Notification: Performance of Templates: time 0.007485/0.02616, allocations: 3.695 MB / 496.8 MB, free: 19.57 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: 4.29565583076328]