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.001362/0.001362, allocations: 75.59 kB / 20.51 MB, free: 1.281 MB / 14.72 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.001497/0.001497, allocations: 168.9 kB / 23.77 MB, free: 4.461 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 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.9277/0.9277, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.59 kB / 0.5551 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 89.14 MB / 0.6421 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003647/0.1701, allocations: 2.083 MB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1712, allocations: 0.5883 MB / 0.6447 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.1713, allocations: 0 / 0.6447 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1714, allocations: 23.67 kB / 0.6448 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1715, allocations: 47.59 kB / 0.6448 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1718, allocations: 107.8 kB / 0.6449 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.1721, allocations: 275.4 kB / 0.6452 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1723, allocations: 98.58 kB / 0.6453 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1725, allocations: 123.6 kB / 0.6454 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1727, allocations: 115.4 kB / 0.6455 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.1727, allocations: 32 kB / 0.6455 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.1728, allocations: 28 kB / 0.6456 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.1728, allocations: 63.72 kB / 0.6456 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.173, allocations: 103.5 kB / 0.6457 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1733, allocations: 302.8 kB / 0.646 GB, free: 5.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1733, allocations: 0 / 0.646 GB, free: 5.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1733, allocations: 0 / 0.646 GB, free: 5.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.1733, allocations: 4 kB / 0.646 GB, free: 5.5 MB / 0.545 GB 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.001201/0.1745, allocations: 0.5967 MB / 0.6466 GB, free: 4.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1746, allocations: 12.03 kB / 0.6466 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.1746, allocations: 32.8 kB / 0.6466 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.175, allocations: 207.6 kB / 0.6468 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.175, allocations: 20.62 kB / 0.6469 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1751, allocations: 24 kB / 0.6469 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.1758, allocations: 369.4 kB / 0.6472 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1758, allocations: 0 / 0.6472 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1758, allocations: 12 kB / 0.6472 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1758, allocations: 4 kB / 0.6472 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.1766, allocations: 209.8 kB / 0.6474 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1777, allocations: 0.5219 MB / 0.648 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.1784, allocations: 190.4 kB / 0.6481 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.1788, allocations: 92.77 kB / 0.6482 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1788, allocations: 4 kB / 0.6482 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.1793, allocations: 205.7 kB / 0.6484 GB, free: 2.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1793, allocations: 0 / 0.6484 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.00116/0.1805, allocations: 345.2 kB / 0.6488 GB, free: 2.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.1806, allocations: 106.8 kB / 0.6489 GB, free: 2.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1808, allocations: 223.2 kB / 0.6491 GB, free: 2.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.1808, allocations: 41.64 kB / 0.6491 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.181, allocations: 168.3 kB / 0.6493 GB, free: 1.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.181, allocations: 63.55 kB / 0.6493 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1811, allocations: 69.92 kB / 0.6494 GB, free: 1.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1813, allocations: 334.8 kB / 0.6497 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.1817, allocations: 197.3 kB / 0.6499 GB, free: 1.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.1823, allocations: 316 kB / 0.6502 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.183, allocations: 314.5 kB / 0.6505 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.183, allocations: 4 kB / 0.6505 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001046/0.184, allocations: 0.5123 MB / 0.651 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.1841, allocations: 94.61 kB / 0.6511 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1841, allocations: 0 / 0.6511 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1841, allocations: 8.156 kB / 0.6511 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1844, allocations: 47.88 kB / 0.6512 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1844, allocations: 7.984 kB / 0.6512 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.1848, allocations: 63.78 kB / 0.6512 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1848, allocations: 15.94 kB / 0.6512 GB, free: 15.75 MB / 0.5606 GB 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.0001667/0.185, allocations: 148 kB / 0.6514 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.185, allocations: 27.78 kB / 0.6514 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.1858, allocations: 273.5 kB / 0.6517 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1858, allocations: 0 / 0.6517 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1858, allocations: 4 kB / 0.6517 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1858, allocations: 4 kB / 0.6517 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.187, allocations: 0.529 MB / 0.6522 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.187, allocations: 0 / 0.6522 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1872, allocations: 35.95 kB / 0.6522 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1872, allocations: 4 kB / 0.6522 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1872, allocations: 0 / 0.6522 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1872, allocations: 4 kB / 0.6522 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1872, allocations: 3.984 kB / 0.6522 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.188, allocations: 360.4 kB / 0.6526 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.188, allocations: 19.86 kB / 0.6526 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1881, allocations: 15.98 kB / 0.6526 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.1884, allocations: 43.94 kB / 0.6527 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.1886, allocations: 47.92 kB / 0.6527 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.1886, allocations: 7.984 kB / 0.6527 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001352/0.1887, allocations: 148.5 kB / 0.6528 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1887, allocations: 0 / 0.6528 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003287/0.189, allocations: 63.89 kB / 0.6529 GB, free: 13.97 MB / 0.5606 GB 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.0001515/0.1892, allocations: 111.2 kB / 0.653 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.1902, allocations: 0.4958 MB / 0.6535 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1902, allocations: 4.062 kB / 0.6535 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.1906, allocations: 114.1 kB / 0.6536 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.191, allocations: 39.8 kB / 0.6537 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.1919, allocations: 392.6 kB / 0.654 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.192, allocations: 134.2 kB / 0.6542 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.1921, allocations: 21.94 kB / 0.6542 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.1922, allocations: 32.48 kB / 0.6542 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1922, allocations: 0 / 0.6542 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.008534/0.2008, allocations: 3.666 MB / 0.6578 GB, free: 8.914 MB / 0.5606 GB " [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 -s ida -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.488238038029522] Failed to read output from testmodel.py, exit status != 0: 0.20947049802634865 0.22318597699999995 0.04687079399999994 Calling exit ...