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.000909/0.000909, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009989/0.0009989, allocations: 161 kB / 24.17 MB, free: 332 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.8708/0.8708, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.854/1.854, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.202e-06/1.202e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.363e-05, allocations: 8.266 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002436/0.002449, allocations: 2.166 MB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.00328, allocations: 0.6187 MB / 0.7779 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.003369, allocations: 4 kB / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003471, allocations: 24.92 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.003552, allocations: 50.55 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.003777, allocations: 101 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.004032, allocations: 291.2 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.004203, allocations: 98.14 kB / 0.7785 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.004378, allocations: 180.4 kB / 0.7787 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.004476, allocations: 95.73 kB / 0.7788 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.004511, allocations: 24.66 kB / 0.7788 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.004536, allocations: 28.75 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.004583, allocations: 67.73 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.004646, allocations: 81.34 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004836, allocations: 207.2 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004838, allocations: 0 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004839, allocations: 0 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004843, allocations: 0 / 0.7791 GB, free: 1.367 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.000571/0.005414, allocations: 0.5546 MB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.005441, allocations: 10.47 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.005494, allocations: 36.91 kB / 0.7797 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.005674, allocations: 182.1 kB / 0.7799 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.005692, allocations: 12.88 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.005722, allocations: 29.19 kB / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.005987, allocations: 284.7 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005995, allocations: 0.9375 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.006011, allocations: 12.38 kB / 0.7802 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.006018, allocations: 10.47 kB / 0.7802 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.006097, allocations: 55.41 kB / 0.7803 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.006617, allocations: 382.2 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.006733, allocations: 77.3 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.006769, allocations: 24.84 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.006791, allocations: 4.281 kB / 0.7808 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.006939, allocations: 132.2 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.00694, allocations: 0 / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000182/0.007122, allocations: 134.3 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.007164, allocations: 106.8 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007269, allocations: 206.2 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.007294, allocations: 45.69 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.007354, allocations: 148.3 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.007384, allocations: 55.61 kB / 0.7816 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.007452, allocations: 77.86 kB / 0.7816 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.007523, allocations: 336.3 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.007592, allocations: 117.4 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.0077, allocations: 229.6 kB / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.007833, allocations: 205.7 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.007838, allocations: 4 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002064/0.008044, allocations: 318.1 kB / 0.7828 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.008082, allocations: 89.09 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008088, allocations: 4.5 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.008101, allocations: 1.094 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.008219, allocations: 51.91 kB / 0.7829 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.008222, allocations: 4 kB / 0.7829 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.008345, allocations: 53.58 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.008359, allocations: 16 kB / 0.783 GB, free: 13.07 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.651e-05/0.008445, allocations: 141.3 kB / 0.7831 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.008469, allocations: 24.59 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.008601, allocations: 119.4 kB / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008603, allocations: 4.906 kB / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008605, allocations: 0 / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008608, allocations: 0 / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.008869, allocations: 313.1 kB / 0.7836 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008871, allocations: 4 kB / 0.7836 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.008923, allocations: 20.52 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008926, allocations: 4.531 kB / 0.7836 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.008935, allocations: 5.391 kB / 0.7836 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008937, allocations: 3.984 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008938, allocations: 0 / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.009061, allocations: 208.9 kB / 0.7838 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.009078, allocations: 28.64 kB / 0.7838 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.009105, allocations: 8 kB / 0.7838 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.00921, allocations: 42.64 kB / 0.7839 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.009282, allocations: 47.91 kB / 0.7839 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.009296, allocations: 11.92 kB / 0.7839 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.009334, allocations: 53.97 kB / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009334, allocations: 0 / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001728/0.009507, allocations: 59.89 kB / 0.784 GB, free: 11.95 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.0003216/0.009828, allocations: 99.16 kB / 0.7841 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.01006, allocations: 365.3 kB / 0.7845 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.01006, allocations: 1.312 kB / 0.7845 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.01013, allocations: 62.81 kB / 0.7845 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.01031, allocations: 37.47 kB / 0.7846 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.01087, allocations: 384 kB / 0.7849 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01091, allocations: 81.3 kB / 0.785 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.01098, allocations: 22.05 kB / 0.785 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.01111, allocations: 103.3 kB / 0.7851 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.01111, allocations: 0 / 0.7851 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.004934/0.01605, allocations: 3.737 MB / 0.7888 GB, free: 7.164 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.736802386119962]