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.001748/0.001748, allocations: 115.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.00231/0.00231, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.416/1.416, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.002533/0.002533, allocations: 289.7 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.223/1.223, 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.002802/0.002802, allocations: 111.6 kB / 0.7306 GB, free: 39.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1574, allocations: 94.15 MB / 0.8226 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003794/0.1612, allocations: 2.113 MB / 0.8246 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1624, allocations: 0.5611 MB / 0.8252 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1625, allocations: 4 kB / 0.8252 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1627, allocations: 23.67 kB / 0.8252 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1628, allocations: 43.66 kB / 0.8252 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1632, allocations: 95.81 kB / 0.8253 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1635, allocations: 259.4 kB / 0.8256 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1638, allocations: 94.67 kB / 0.8257 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.164, allocations: 119.5 kB / 0.8258 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1642, allocations: 111.5 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.1642, allocations: 24 kB / 0.8259 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.1643, allocations: 28 kB / 0.8259 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1643, allocations: 59.81 kB / 0.826 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1644, allocations: 119.4 kB / 0.8261 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.1648, allocations: 278.9 kB / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1648, allocations: 0 / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1648, allocations: 0 / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.1649, allocations: 0 / 0.8264 GB, free: 14.49 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.001435/0.1663, allocations: 0.6369 MB / 0.827 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1663, allocations: 12.03 kB / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1664, allocations: 32.75 kB / 0.827 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.1669, allocations: 253 kB / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1669, allocations: 16.75 kB / 0.8273 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.167, allocations: 20.38 kB / 0.8273 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.1677, allocations: 274.5 kB / 0.8276 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1677, allocations: 0 / 0.8276 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.1677, allocations: 15.94 kB / 0.8276 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1677, allocations: 7.984 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.1685, allocations: 187.8 kB / 0.8278 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1698, allocations: 0.621 MB / 0.8284 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.1707, allocations: 214.4 kB / 0.8286 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.171, allocations: 88.78 kB / 0.8287 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.171, allocations: 0 / 0.8287 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.1715, allocations: 183.1 kB / 0.8288 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/0.1715, allocations: 0 / 0.8288 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001171/0.1727, allocations: 343.4 kB / 0.8292 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.1728, allocations: 110.8 kB / 0.8293 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.173, allocations: 199.4 kB / 0.8295 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.173, allocations: 41.7 kB / 0.8295 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1732, allocations: 156.3 kB / 0.8297 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.1732, allocations: 47.64 kB / 0.8297 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1733, allocations: 65.69 kB / 0.8298 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1735, allocations: 330.8 kB / 0.8301 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.1739, allocations: 104.2 kB / 0.8302 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.1744, allocations: 183.8 kB / 0.8304 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.1751, allocations: 301.6 kB / 0.8306 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1751, allocations: 3.938 kB / 0.8306 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001011/0.1761, allocations: 435.9 kB / 0.8311 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.1762, allocations: 85.11 kB / 0.8311 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1762, allocations: 0 / 0.8311 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1762, allocations: 12.09 kB / 0.8312 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1765, allocations: 43.95 kB / 0.8312 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1765, allocations: 7.938 kB / 0.8312 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.1769, allocations: 59.77 kB / 0.8313 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1769, allocations: 12 kB / 0.8313 GB, free: 9.109 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.0001724/0.1771, allocations: 144 kB / 0.8314 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1771, allocations: 27.84 kB / 0.8314 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008285/0.1779, allocations: 261.7 kB / 0.8317 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1779, allocations: 7.938 kB / 0.8317 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1779, allocations: 0 / 0.8317 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1779, allocations: 4 kB / 0.8317 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.179, allocations: 0.5724 MB / 0.8323 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.179, allocations: 0 / 0.8323 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1792, allocations: 31.91 kB / 0.8323 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1792, allocations: 4 kB / 0.8323 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1792, allocations: 7.984 kB / 0.8323 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1792, allocations: 0 / 0.8323 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1792, allocations: 4 kB / 0.8323 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.18, allocations: 343.1 kB / 0.8326 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.1801, allocations: 100.9 kB / 0.8327 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.1801, allocations: 15.92 kB / 0.8327 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.1804, allocations: 35.95 kB / 0.8328 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.1806, allocations: 43.94 kB / 0.8328 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1806, allocations: 11.98 kB / 0.8328 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001261/0.1807, allocations: 140.2 kB / 0.833 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1807, allocations: 4 kB / 0.833 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003269/0.181, allocations: 63.83 kB / 0.833 GB, free: 7.203 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.0001545/0.1812, allocations: 111.5 kB / 0.8331 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.1822, allocations: 409.4 kB / 0.8335 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1822, allocations: 0 / 0.8335 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.1826, allocations: 111.8 kB / 0.8336 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1829, allocations: 33.39 kB / 0.8337 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008723/0.1838, allocations: 371.9 kB / 0.834 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1842, allocations: 0.7359 MB / 0.8347 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.641e-05/0.1843, allocations: 17.55 kB / 0.8348 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.1844, allocations: 27.44 kB / 0.8348 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.1844, allocations: 0 / 0.8348 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.007552/0.1919, allocations: 3.246 MB / 0.838 GB, free: 2.125 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9292030283249915] Failed to read output from testmodel.py, exit status != 0: 0.19927331106737256 0.21490694799999996 0.04689697299999994 Calling exit ...