Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.4 MB / 303.7 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 182.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009773, allocations: 94.23 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 11.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04188/0.2585, allocations: 52.73 MB / 1.032 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2722, allocations: 9.727 MB / 1.041 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.2744, allocations: 43.69 kB / 1.041 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.2762, allocations: 0.4892 MB / 1.042 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.2827, allocations: 1.634 MB / 1.043 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.2864, allocations: 1.01 MB / 1.044 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005804/0.2923, allocations: 4.038 MB / 1.048 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.2942, allocations: 0.997 MB / 1.049 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.2965, allocations: 1.07 MB / 1.05 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.2978, allocations: 0.9178 MB / 1.051 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2979, allocations: 48 kB / 1.051 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3004, allocations: 1.08 MB / 1.052 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.3007, allocations: 246.9 kB / 1.052 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.3015, allocations: 0.6781 MB / 1.053 GB, free: 440 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.3038, allocations: 1.777 MB / 1.055 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3038, allocations: 4 kB / 1.055 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3038, allocations: 0 / 1.055 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.3039, allocations: 0 / 1.055 GB, free: 14.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002624/0.3065, allocations: 1.609 MB / 1.056 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3065, allocations: 12.03 kB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.3069, allocations: 167.1 kB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.3086, allocations: 1.158 MB / 1.058 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.3087, allocations: 70 kB / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3088, allocations: 100 kB / 1.058 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3103, allocations: 0.941 MB / 1.059 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.3103, allocations: 3.938 kB / 1.059 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.3104, allocations: 44 kB / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.3104, allocations: 20 kB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3115, allocations: 0.6636 MB / 1.059 GB, free: 9.695 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004804/0.3163, allocations: 4.077 MB / 1.063 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.317, allocations: 384.5 kB / 1.064 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.3174, allocations: 255.2 kB / 1.064 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.3179, allocations: 0.507 MB / 1.065 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.3185, allocations: 346.4 kB / 1.065 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 4.087e-06/0.3185, allocations: 0 / 1.065 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.003995/0.3225, allocations: 1.93 MB / 1.067 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.3226, allocations: 144.9 kB / 1.067 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.324, allocations: 1.086 MB / 1.068 GB, free: 500 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.3241, allocations: 41.7 kB / 1.068 GB, free: 452 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.5127/0.8368, allocations: 0.5686 MB / 1.069 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.8372, allocations: 181 kB / 1.069 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.8373, allocations: 13.59 kB / 1.069 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.8374, allocations: 333.2 kB / 1.069 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.838, allocations: 212.2 kB / 1.069 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.8387, allocations: 437.1 kB / 1.07 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/0.8397, allocations: 0.6441 MB / 1.07 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8397, allocations: 5.031 kB / 1.07 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001709/0.8414, allocations: 0.881 MB / 1.071 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.8416, allocations: 252.1 kB / 1.071 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.8416, allocations: 4.125 kB / 1.071 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.8421, allocations: 102.3 kB / 1.072 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.8426, allocations: 124.3 kB / 1.072 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.8442, allocations: 2.179 MB / 1.074 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.8454, allocations: 88.95 kB / 1.074 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.8455, allocations: 35.17 kB / 1.074 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.8455, allocations: 2.75 kB / 1.074 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/0.8469, allocations: 0.7694 MB / 1.075 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.847, allocations: 8.156 kB / 1.075 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.8473, allocations: 109.4 kB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.8477, allocations: 119.8 kB / 1.075 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.8492, allocations: 2.175 MB / 1.077 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8505, allocations: 85.66 kB / 1.077 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.8506, allocations: 36.77 kB / 1.077 GB, free: 84.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007854/0.8514, allocations: 431.6 kB / 1.078 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.8516, allocations: 123 kB / 1.078 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.8532, allocations: 0.7951 MB / 1.078 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.8532, allocations: 5.734 kB / 1.078 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8532, allocations: 1.719 kB / 1.078 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.8543, allocations: 0.6973 MB / 1.079 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.8574, allocations: 1.792 MB / 1.081 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.8574, allocations: 4.969 kB / 1.081 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.8578, allocations: 74.22 kB / 1.081 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.8582, allocations: 103.6 kB / 1.081 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.8582, allocations: 12.75 kB / 1.081 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.8598, allocations: 2.172 MB / 1.083 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8598, allocations: 5.906 kB / 1.083 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.8617, allocations: 1.103 MB / 1.084 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.8623, allocations: 274.2 kB / 1.085 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.8624, allocations: 14.92 kB / 1.085 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.8631, allocations: 66.94 kB / 1.085 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.8633, allocations: 38.98 kB / 1.085 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.8633, allocations: 25.94 kB / 1.085 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001332/0.8647, allocations: 0.7499 MB / 1.085 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8647, allocations: 0 / 1.085 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002552/0.8672, allocations: 0.5878 MB / 1.086 GB, free: 79.28 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009912/0.8682, allocations: 412.4 kB / 1.086 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.8709, allocations: 1.339 MB / 1.088 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8709, allocations: 4.188 kB / 1.088 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007372/0.8716, allocations: 483.7 kB / 1.088 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/0.8749, allocations: 0.5841 MB / 1.089 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.8793, allocations: 2.41 MB / 1.091 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.8804, allocations: 1.125 MB / 1.092 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8818, allocations: 223.2 kB / 1.092 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.8821, allocations: 93.11 kB / 1.092 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.864e-06/0.8821, allocations: 0 / 1.092 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.05292/0.935, allocations: 24.14 MB / 1.116 GB, free: 66.65 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)