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.0006604/0.0006604, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008436/0.001504, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007434/0.0007434, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001606, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8878/0.8878, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07271/0.9605, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.848/1.848, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4673/2.315, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 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 2.184e-06/2.184e-06, allocations: 3.984 kB / 0.7445 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.799e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002614/0.002632, allocations: 2.221 MB / 0.7467 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.00338, allocations: 0.6069 MB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.003466, allocations: 4 kB / 0.7473 GB, free: 452 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.788e-05/0.003534, allocations: 28.55 kB / 0.7473 GB, free: 424 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.003612, allocations: 48.17 kB / 0.7474 GB, free: 392 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.003773, allocations: 103.7 kB / 0.7475 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.00401, allocations: 280.6 kB / 0.7477 GB, free: 8 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.004189, allocations: 94.25 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.004383, allocations: 203.5 kB / 0.748 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004487, allocations: 95.72 kB / 0.7481 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.004524, allocations: 29.78 kB / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.004551, allocations: 28 kB / 0.7482 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.004591, allocations: 43.81 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.004651, allocations: 59.88 kB / 0.7483 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004841, allocations: 184.4 kB / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.004856, allocations: 0 / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004857, allocations: 0 / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.004872, allocations: 0 / 0.7485 GB, free: 15.29 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.0006969/0.005569, allocations: 0.6012 MB / 0.749 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.005596, allocations: 12.03 kB / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.005652, allocations: 38.39 kB / 0.7491 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.005841, allocations: 174.2 kB / 0.7493 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.005864, allocations: 20.88 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.00589, allocations: 25.14 kB / 0.7493 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.006164, allocations: 284.7 kB / 0.7496 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.006174, allocations: 1.375 kB / 0.7496 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.006189, allocations: 8.375 kB / 0.7496 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006196, allocations: 7.938 kB / 0.7496 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.006276, allocations: 51.47 kB / 0.7496 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.0068, allocations: 392.4 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006917, allocations: 75.44 kB / 0.7501 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.006953, allocations: 28.84 kB / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.006974, allocations: 11.72 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.007134, allocations: 121.3 kB / 0.7502 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.007136, allocations: 4 kB / 0.7502 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0001848/0.007321, allocations: 121.6 kB / 0.7504 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.007357, allocations: 63.33 kB / 0.7504 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.00747, allocations: 210.2 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.007495, allocations: 37.7 kB / 0.7507 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.007563, allocations: 152.5 kB / 0.7508 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.007594, allocations: 62.69 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.007661, allocations: 69.89 kB / 0.7509 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.007739, allocations: 342.7 kB / 0.7513 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.00781, allocations: 109.4 kB / 0.7514 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.00792, allocations: 232.1 kB / 0.7516 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.00805, allocations: 210.4 kB / 0.7518 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008052, allocations: 0 / 0.7518 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002144/0.008267, allocations: 328.4 kB / 0.7521 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.008316, allocations: 93.09 kB / 0.7522 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008321, allocations: 0 / 0.7522 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.00833, allocations: 4 kB / 0.7522 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.008462, allocations: 59.59 kB / 0.7522 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.008467, allocations: 0 / 0.7522 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.008593, allocations: 59.73 kB / 0.7523 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.008608, allocations: 12 kB / 0.7523 GB, free: 10.99 MB / 0.7292 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.638e-05/0.008694, allocations: 135.9 kB / 0.7524 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.00872, allocations: 25.75 kB / 0.7525 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.008857, allocations: 116.8 kB / 0.7526 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00886, allocations: 0 / 0.7526 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008862, allocations: 0 / 0.7526 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008867, allocations: 1 kB / 0.7526 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.009124, allocations: 316.2 kB / 0.7529 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009126, allocations: 0 / 0.7529 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.009188, allocations: 28.53 kB / 0.7529 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.009203, allocations: 19.66 kB / 0.7529 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.009204, allocations: 0 / 0.7529 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.009215, allocations: 7.984 kB / 0.7529 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.009216, allocations: 3.938 kB / 0.7529 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.009219, allocations: 3.938 kB / 0.7529 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.009352, allocations: 208.5 kB / 0.7531 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.009378, allocations: 8 kB / 0.7531 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.009481, allocations: 31.97 kB / 0.7532 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.009556, allocations: 50.69 kB / 0.7532 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.009572, allocations: 15.86 kB / 0.7532 GB, free: 10 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.009611, allocations: 53.97 kB / 0.7533 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009611, allocations: 0 / 0.7533 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001726/0.009784, allocations: 67.88 kB / 0.7534 GB, free: 9.883 MB / 0.7292 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.733e-05/0.009871, allocations: 93.48 kB / 0.7534 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.0101, allocations: 369.8 kB / 0.7538 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01011, allocations: 7.938 kB / 0.7538 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.01018, allocations: 63.77 kB / 0.7539 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01037, allocations: 56.36 kB / 0.7539 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.01116, allocations: 383.2 kB / 0.7543 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.01121, allocations: 76.33 kB / 0.7544 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.01128, allocations: 29.77 kB / 0.7544 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.0114, allocations: 107.3 kB / 0.7545 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/0.01141, allocations: 0.875 kB / 0.7545 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of Templates: time 0.005413/0.01682, allocations: 3.856 MB / 0.7583 GB, free: 4.961 MB / 0.7292 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.588343274779618]