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.0009371/0.0009371, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009185/0.0009185, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9139/0.9139, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.842/1.842, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.543e-06/1.543e-06, allocations: 1.094 kB / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.254e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002621/0.002633, allocations: 2.219 MB / 0.7776 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.003406, allocations: 0.6217 MB / 0.7782 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.003496, allocations: 0 / 0.7782 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003612, allocations: 24.44 kB / 0.7782 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.003696, allocations: 48.64 kB / 0.7783 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.003924, allocations: 105.2 kB / 0.7784 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.004151, allocations: 283.2 kB / 0.7786 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.00434, allocations: 98.2 kB / 0.7787 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.004503, allocations: 168.3 kB / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004609, allocations: 103.7 kB / 0.779 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.004644, allocations: 32.62 kB / 0.779 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.004671, allocations: 24 kB / 0.7791 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.004716, allocations: 65.52 kB / 0.7791 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.004776, allocations: 87.75 kB / 0.7792 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.004958, allocations: 203.2 kB / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004959, allocations: 0 / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00496, allocations: 0 / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004964, allocations: 1.062 kB / 0.7794 GB, free: 1.219 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.0005776/0.005541, allocations: 0.5525 MB / 0.7799 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.005573, allocations: 8.75 kB / 0.7799 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.005624, allocations: 40.91 kB / 0.78 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.005797, allocations: 174.2 kB / 0.7802 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005815, allocations: 16.88 kB / 0.7802 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.005842, allocations: 32.36 kB / 0.7802 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.006105, allocations: 286.9 kB / 0.7805 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.006113, allocations: 192 / 0.7805 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.006128, allocations: 8.375 kB / 0.7805 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006135, allocations: 11.88 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.006228, allocations: 51.47 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.00673, allocations: 391.8 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006847, allocations: 74.48 kB / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.006883, allocations: 24.84 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.0069, allocations: 1.406 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.00705, allocations: 132.8 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.007051, allocations: 0.875 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0001882/0.007239, allocations: 127.6 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.007288, allocations: 111.6 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.007403, allocations: 210.2 kB / 0.7816 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.007428, allocations: 42.38 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.007495, allocations: 148.3 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.007522, allocations: 53.42 kB / 0.7818 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.00759, allocations: 73.89 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.007672, allocations: 342.7 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.007746, allocations: 113.4 kB / 0.7823 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.007862, allocations: 233.7 kB / 0.7825 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.00799, allocations: 210.3 kB / 0.7827 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007992, allocations: 0 / 0.7827 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004922/0.008484, allocations: 321.8 kB / 0.783 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.008531, allocations: 93.09 kB / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008536, allocations: 4.938 kB / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.008544, allocations: 0 / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.008675, allocations: 64.77 kB / 0.7832 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008679, allocations: 3.984 kB / 0.7832 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.008797, allocations: 53.69 kB / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.008811, allocations: 11.98 kB / 0.7833 GB, free: 12.91 MB / 0.7448 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.328e-05/0.008895, allocations: 144.8 kB / 0.7834 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.008915, allocations: 16.83 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.009044, allocations: 125.2 kB / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.009046, allocations: 5.844 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.009048, allocations: 0 / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.009053, allocations: 7.969 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.009302, allocations: 306.5 kB / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009303, allocations: 0 / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.009361, allocations: 26.67 kB / 0.7839 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.009363, allocations: 4 kB / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.009374, allocations: 7.984 kB / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009375, allocations: 0 / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009376, allocations: 0 / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.009499, allocations: 204.9 kB / 0.7841 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.009516, allocations: 27.78 kB / 0.7841 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.009543, allocations: 9.75 kB / 0.7841 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.009643, allocations: 31.95 kB / 0.7841 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.009719, allocations: 47.91 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.009734, allocations: 12.88 kB / 0.7842 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.009771, allocations: 50.17 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009771, allocations: 0.8125 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001603/0.009931, allocations: 63.89 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 8.506e-05/0.01002, allocations: 98.16 kB / 0.7844 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01027, allocations: 370.2 kB / 0.7847 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01027, allocations: 5.031 kB / 0.7848 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.01035, allocations: 62.3 kB / 0.7848 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.01052, allocations: 37.66 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.01108, allocations: 382.2 kB / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01112, allocations: 80.27 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.01119, allocations: 24.08 kB / 0.7853 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01132, allocations: 99.34 kB / 0.7854 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01132, allocations: 0 / 0.7854 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.004881/0.0162, allocations: 3.745 MB / 0.7891 GB, free: 6.996 MB / 0.7448 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.748811500146985]