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.0008786/0.0008786, allocations: 80.8 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.0009126/0.0009126, allocations: 165 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.9278/0.9278, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.981/1.981, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.062e-06/1.062e-06, allocations: 0 / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.088e-06/1.015e-05, allocations: 3.078 kB / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002299/0.002309, allocations: 2.215 MB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.003143, allocations: 0.6187 MB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.003232, allocations: 8.484 kB / 0.7781 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.003318, allocations: 24.12 kB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.00339, allocations: 47.58 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.003575, allocations: 99.84 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.003791, allocations: 295.2 kB / 0.7785 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.003944, allocations: 94.2 kB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.00409, allocations: 171.6 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.004186, allocations: 100.4 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.004219, allocations: 31.94 kB / 0.7789 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.004243, allocations: 28.69 kB / 0.7789 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.004284, allocations: 55.81 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.004347, allocations: 92.27 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.004526, allocations: 204.1 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.004528, allocations: 3.984 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004528, allocations: 1.312 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.004532, allocations: 0 / 0.7792 GB, free: 1.281 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.0005225/0.005054, allocations: 0.5429 MB / 0.7798 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.436e-05/0.005079, allocations: 8.75 kB / 0.7798 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.005125, allocations: 44.89 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.005298, allocations: 174.7 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.005315, allocations: 17.72 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.005341, allocations: 28.36 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.005592, allocations: 281.9 kB / 0.7803 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.005599, allocations: 192 / 0.7803 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.005613, allocations: 8.375 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005619, allocations: 7.938 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.005696, allocations: 51.91 kB / 0.7804 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.006181, allocations: 396.5 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.006304, allocations: 82.47 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.006338, allocations: 17.42 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.006355, allocations: 8.266 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.006496, allocations: 128.6 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.006497, allocations: 1.406 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.00016/0.006657, allocations: 123.9 kB / 0.7811 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.006696, allocations: 114.8 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006801, allocations: 214.1 kB / 0.7814 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.006824, allocations: 38.3 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.006885, allocations: 149.7 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.006915, allocations: 51.61 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.00699, allocations: 77.88 kB / 0.7817 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.007068, allocations: 338.7 kB / 0.782 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.007138, allocations: 114 kB / 0.7821 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.007253, allocations: 233.6 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.007386, allocations: 198.1 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007387, allocations: 0.5 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003434/0.007731, allocations: 326.1 kB / 0.7829 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.007768, allocations: 89.09 kB / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007772, allocations: 0 / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.00778, allocations: 5.125 kB / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.007903, allocations: 55.91 kB / 0.783 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.007906, allocations: 5.234 kB / 0.783 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.008033, allocations: 56.89 kB / 0.7831 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.008048, allocations: 12 kB / 0.7831 GB, free: 13 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.871e-05/0.008137, allocations: 149.2 kB / 0.7832 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.008158, allocations: 15.98 kB / 0.7832 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.008286, allocations: 124.9 kB / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008287, allocations: 0 / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008289, allocations: 4 kB / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008292, allocations: 0 / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.008541, allocations: 312.9 kB / 0.7837 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008543, allocations: 3.938 kB / 0.7837 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.008602, allocations: 25.06 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008605, allocations: 4 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.008616, allocations: 7.984 kB / 0.7837 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.008616, allocations: 0.5625 kB / 0.7837 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.008617, allocations: 0.5312 kB / 0.7837 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.008741, allocations: 207.1 kB / 0.7839 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.008758, allocations: 28.47 kB / 0.7839 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.008783, allocations: 11.25 kB / 0.7839 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.008886, allocations: 31.95 kB / 0.784 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.008958, allocations: 43.92 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.008973, allocations: 15.92 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.009011, allocations: 58.16 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009011, allocations: 0 / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001629/0.009174, allocations: 59.89 kB / 0.7841 GB, free: 11.87 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 6.836e-05/0.009243, allocations: 91.45 kB / 0.7842 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.009471, allocations: 375.2 kB / 0.7846 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.009474, allocations: 0 / 0.7846 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.009544, allocations: 58.27 kB / 0.7846 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.009716, allocations: 39.91 kB / 0.7847 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01027, allocations: 374.6 kB / 0.785 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01031, allocations: 84.91 kB / 0.7851 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.01038, allocations: 25.5 kB / 0.7851 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.01051, allocations: 106.5 kB / 0.7852 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01051, allocations: 0 / 0.7852 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.004802/0.01532, allocations: 3.739 MB / 0.7889 GB, free: 7.074 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 -s gbode -gbm=radauIIA3 -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.668783664237708]