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.758/1.758, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001046/0.001046, allocations: 181.1 kB / 371.8 MB, free: 10.29 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.6/1.6, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008701/0.0008702, allocations: 111.6 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004191, allocations: 14.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2591, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.0428/0.302, allocations: 47.82 MB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3167, allocations: 8.975 MB / 1.035 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3188, allocations: 39.75 kB / 1.035 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.3214, allocations: 0.6257 MB / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.3295, allocations: 1.836 MB / 1.037 GB, free: 300 kB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.3344, allocations: 1.396 MB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.3394, allocations: 2.136 MB / 1.041 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.3414, allocations: 0.9107 MB / 1.042 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.3441, allocations: 0.938 MB / 1.043 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3458, allocations: 0.6611 MB / 1.043 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003652/0.3461, allocations: 52 kB / 1.043 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.3492, allocations: 0.7606 MB / 1.044 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.3497, allocations: 239 kB / 1.044 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008658/0.3506, allocations: 313 kB / 1.045 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.3538, allocations: 1.664 MB / 1.046 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3538, allocations: 0 / 1.046 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3538, allocations: 0 / 1.046 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.034e-05/0.3539, allocations: 0 / 1.046 GB, free: 7.207 MB / 0.6667 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.003805/0.3577, allocations: 1.601 MB / 1.048 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3578, allocations: 16.02 kB / 1.048 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.3584, allocations: 162.2 kB / 1.048 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.3607, allocations: 1.057 MB / 1.049 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.3608, allocations: 70 kB / 1.049 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.361, allocations: 96 kB / 1.049 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.3628, allocations: 0.9371 MB / 1.05 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.3629, allocations: 0 / 1.05 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.363, allocations: 40 kB / 1.05 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.363, allocations: 27.94 kB / 1.05 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3641, allocations: 0.6636 MB / 1.051 GB, free: 2.375 MB / 0.6667 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.00547/0.3696, allocations: 4.108 MB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.3704, allocations: 420.8 kB / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/0.3709, allocations: 0.4992 MB / 1.056 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005869/0.3715, allocations: 354 kB / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.033e-06/0.3715, allocations: 0 / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.003827/0.3753, allocations: 2.006 MB / 1.058 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/0.3754, allocations: 141 kB / 1.058 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.3769, allocations: 1.117 MB / 1.059 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.377, allocations: 41.7 kB / 1.059 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.3775, allocations: 0.5741 MB / 1.06 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3777, allocations: 181.4 kB / 1.06 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.3777, allocations: 20 kB / 1.06 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3779, allocations: 333.9 kB / 1.06 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.3782, allocations: 213.9 kB / 1.06 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.3788, allocations: 430.2 kB / 1.061 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.3793, allocations: 303.8 kB / 1.061 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3793, allocations: 0 / 1.061 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001407/0.3807, allocations: 0.8797 MB / 1.062 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007827/0.3815, allocations: 1.705 MB / 1.064 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.3815, allocations: 4 kB / 1.064 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3819, allocations: 101.7 kB / 1.064 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.3824, allocations: 127.8 kB / 1.064 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.3848, allocations: 2.188 MB / 1.066 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3861, allocations: 91.81 kB / 1.066 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3863, allocations: 35.98 kB / 1.066 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3863, allocations: 4 kB / 1.066 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/0.3878, allocations: 0.7664 MB / 1.067 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.3878, allocations: 16.02 kB / 1.067 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.3881, allocations: 109.7 kB / 1.067 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3886, allocations: 127.8 kB / 1.067 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5782/0.9668, allocations: 2.17 MB / 1.069 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.9683, allocations: 93.42 kB / 1.069 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.9684, allocations: 31.7 kB / 1.069 GB, free: 87.18 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.0008594/0.9693, allocations: 428.6 kB / 1.07 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.9695, allocations: 118.5 kB / 1.07 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.9711, allocations: 0.7979 MB / 1.071 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.9712, allocations: 4.125 kB / 1.071 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9712, allocations: 2.031 kB / 1.071 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.9722, allocations: 0.701 MB / 1.071 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.9753, allocations: 1.812 MB / 1.073 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.9753, allocations: 2.625 kB / 1.073 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.9758, allocations: 73.78 kB / 1.073 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.9761, allocations: 106.9 kB / 1.073 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.9762, allocations: 14.42 kB / 1.073 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.9776, allocations: 2.184 MB / 1.075 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.9776, allocations: 2.672 kB / 1.075 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.9796, allocations: 1.167 MB / 1.077 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.9803, allocations: 287.5 kB / 1.077 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.9804, allocations: 19.31 kB / 1.077 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/0.9812, allocations: 55.89 kB / 1.077 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.9814, allocations: 44.25 kB / 1.077 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.9815, allocations: 30.5 kB / 1.077 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001682/0.9831, allocations: 0.7796 MB / 1.078 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9832, allocations: 1.094 kB / 1.078 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002515/0.9857, allocations: 0.5957 MB / 1.078 GB, free: 82.37 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.001044/0.9867, allocations: 407.5 kB / 1.079 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.9896, allocations: 1.344 MB / 1.08 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.9896, allocations: 1 kB / 1.08 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.9904, allocations: 480.6 kB / 1.081 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.9936, allocations: 0.5756 MB / 1.081 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.998, allocations: 2.393 MB / 1.083 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.999, allocations: 1.152 MB / 1.085 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001327/1, allocations: 227.3 kB / 1.085 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.001, allocations: 91.47 kB / 1.085 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.864e-06/1.001, allocations: 0 / 1.085 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.05547/1.056, allocations: 23.85 MB / 1.108 GB, free: 70.5 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)