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.0009068/0.0009068, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0008669/0.0008669, allocations: 165 kB / 24.05 MB, free: 452 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 0.9299/0.9299, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.6595/0.6595, allocations: 115 MB / 376 MB, free: 7.512 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.863e-06/1.863e-06, allocations: 0.6562 kB / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.883e-05, allocations: 4.422 kB / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002636/0.002654, allocations: 2.146 MB / 484.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.003595, allocations: 0.606 MB / 484.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.003725, allocations: 3.031 kB / 484.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.003855, allocations: 23.86 kB / 484.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.00394, allocations: 48.88 kB / 484.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.004188, allocations: 94.64 kB / 485 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.004487, allocations: 292.5 kB / 485.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.004721, allocations: 91.91 kB / 485.3 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.00493, allocations: 172.2 kB / 485.5 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.005058, allocations: 104.6 kB / 485.6 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.005104, allocations: 26.56 kB / 485.6 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.005139, allocations: 28.28 kB / 485.7 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.005184, allocations: 54.69 kB / 485.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.005252, allocations: 90.92 kB / 485.8 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.005463, allocations: 206.1 kB / 486 MB, free: 9.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005466, allocations: 1.219 kB / 486 MB, free: 9.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005467, allocations: 1.25 kB / 486 MB, free: 9.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.005473, allocations: 3.375 kB / 486 MB, free: 9.242 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.0006968/0.00617, allocations: 0.681 MB / 486.7 MB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.006206, allocations: 10.38 kB / 486.7 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.00627, allocations: 45.86 kB / 486.7 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.00644, allocations: 201.9 kB / 486.9 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.006463, allocations: 20.91 kB / 487 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.006492, allocations: 24.47 kB / 487 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.006789, allocations: 294.5 kB / 487.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006797, allocations: 1.25 kB / 487.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.006813, allocations: 11.91 kB / 487.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006819, allocations: 4.75 kB / 487.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.006909, allocations: 57.19 kB / 487.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.007479, allocations: 0.5256 MB / 487.9 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.007618, allocations: 86.62 kB / 488 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.007658, allocations: 28.56 kB / 488 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.007679, allocations: 7.719 kB / 488 MB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.007838, allocations: 136.2 kB / 488.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.007839, allocations: 0 / 488.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002617/0.008101, allocations: 174.7 kB / 488.3 MB, free: 7.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.008135, allocations: 119.6 kB / 488.4 MB, free: 7.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008268, allocations: 261.1 kB / 488.7 MB, free: 7.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.008294, allocations: 39.05 kB / 488.7 MB, free: 7.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.008521, allocations: 210.7 kB / 488.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.008552, allocations: 56.38 kB / 489 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.008629, allocations: 77.02 kB / 489 MB, free: 23.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.008791, allocations: 0.507 MB / 489.5 MB, free: 22.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.008873, allocations: 113.7 kB / 489.7 MB, free: 22.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.008986, allocations: 260.5 kB / 489.9 MB, free: 22.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.009118, allocations: 202.8 kB / 490.1 MB, free: 21.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009121, allocations: 6.531 kB / 490.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003056/0.009426, allocations: 385.4 kB / 490.5 MB, free: 21.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.009469, allocations: 92.98 kB / 490.6 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.009475, allocations: 1.156 kB / 490.6 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.009488, allocations: 3.812 kB / 490.6 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.00962, allocations: 58 kB / 490.6 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009625, allocations: 2.5 kB / 490.6 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.009765, allocations: 57.92 kB / 490.7 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.00978, allocations: 6.625 kB / 490.7 MB, free: 21.57 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 9.769e-05/0.009878, allocations: 184.8 kB / 490.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.009911, allocations: 25.94 kB / 490.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.01011, allocations: 159.4 kB / 491.1 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01011, allocations: 12.81 kB / 491.1 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01011, allocations: 1.375 kB / 491.1 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01012, allocations: 0 / 491.1 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.01049, allocations: 453.4 kB / 491.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0105, allocations: 0 / 491.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.01056, allocations: 22 kB / 491.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01056, allocations: 1.375 kB / 491.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01058, allocations: 12.97 kB / 491.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01058, allocations: 1.25 kB / 491.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01058, allocations: 3.938 kB / 491.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01078, allocations: 300.1 kB / 491.9 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.0108, allocations: 19.73 kB / 491.9 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.01083, allocations: 11.41 kB / 491.9 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01094, allocations: 36.78 kB / 491.9 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.01101, allocations: 46.67 kB / 492 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01103, allocations: 7.5 kB / 492 MB, free: 20.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.0111, allocations: 177.8 kB / 492.2 MB, free: 20.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0111, allocations: 0 / 492.2 MB, free: 20.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.0113, allocations: 59.95 kB / 492.2 MB, free: 20.57 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 8.524e-05/0.01138, allocations: 121.7 kB / 492.3 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.01163, allocations: 372.7 kB / 492.7 MB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01163, allocations: 0 / 492.7 MB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.01171, allocations: 63.84 kB / 492.8 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01195, allocations: 45.62 kB / 492.8 MB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.01254, allocations: 387.2 kB / 493.2 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01258, allocations: 81.58 kB / 493.3 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.01265, allocations: 21.25 kB / 493.3 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01279, allocations: 120.5 kB / 493.4 MB, free: 19.73 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01279, allocations: 0.9688 kB / 493.4 MB, free: 19.73 MB / 426.7 MB Notification: Performance of Templates: time 0.006172/0.01897, allocations: 3.968 MB / 497.4 MB, free: 19.38 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.411755846813321]