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.0006386/0.0006386, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001696, allocations: 449.8 kB / 10.44 MB, free: 252 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.000661/0.000661, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008725/0.001534, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8901/0.8901, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07488/0.965, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.901/1.901, allocations: 390.1 MB / 0.6194 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4448/2.346, allocations: 127.1 MB / 0.7435 GB, free: 4.566 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 1.473e-06/1.473e-06, allocations: 0.6562 kB / 0.7449 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.416e-06/9.889e-06, allocations: 2.312 kB / 0.7449 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00227/0.00228, allocations: 2.221 MB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.003034, allocations: 0.621 MB / 0.7476 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.003122, allocations: 6.438 kB / 0.7477 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.684e-05/0.003189, allocations: 28.77 kB / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.003272, allocations: 40.58 kB / 0.7477 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.003433, allocations: 95.81 kB / 0.7478 GB, free: 228 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.003682, allocations: 282 kB / 0.7481 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.003854, allocations: 106 kB / 0.7482 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.004054, allocations: 195.6 kB / 0.7484 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.004178, allocations: 95.72 kB / 0.7485 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.004223, allocations: 29.16 kB / 0.7485 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.004253, allocations: 28 kB / 0.7485 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.004296, allocations: 43.81 kB / 0.7486 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.004356, allocations: 64.88 kB / 0.7486 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.004549, allocations: 179.2 kB / 0.7488 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.004562, allocations: 7.984 kB / 0.7488 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004563, allocations: 0.5938 kB / 0.7488 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.004577, allocations: 0.6562 kB / 0.7488 GB, free: 15.21 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.0007342/0.005311, allocations: 0.6005 MB / 0.7494 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.005341, allocations: 8.812 kB / 0.7494 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.005406, allocations: 36.91 kB / 0.7494 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.005602, allocations: 174.7 kB / 0.7496 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005624, allocations: 22.06 kB / 0.7496 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.005651, allocations: 20.38 kB / 0.7496 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.005923, allocations: 289.3 kB / 0.7499 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.005932, allocations: 192 / 0.7499 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.005948, allocations: 12.38 kB / 0.7499 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005955, allocations: 8.875 kB / 0.7499 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.006034, allocations: 47.47 kB / 0.75 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.006551, allocations: 394.9 kB / 0.7504 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.006669, allocations: 78.53 kB / 0.7504 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.006702, allocations: 24.84 kB / 0.7504 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.006722, allocations: 4 kB / 0.7505 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.006877, allocations: 127.2 kB / 0.7506 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.482e-06/0.006878, allocations: 0 / 0.7506 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.000178/0.007056, allocations: 123.3 kB / 0.7507 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.00709, allocations: 66.44 kB / 0.7508 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.007214, allocations: 214.1 kB / 0.751 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.007243, allocations: 41.7 kB / 0.751 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.007306, allocations: 144.6 kB / 0.7511 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.007338, allocations: 59.59 kB / 0.7512 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.007405, allocations: 73.88 kB / 0.7513 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.007486, allocations: 338.7 kB / 0.7516 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.007558, allocations: 109.4 kB / 0.7517 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.007672, allocations: 237 kB / 0.7519 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.007799, allocations: 202.6 kB / 0.7521 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007801, allocations: 0 / 0.7521 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002083/0.008009, allocations: 333.3 kB / 0.7524 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.008057, allocations: 93.09 kB / 0.7525 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008061, allocations: 0 / 0.7525 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008074, allocations: 4 kB / 0.7525 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.00821, allocations: 51.91 kB / 0.7526 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008215, allocations: 7.938 kB / 0.7526 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.008334, allocations: 52.47 kB / 0.7526 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.008348, allocations: 12 kB / 0.7526 GB, free: 10.94 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.329e-05/0.008431, allocations: 141.7 kB / 0.7528 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.008454, allocations: 19.98 kB / 0.7528 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.008587, allocations: 122.3 kB / 0.7529 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00859, allocations: 4 kB / 0.7529 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.008593, allocations: 3.938 kB / 0.7529 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008596, allocations: 0.5625 kB / 0.7529 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.008844, allocations: 310.5 kB / 0.7532 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008847, allocations: 7.812 kB / 0.7532 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.008909, allocations: 23.97 kB / 0.7532 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.008924, allocations: 15.84 kB / 0.7533 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008925, allocations: 4 kB / 0.7533 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.008936, allocations: 7.922 kB / 0.7533 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008937, allocations: 0 / 0.7533 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008938, allocations: 0 / 0.7533 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.009069, allocations: 216.1 kB / 0.7535 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.009093, allocations: 8 kB / 0.7535 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.009197, allocations: 42.67 kB / 0.7535 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.009268, allocations: 43.92 kB / 0.7536 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009281, allocations: 7.984 kB / 0.7536 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.009322, allocations: 61.95 kB / 0.7536 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009322, allocations: 0 / 0.7536 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001624/0.009485, allocations: 59.89 kB / 0.7537 GB, free: 9.82 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.481e-05/0.00957, allocations: 94.23 kB / 0.7538 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.009807, allocations: 371.3 kB / 0.7541 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.009815, allocations: 4.531 kB / 0.7541 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.009895, allocations: 76.64 kB / 0.7542 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01014, allocations: 256.2 kB / 0.7545 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.01091, allocations: 381.5 kB / 0.7548 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01096, allocations: 81.06 kB / 0.7549 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.01103, allocations: 25.53 kB / 0.7549 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01117, allocations: 99.91 kB / 0.755 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of SimCode: time 4.7e-07/0.01117, allocations: 1.562 kB / 0.755 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of Templates: time 0.004945/0.01611, allocations: 3.848 MB / 0.7588 GB, free: 4.66 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.648696722462773]