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.001804/0.001804, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.002309/0.002309, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 0.9857/0.9857, allocations: 115 MB / 375.3 MB, free: 7.57 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 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.797e-05, allocations: 3.078 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002969/0.002997, allocations: 2.093 MB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.00407, allocations: 0.5855 MB / 483.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.004239, allocations: 2.094 kB / 483.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.004385, allocations: 28.16 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.004507, allocations: 44.91 kB / 483.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.004777, allocations: 103.8 kB / 483.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.005091, allocations: 285.3 kB / 484 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.005307, allocations: 96.33 kB / 484.1 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.005532, allocations: 162.7 kB / 484.2 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.005672, allocations: 103.1 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.005734, allocations: 29.34 kB / 484.4 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.00578, allocations: 28.25 kB / 484.4 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.005842, allocations: 64.16 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.005949, allocations: 89.28 kB / 484.5 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.006273, allocations: 318.3 kB / 484.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006276, allocations: 0 / 484.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006277, allocations: 0.625 kB / 484.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.006287, allocations: 2.031 kB / 484.9 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.001218/0.007505, allocations: 0.597 MB / 485.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.007545, allocations: 14.12 kB / 485.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.007675, allocations: 47.02 kB / 485.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.008078, allocations: 213.2 kB / 485.7 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.008108, allocations: 19.59 kB / 485.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.008151, allocations: 21.59 kB / 485.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.008813, allocations: 375.2 kB / 486.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.008825, allocations: 1.781 kB / 486.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.008854, allocations: 10.5 kB / 486.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.008863, allocations: 8.875 kB / 486.1 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.009563, allocations: 205.1 kB / 486.3 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01077, allocations: 0.5237 MB / 486.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.01143, allocations: 197.9 kB / 487.1 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.01175, allocations: 87.55 kB / 487.1 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.01178, allocations: 3.969 kB / 487.2 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.01225, allocations: 203.1 kB / 487.4 MB, free: 7.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.01225, allocations: 2.031 kB / 487.4 MB, free: 7.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001142/0.0134, allocations: 355.2 kB / 487.7 MB, free: 7.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.01344, allocations: 114.5 kB / 487.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01363, allocations: 213.2 kB / 488 MB, free: 7.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.01367, allocations: 39.45 kB / 488.1 MB, free: 7.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.01376, allocations: 168.8 kB / 488.2 MB, free: 7.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.0138, allocations: 52.33 kB / 488.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01391, allocations: 78.84 kB / 488.4 MB, free: 7.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.01415, allocations: 331.4 kB / 488.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.01455, allocations: 200.2 kB / 488.9 MB, free: 22.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.01501, allocations: 324 kB / 489.2 MB, free: 22.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.01571, allocations: 315.9 kB / 489.5 MB, free: 22.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01571, allocations: 1.562 kB / 489.5 MB, free: 22.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001038/0.01675, allocations: 0.5174 MB / 490 MB, free: 22.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.01683, allocations: 91.58 kB / 490.1 MB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.01684, allocations: 5.375 kB / 490.1 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.01687, allocations: 4.438 kB / 490.1 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.01712, allocations: 48.08 kB / 490.2 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.01713, allocations: 13.5 kB / 490.2 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.01748, allocations: 64.27 kB / 490.2 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.01751, allocations: 16.42 kB / 490.3 MB, free: 21.98 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.0002083/0.01772, allocations: 152.3 kB / 490.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.01778, allocations: 24.55 kB / 490.4 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.01859, allocations: 283.1 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.0186, allocations: 2.031 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.0186, allocations: 0 / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01861, allocations: 4 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.01996, allocations: 0.5209 MB / 491.2 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.01996, allocations: 5.656 kB / 491.2 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.02013, allocations: 29.53 kB / 491.3 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.02013, allocations: 1.656 kB / 491.3 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02015, allocations: 9.656 kB / 491.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.02016, allocations: 0 / 491.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02016, allocations: 2.469 kB / 491.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.02098, allocations: 370 kB / 491.6 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.02102, allocations: 26.64 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.02107, allocations: 6.938 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.02139, allocations: 47.48 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.02153, allocations: 45.17 kB / 491.8 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.02156, allocations: 12.62 kB / 491.8 MB, free: 21.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.02171, allocations: 152.8 kB / 491.9 MB, free: 21.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02171, allocations: 0 / 491.9 MB, free: 21.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.02209, allocations: 58.3 kB / 492 MB, free: 21.08 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.0001745/0.02226, allocations: 114.7 kB / 492.1 MB, free: 20.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.02327, allocations: 0.499 MB / 492.6 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02328, allocations: 1.062 kB / 492.6 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.02366, allocations: 111.6 kB / 492.7 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.0241, allocations: 44.16 kB / 492.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008956/0.025, allocations: 394.3 kB / 493.1 MB, free: 20.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02512, allocations: 131.6 kB / 493.3 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.02524, allocations: 28.12 kB / 493.3 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02536, allocations: 32.36 kB / 493.3 MB, free: 20.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02536, allocations: 2.219 kB / 493.3 MB, free: 20.25 MB / 426.7 MB Notification: Performance of Templates: time 0.00921/0.03457, allocations: 3.675 MB / 497 MB, free: 19.98 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589974240050651]