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.001263/0.001263, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001448/0.001448, allocations: 164.4 kB / 25.05 MB, free: 9.148 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.9416/0.9416, allocations: 177.1 MB / 205.5 MB, free: 5.449 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.885/1.885, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.683e-06/1.683e-06, allocations: 0 / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.032e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003993/0.004023, allocations: 2.22 MB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.005355, allocations: 0.6184 MB / 0.779 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.005499, allocations: 7.938 kB / 0.779 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.005647, allocations: 25.14 kB / 0.779 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.005779, allocations: 42.47 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.006102, allocations: 99.8 kB / 0.7791 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.006533, allocations: 291.3 kB / 0.7794 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.006761, allocations: 103.2 kB / 0.7795 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.007003, allocations: 171.7 kB / 0.7797 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.007148, allocations: 95.72 kB / 0.7798 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.007203, allocations: 28.97 kB / 0.7798 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.007245, allocations: 28 kB / 0.7798 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.00731, allocations: 63.75 kB / 0.7799 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.007405, allocations: 84.55 kB / 0.78 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.007693, allocations: 207.2 kB / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007696, allocations: 0.6562 kB / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.223e-06/0.007698, allocations: 0.625 kB / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.007702, allocations: 0 / 0.7802 GB, free: 1.184 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.0008674/0.008569, allocations: 0.5503 MB / 0.7807 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.008612, allocations: 13.56 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.008694, allocations: 36.91 kB / 0.7808 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.008962, allocations: 179.6 kB / 0.7809 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.008992, allocations: 16.88 kB / 0.7809 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.009034, allocations: 20.38 kB / 0.781 GB, free: 312 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.009575, allocations: 284.8 kB / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009587, allocations: 0.875 kB / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.009632, allocations: 16.42 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.009643, allocations: 9.656 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.009782, allocations: 51.41 kB / 0.7813 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.01063, allocations: 391.5 kB / 0.7817 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.01082, allocations: 78.53 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.01088, allocations: 21.61 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.01091, allocations: 5.031 kB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.01113, allocations: 133.2 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.01114, allocations: 0 / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000288/0.01142, allocations: 124.5 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.0115, allocations: 118.8 kB / 0.7821 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.01167, allocations: 206.2 kB / 0.7823 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.01171, allocations: 42.31 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01183, allocations: 153 kB / 0.7825 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.01187, allocations: 47.62 kB / 0.7826 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01199, allocations: 83.61 kB / 0.7826 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.0121, allocations: 338.7 kB / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.01222, allocations: 113.4 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.01239, allocations: 233.7 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.0126, allocations: 201.5 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.0126, allocations: 0.5312 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003991/0.013, allocations: 325.5 kB / 0.7838 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.01307, allocations: 93.91 kB / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01307, allocations: 0 / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01309, allocations: 4.531 kB / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.01331, allocations: 56.77 kB / 0.7839 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01331, allocations: 7.938 kB / 0.784 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.01353, allocations: 57.69 kB / 0.784 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.01355, allocations: 7.984 kB / 0.784 GB, free: 12.88 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 0.0001304/0.01368, allocations: 144.9 kB / 0.7842 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.01372, allocations: 20.86 kB / 0.7842 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.01393, allocations: 113.3 kB / 0.7843 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01394, allocations: 4 kB / 0.7843 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01394, allocations: 1.469 kB / 0.7843 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.01395, allocations: 3.984 kB / 0.7843 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.01463, allocations: 314.5 kB / 0.7846 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01464, allocations: 2.75 kB / 0.7846 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01474, allocations: 19.98 kB / 0.7846 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01474, allocations: 0 / 0.7846 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.01476, allocations: 11.98 kB / 0.7846 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01477, allocations: 0 / 0.7846 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01477, allocations: 3.984 kB / 0.7846 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01497, allocations: 212.8 kB / 0.7848 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.015, allocations: 21.98 kB / 0.7849 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01504, allocations: 12 kB / 0.7849 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.01523, allocations: 35.95 kB / 0.7849 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.01534, allocations: 47.91 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.01536, allocations: 8.812 kB / 0.785 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.01543, allocations: 58.16 kB / 0.785 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01543, allocations: 0.7812 kB / 0.785 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003124/0.01574, allocations: 59.89 kB / 0.7851 GB, free: 11.76 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 0.0001354/0.01588, allocations: 98.31 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.01623, allocations: 366.4 kB / 0.7855 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.01624, allocations: 4 kB / 0.7855 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.01635, allocations: 58.31 kB / 0.7856 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01663, allocations: 44.75 kB / 0.7856 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.01745, allocations: 378 kB / 0.786 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.01751, allocations: 88.2 kB / 0.7861 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.01763, allocations: 21.2 kB / 0.7861 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.01781, allocations: 98.09 kB / 0.7862 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01781, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.01094/0.02875, allocations: 3.742 MB / 0.7898 GB, free: 6.973 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.82755736541003]