Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 192.4 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 287.1 kB / 306.4 MB, free: 8.477 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.277/1.277, allocations: 180.9 MB / 0.5298 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 103.1 kB / 0.7306 GB, free: 38.99 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1571, allocations: 94.16 MB / 0.8226 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003554/0.1606, allocations: 2.107 MB / 0.8246 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1617, allocations: 0.5689 MB / 0.8252 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1618, allocations: 4 kB / 0.8252 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1619, allocations: 23.67 kB / 0.8252 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.162, allocations: 35.66 kB / 0.8252 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1623, allocations: 99.81 kB / 0.8253 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1626, allocations: 267.3 kB / 0.8256 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.1628, allocations: 94.62 kB / 0.8257 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.163, allocations: 107.6 kB / 0.8258 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1632, allocations: 127.4 kB / 0.8259 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1632, allocations: 28 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.1632, allocations: 28 kB / 0.826 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1633, allocations: 55.83 kB / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1634, allocations: 115.4 kB / 0.8261 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.1638, allocations: 274.9 kB / 0.8264 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1638, allocations: 4 kB / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1638, allocations: 0 / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1638, allocations: 0 / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001249/0.165, allocations: 0.6447 MB / 0.827 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1651, allocations: 8.031 kB / 0.827 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.1652, allocations: 32.75 kB / 0.827 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1655, allocations: 253.1 kB / 0.8273 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.1655, allocations: 12.75 kB / 0.8273 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1656, allocations: 24.36 kB / 0.8273 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1662, allocations: 270.5 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1662, allocations: 4 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.1663, allocations: 8 kB / 0.8276 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1663, allocations: 7.938 kB / 0.8276 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.167, allocations: 191.8 kB / 0.8278 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1682, allocations: 0.617 MB / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.169, allocations: 214.5 kB / 0.8286 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.1694, allocations: 80.78 kB / 0.8287 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1694, allocations: 4 kB / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.1699, allocations: 191.1 kB / 0.8289 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.1699, allocations: 0 / 0.8289 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001157/0.171, allocations: 339.6 kB / 0.8292 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.1711, allocations: 106.8 kB / 0.8293 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1713, allocations: 199.4 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.1714, allocations: 33.7 kB / 0.8295 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1715, allocations: 160.3 kB / 0.8297 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1715, allocations: 55.62 kB / 0.8297 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1717, allocations: 61.64 kB / 0.8298 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1718, allocations: 338.8 kB / 0.8301 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.1722, allocations: 108.2 kB / 0.8302 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.1726, allocations: 175.8 kB / 0.8304 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.1734, allocations: 303.7 kB / 0.8307 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1734, allocations: 0 / 0.8307 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009915/0.1744, allocations: 428.6 kB / 0.8311 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.1744, allocations: 97.09 kB / 0.8312 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1744, allocations: 0 / 0.8312 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1744, allocations: 7.938 kB / 0.8312 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1747, allocations: 44.06 kB / 0.8312 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1747, allocations: 11.98 kB / 0.8312 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.175, allocations: 51.84 kB / 0.8313 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.1751, allocations: 8 kB / 0.8313 GB, free: 9.098 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.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,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 (31): * Single equations (assignments): 28 * 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.0001585/0.1752, allocations: 152 kB / 0.8314 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.1753, allocations: 19.86 kB / 0.8314 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.1761, allocations: 263.2 kB / 0.8317 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1761, allocations: 11.88 kB / 0.8317 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1761, allocations: 0 / 0.8317 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1761, allocations: 0 / 0.8317 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1771, allocations: 0.5747 MB / 0.8323 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1772, allocations: 0 / 0.8323 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.1773, allocations: 43.83 kB / 0.8323 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1773, allocations: 0 / 0.8323 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1774, allocations: 4 kB / 0.8323 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1774, allocations: 4 kB / 0.8323 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1774, allocations: 0 / 0.8323 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.1781, allocations: 339.2 kB / 0.8326 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1782, allocations: 100.9 kB / 0.8327 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.1783, allocations: 8 kB / 0.8327 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.1786, allocations: 35.95 kB / 0.8328 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1787, allocations: 47.94 kB / 0.8328 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1787, allocations: 7.984 kB / 0.8328 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001294/0.1788, allocations: 144.2 kB / 0.833 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1788, allocations: 0 / 0.833 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003142/0.1792, allocations: 63.78 kB / 0.833 GB, free: 7.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($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) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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.0001483/0.1793, allocations: 111.5 kB / 0.8331 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.1802, allocations: 418.7 kB / 0.8335 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1802, allocations: 0 / 0.8335 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.1806, allocations: 102.9 kB / 0.8336 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.181, allocations: 50.78 kB / 0.8337 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.1818, allocations: 371.9 kB / 0.834 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1822, allocations: 0.7359 MB / 0.8347 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.397e-05/0.1823, allocations: 17.55 kB / 0.8348 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.1824, allocations: 23.44 kB / 0.8348 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1824, allocations: 0 / 0.8348 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of Templates: time 0.007029/0.1894, allocations: 3.241 MB / 0.838 GB, free: 2.102 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1029056697152555] Failed to read output from testmodel.py, exit status != 0: 0.19651252310723066 0.21090769 0.044212129 Calling exit ...