Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.858/1.858, allocations: 287.5 MB / 302.6 MB, free: 8.359 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.0009593/0.0009592, allocations: 177.3 kB / 371.2 MB, free: 10.86 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.662/1.662, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007576/0.0007576, allocations: 96.39 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006174/0.0006177, allocations: 10.38 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2196, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04668/0.2664, allocations: 52.72 MB / 1.03 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2801, allocations: 9.729 MB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.2821, allocations: 47.69 kB / 1.04 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.2837, allocations: 496.9 kB / 1.04 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.2883, allocations: 1.529 MB / 1.042 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.2913, allocations: 0.9944 MB / 1.043 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005034/0.2963, allocations: 4.032 MB / 1.047 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.2982, allocations: 0.9932 MB / 1.048 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.3013, allocations: 1.058 MB / 1.049 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.3037, allocations: 0.9139 MB / 1.049 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.3041, allocations: 51.94 kB / 1.05 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.3075, allocations: 0.8537 MB / 1.05 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.308, allocations: 250.9 kB / 1.051 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.3088, allocations: 313 kB / 1.051 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.312, allocations: 1.718 MB / 1.053 GB, free: 340 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.312, allocations: 0 / 1.053 GB, free: 340 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3121, allocations: 0 / 1.053 GB, free: 340 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.3121, allocations: 0 / 1.053 GB, free: 340 kB / 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.003706/0.3158, allocations: 1.611 MB / 1.054 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3159, allocations: 8.031 kB / 1.054 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.3164, allocations: 167.1 kB / 1.054 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.3191, allocations: 1.162 MB / 1.055 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.3192, allocations: 78 kB / 1.056 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.3194, allocations: 92 kB / 1.056 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.3218, allocations: 0.941 MB / 1.057 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.3218, allocations: 8 kB / 1.057 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3219, allocations: 36 kB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.322, allocations: 28 kB / 1.057 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.3237, allocations: 0.6597 MB / 1.057 GB, free: 11.39 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.00746/0.3311, allocations: 4.08 MB / 1.061 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3323, allocations: 381.5 kB / 1.062 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.3329, allocations: 262.9 kB / 1.062 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.3336, allocations: 0.5031 MB / 1.062 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008567/0.3345, allocations: 350 kB / 1.063 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 6.993e-06/0.3345, allocations: 11.98 kB / 1.063 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.006129/0.3406, allocations: 1.926 MB / 1.065 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.3408, allocations: 137 kB / 1.065 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.3428, allocations: 1.09 MB / 1.066 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.3429, allocations: 37.7 kB / 1.066 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/0.3435, allocations: 0.578 MB / 1.066 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3438, allocations: 173.5 kB / 1.067 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3438, allocations: 16 kB / 1.067 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.344, allocations: 333.9 kB / 1.067 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.3445, allocations: 209.9 kB / 1.067 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.3453, allocations: 445.8 kB / 1.067 GB, free: 300 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5384/0.8837, allocations: 0.6339 MB / 1.068 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.8838, allocations: 0.8125 kB / 1.068 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002066/0.8858, allocations: 0.8857 MB / 1.069 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.886, allocations: 244.9 kB / 1.069 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.886, allocations: 4.562 kB / 1.069 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.8865, allocations: 108.7 kB / 1.069 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.887, allocations: 127.8 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.8886, allocations: 2.17 MB / 1.072 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.8897, allocations: 89.53 kB / 1.072 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.8898, allocations: 30.62 kB / 1.072 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.8898, allocations: 9.906 kB / 1.072 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/0.8912, allocations: 0.776 MB / 1.072 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8912, allocations: 5.125 kB / 1.072 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.8915, allocations: 103.8 kB / 1.073 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.8919, allocations: 120.5 kB / 1.073 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.8934, allocations: 2.172 MB / 1.075 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.8944, allocations: 91.75 kB / 1.075 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.8945, allocations: 33.97 kB / 1.075 GB, free: 85.06 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.0008763/0.8954, allocations: 430.2 kB / 1.075 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.8956, allocations: 122.2 kB / 1.075 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.8973, allocations: 0.8034 MB / 1.076 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.8974, allocations: 7.125 kB / 1.076 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8974, allocations: 1.406 kB / 1.076 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.8984, allocations: 0.6965 MB / 1.077 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.9014, allocations: 1.788 MB / 1.079 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.9014, allocations: 3.875 kB / 1.079 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.9019, allocations: 75.11 kB / 1.079 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.9022, allocations: 105.3 kB / 1.079 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.9022, allocations: 13.66 kB / 1.079 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.9037, allocations: 2.181 MB / 1.081 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9037, allocations: 3.375 kB / 1.081 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.9056, allocations: 1.106 MB / 1.082 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.9061, allocations: 286 kB / 1.082 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.9062, allocations: 14.94 kB / 1.082 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/0.9069, allocations: 63.14 kB / 1.082 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.907, allocations: 44.66 kB / 1.082 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.9071, allocations: 25.95 kB / 1.082 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00129/0.9084, allocations: 0.7457 MB / 1.083 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9084, allocations: 0 / 1.083 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002138/0.9106, allocations: 0.5843 MB / 1.084 GB, free: 79.86 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.0008675/0.9114, allocations: 377.4 kB / 1.084 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.9138, allocations: 1.339 MB / 1.085 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.9139, allocations: 4.188 kB / 1.085 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006394/0.9145, allocations: 484.8 kB / 1.086 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.9174, allocations: 0.5858 MB / 1.086 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.921, allocations: 2.401 MB / 1.089 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.9218, allocations: 1.124 MB / 1.09 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009701/0.9228, allocations: 224.7 kB / 1.09 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.923, allocations: 89.09 kB / 1.09 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.923, allocations: 3.938 kB / 1.09 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.04428/0.9673, allocations: 23.78 MB / 1.113 GB, free: 67.89 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)