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.0007501/0.0007501, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008959/0.0008959, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9853/0.9853, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.001718/0.001718, allocations: 234.3 kB / 260.2 MB, free: 12.81 MB / 250.7 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 0.7015/0.7015, allocations: 138.4 MB / 455.2 MB, free: 1.48 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.2e-05, allocations: 2.312 kB / 0.5552 GB, free: 424 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002553/0.002575, allocations: 2.134 MB / 0.5573 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.003512, allocations: 0.5808 MB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.003634, allocations: 3.938 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003763, allocations: 27.73 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.762e-05/0.003851, allocations: 39.59 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.004119, allocations: 91.81 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.004382, allocations: 267.3 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.004595, allocations: 91.5 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004761, allocations: 151.7 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.004872, allocations: 95.67 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.004913, allocations: 32 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.004942, allocations: 24 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.004992, allocations: 55.81 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.005069, allocations: 75.81 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.005306, allocations: 191.3 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.005308, allocations: 0 / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005308, allocations: 0 / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.005314, allocations: 0 / 0.5589 GB, free: 12.55 MB / 490.7 MB 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.0008251/0.006139, allocations: 0.6573 MB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.006189, allocations: 16.69 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.006282, allocations: 40.8 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.006527, allocations: 208.1 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.006555, allocations: 16.73 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.006585, allocations: 24.38 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.006943, allocations: 278.9 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.006953, allocations: 192 / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.006974, allocations: 12.38 kB / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006985, allocations: 11.94 kB / 0.5602 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.007106, allocations: 63.08 kB / 0.5602 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.007801, allocations: 0.5264 MB / 0.5607 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.008061, allocations: 111.1 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.008116, allocations: 27.67 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.008137, allocations: 8 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.008323, allocations: 132.9 kB / 0.561 GB, free: 10.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.963e-06/0.008325, allocations: 0 / 0.561 GB, free: 10.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000323/0.008648, allocations: 180.8 kB / 0.5612 GB, free: 10.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.008703, allocations: 110.8 kB / 0.5613 GB, free: 9.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.008852, allocations: 253.5 kB / 0.5615 GB, free: 9.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.008878, allocations: 37.69 kB / 0.5616 GB, free: 9.641 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.008978, allocations: 211.1 kB / 0.5618 GB, free: 9.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.00901, allocations: 43.64 kB / 0.5618 GB, free: 9.387 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.009087, allocations: 71.34 kB / 0.5619 GB, free: 9.309 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.009219, allocations: 0.504 MB / 0.5624 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.009337, allocations: 125.3 kB / 0.5625 GB, free: 8.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.009491, allocations: 258.5 kB / 0.5627 GB, free: 8.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.009662, allocations: 216 kB / 0.5629 GB, free: 8.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.009665, allocations: 4 kB / 0.5629 GB, free: 8.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003419/0.01001, allocations: 390.6 kB / 0.5633 GB, free: 7.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.01006, allocations: 89.11 kB / 0.5634 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01007, allocations: 7.922 kB / 0.5634 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01008, allocations: 4 kB / 0.5634 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01021, allocations: 47.91 kB / 0.5634 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01021, allocations: 0 / 0.5634 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.01034, allocations: 51.81 kB / 0.5635 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01036, allocations: 12.16 kB / 0.5635 GB, free: 7.422 MB / 490.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: 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.0001132/0.01047, allocations: 190.4 kB / 0.5637 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.0105, allocations: 23.91 kB / 0.5637 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.01072, allocations: 155.3 kB / 0.5639 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01072, allocations: 4 kB / 0.5639 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01072, allocations: 0 / 0.5639 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01073, allocations: 7.922 kB / 0.5639 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.01107, allocations: 453.1 kB / 0.5643 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01107, allocations: 4 kB / 0.5643 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.01113, allocations: 27.97 kB / 0.5643 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01113, allocations: 0 / 0.5643 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01114, allocations: 4 kB / 0.5643 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01115, allocations: 0 / 0.5643 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01115, allocations: 3.938 kB / 0.5643 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.01141, allocations: 310.4 kB / 0.5646 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.01143, allocations: 15.86 kB / 0.5647 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.01146, allocations: 8 kB / 0.5647 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01157, allocations: 31.95 kB / 0.5647 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.01167, allocations: 47.92 kB / 0.5647 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.01169, allocations: 7.938 kB / 0.5647 GB, free: 6.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.01178, allocations: 176.1 kB / 0.5649 GB, free: 5.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 0.5649 GB, free: 5.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.01199, allocations: 55.89 kB / 0.565 GB, free: 5.852 MB / 490.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: 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.0001009/0.01209, allocations: 115.2 kB / 0.5651 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.01245, allocations: 378.4 kB / 0.5654 GB, free: 5.305 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01245, allocations: 4.062 kB / 0.5654 GB, free: 5.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.01254, allocations: 63.59 kB / 0.5655 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.01279, allocations: 39.78 kB / 0.5655 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.01352, allocations: 372.3 kB / 0.5659 GB, free: 4.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.01358, allocations: 79.92 kB / 0.566 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.01364, allocations: 21.64 kB / 0.566 GB, free: 4.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.01371, allocations: 32.42 kB / 0.566 GB, free: 4.66 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01371, allocations: 0 / 0.566 GB, free: 4.66 MB / 490.7 MB Notification: Performance of Templates: time 0.005501/0.01921, allocations: 3.626 MB / 0.5696 GB, free: 1.113 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.676561198197305]