Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001023/0.001023, allocations: 80.81 kB / 21.55 MB, free: 2.941 MB / 18.57 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.0009385/0.0009385, allocations: 167 kB / 24.97 MB, free: 8.75 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.9485/0.9485, allocations: 177.1 MB / 205.4 MB, free: 5.16 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.909/1.909, allocations: 389.5 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.212e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002361/0.002374, allocations: 2.211 MB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.003197, allocations: 0.6195 MB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.003296, allocations: 4 kB / 0.7788 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.003401, allocations: 24.33 kB / 0.7788 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.003484, allocations: 46.5 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.003691, allocations: 95.86 kB / 0.779 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.00431, allocations: 295.2 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.004476, allocations: 94.2 kB / 0.7794 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004634, allocations: 174.6 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004735, allocations: 103.7 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.00477, allocations: 28 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.718e-05/0.004797, allocations: 28 kB / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.004841, allocations: 59.75 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.004905, allocations: 83.8 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005098, allocations: 211.1 kB / 0.78 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005101, allocations: 3.984 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005102, allocations: 0.625 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005105, allocations: 0 / 0.78 GB, free: 1.262 MB / 0.7292 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.0005737/0.005679, allocations: 0.5468 MB / 0.7805 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.005715, allocations: 9.656 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.005769, allocations: 40.89 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.005948, allocations: 171.5 kB / 0.7808 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.005968, allocations: 20.88 kB / 0.7808 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.005994, allocations: 28.36 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.006256, allocations: 285 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.006265, allocations: 0.7188 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006281, allocations: 4.375 kB / 0.7811 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006289, allocations: 13.44 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.006368, allocations: 47.47 kB / 0.7811 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.006903, allocations: 395.7 kB / 0.7815 GB, free: 15.62 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007017, allocations: 74.53 kB / 0.7816 GB, free: 15.54 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.007052, allocations: 22.45 kB / 0.7816 GB, free: 15.51 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.007069, allocations: 12.2 kB / 0.7816 GB, free: 15.5 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.007215, allocations: 128.1 kB / 0.7817 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.007217, allocations: 0 / 0.7817 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of matching and sorting (n=20): time 0.0001807/0.007397, allocations: 124.7 kB / 0.7819 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.007437, allocations: 114.8 kB / 0.782 GB, free: 15.1 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.007547, allocations: 214.2 kB / 0.7822 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.007571, allocations: 37.7 kB / 0.7822 GB, free: 14.84 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.007638, allocations: 150.1 kB / 0.7824 GB, free: 14.68 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.007668, allocations: 51.61 kB / 0.7824 GB, free: 14.63 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.007739, allocations: 77.86 kB / 0.7825 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.007814, allocations: 338.7 kB / 0.7828 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.007885, allocations: 114.6 kB / 0.7829 GB, free: 14.08 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.007996, allocations: 225.7 kB / 0.7831 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008126, allocations: 205.7 kB / 0.7833 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008128, allocations: 0 / 0.7833 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002101/0.008338, allocations: 325.6 kB / 0.7836 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.008376, allocations: 93.62 kB / 0.7837 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008381, allocations: 1.781 kB / 0.7837 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008393, allocations: 4 kB / 0.7837 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.008518, allocations: 55.91 kB / 0.7838 GB, free: 13.04 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008523, allocations: 4 kB / 0.7838 GB, free: 13.04 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.008652, allocations: 52.86 kB / 0.7838 GB, free: 12.99 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.008668, allocations: 13.03 kB / 0.7838 GB, free: 12.98 MB / 0.7449 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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 8.745e-05/0.008755, allocations: 149 kB / 0.784 GB, free: 12.82 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.008778, allocations: 15.98 kB / 0.784 GB, free: 12.8 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.008911, allocations: 119.4 kB / 0.7841 GB, free: 12.68 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008915, allocations: 1.031 kB / 0.7841 GB, free: 12.68 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008916, allocations: 0 / 0.7841 GB, free: 12.68 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.008934, allocations: 25.16 kB / 0.7841 GB, free: 12.66 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.00896, allocations: 11.94 kB / 0.7842 GB, free: 12.65 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.009045, allocations: 29 kB / 0.7842 GB, free: 12.62 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.009122, allocations: 47.91 kB / 0.7842 GB, free: 12.57 MB / 0.7449 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001294/0.009251, allocations: 188.2 kB / 0.7844 GB, free: 12.39 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001462/0.009398, allocations: 284.4 kB / 0.7847 GB, free: 12.09 MB / 0.7449 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.688e-05/0.009464, allocations: 52.81 kB / 0.7847 GB, free: 12.04 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.009501, allocations: 54.12 kB / 0.7848 GB, free: 11.98 MB / 0.7449 GB Notification: Performance of Backend: time 1.4e-07/0.009501, allocations: 1.469 kB / 0.7848 GB, free: 11.98 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.009842, allocations: 413.8 kB / 0.7852 GB, free: 11.52 MB / 0.7449 GB Notification: Performance of SimCode: time 0.0009428/0.01079, allocations: 0.883 MB / 0.786 GB, free: 10.59 MB / 0.7449 GB Notification: Performance of Templates: time 0.00545/0.01624, allocations: 4.351 MB / 0.7903 GB, free: 6.438 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.804849871434271]