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.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.001748/0.001748, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002516/0.002516, allocations: 216 kB / 22.25 MB, free: 4.855 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002625/0.002625, allocations: 281.5 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.302/1.302, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002979/0.002979, allocations: 109.4 kB / 0.74 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1593, allocations: 95.38 MB / 0.8332 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003665/0.163, allocations: 2.048 MB / 0.8352 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.164, allocations: 0.5766 MB / 0.8357 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1641, allocations: 4 kB / 0.8358 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1643, allocations: 23.67 kB / 0.8358 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1644, allocations: 47.58 kB / 0.8358 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1646, allocations: 87.83 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.1649, allocations: 267.3 kB / 0.8362 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.1652, allocations: 79.55 kB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1653, allocations: 111.6 kB / 0.8363 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1655, allocations: 111.4 kB / 0.8364 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.1655, allocations: 24 kB / 0.8365 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.1655, allocations: 28 kB / 0.8365 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1656, allocations: 55.84 kB / 0.8365 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1657, allocations: 95.56 kB / 0.8366 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.1661, allocations: 274.9 kB / 0.8369 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1661, allocations: 0 / 0.8369 GB, free: 3.984 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.001149/0.1672, allocations: 0.5888 MB / 0.8375 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1673, allocations: 12.75 kB / 0.8375 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.1673, allocations: 32.78 kB / 0.8375 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1677, allocations: 194.7 kB / 0.8377 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1677, allocations: 12.75 kB / 0.8377 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.1677, allocations: 24.38 kB / 0.8377 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.1684, allocations: 323 kB / 0.838 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1684, allocations: 4 kB / 0.8381 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1684, allocations: 15.98 kB / 0.8381 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1684, allocations: 4 kB / 0.8381 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.1691, allocations: 187.8 kB / 0.8383 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1701, allocations: 499.7 kB / 0.8387 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/0.171, allocations: 218.4 kB / 0.8389 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.1713, allocations: 84.78 kB / 0.839 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1713, allocations: 0 / 0.839 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.1718, allocations: 193.7 kB / 0.8392 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1718, allocations: 4 kB / 0.8392 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001074/0.1729, allocations: 317.3 kB / 0.8395 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.173, allocations: 122.7 kB / 0.8396 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1732, allocations: 211.1 kB / 0.8398 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.1732, allocations: 37.7 kB / 0.8399 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1734, allocations: 152.4 kB / 0.84 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1734, allocations: 47.67 kB / 0.8401 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1735, allocations: 69.64 kB / 0.8401 GB, free: 492 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1737, allocations: 330.8 kB / 0.8404 GB, free: 152 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.1741, allocations: 193.4 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.1746, allocations: 315.7 kB / 0.8409 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.1753, allocations: 315.6 kB / 0.8412 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1754, allocations: 0 / 0.8412 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001013/0.1764, allocations: 498.6 kB / 0.8417 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.1764, allocations: 101.1 kB / 0.8418 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1765, allocations: 3.938 kB / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1765, allocations: 7.984 kB / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.1767, allocations: 39.95 kB / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.1767, allocations: 11.88 kB / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.177, allocations: 63.72 kB / 0.8419 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.1771, allocations: 16 kB / 0.8419 GB, free: 14.44 MB / 0.5919 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.0001588/0.1772, allocations: 144.5 kB / 0.8421 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1773, allocations: 19.84 kB / 0.8421 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.178, allocations: 264.5 kB / 0.8423 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.178, allocations: 8 kB / 0.8423 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.178, allocations: 3.938 kB / 0.8424 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.178, allocations: 0 / 0.8424 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.179, allocations: 0.4884 MB / 0.8428 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.179, allocations: 0 / 0.8428 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1792, allocations: 31.97 kB / 0.8429 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1792, allocations: 0 / 0.8429 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1792, allocations: 11.92 kB / 0.8429 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.1792, allocations: 8 kB / 0.8429 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1792, allocations: 3.984 kB / 0.8429 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.18, allocations: 343.2 kB / 0.8432 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.18, allocations: 23.77 kB / 0.8432 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.18, allocations: 11.94 kB / 0.8432 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.1803, allocations: 43.94 kB / 0.8433 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1805, allocations: 35.94 kB / 0.8433 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1805, allocations: 11.98 kB / 0.8433 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1806, allocations: 143 kB / 0.8435 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1806, allocations: 0 / 0.8435 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003073/0.1809, allocations: 59.89 kB / 0.8435 GB, free: 12.74 MB / 0.5919 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.0001446/0.1811, allocations: 110.5 kB / 0.8436 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.182, allocations: 0.4913 MB / 0.8441 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1821, allocations: 4 kB / 0.8441 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.1824, allocations: 105.2 kB / 0.8442 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1828, allocations: 35.91 kB / 0.8442 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.1836, allocations: 356.2 kB / 0.8446 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1837, allocations: 125.2 kB / 0.8447 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.81e-05/0.1838, allocations: 21.62 kB / 0.8447 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.1839, allocations: 27.42 kB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1839, allocations: 0 / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.007453/0.1913, allocations: 3.56 MB / 0.8482 GB, free: 7.91 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.335213588550687] Failed to read output from testmodel.py, exit status != 0: 0.19865603186190128 0.214023551 0.044906609 Calling exit ...