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.923/1.923, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001347/0.001347, allocations: 189.6 kB / 372 MB, free: 10.23 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.679/1.679, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.001005/0.001005, allocations: 100.3 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004461, allocations: 11.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04731/0.3188, allocations: 52.73 MB / 1.031 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3349, allocations: 9.726 MB / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.3372, allocations: 43.75 kB / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.339, allocations: 0.4892 MB / 1.041 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.345, allocations: 1.525 MB / 1.043 GB, free: 11 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.3488, allocations: 0.9874 MB / 1.044 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006425/0.3552, allocations: 4.02 MB / 1.047 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.357, allocations: 0.8949 MB / 1.048 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.3594, allocations: 1.046 MB / 1.049 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.3606, allocations: 0.9255 MB / 1.05 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3608, allocations: 52 kB / 1.05 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.3632, allocations: 0.8498 MB / 1.051 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.3635, allocations: 250.9 kB / 1.051 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.364, allocations: 313 kB / 1.052 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.366, allocations: 1.718 MB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.366, allocations: 4 kB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.225e-06/0.366, allocations: 0 / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.366, allocations: 0 / 1.053 GB, free: 15.9 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.002744/0.3688, allocations: 1.617 MB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3688, allocations: 8.031 kB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.3692, allocations: 162.2 kB / 1.055 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.371, allocations: 1.119 MB / 1.056 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.3711, allocations: 74 kB / 1.056 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3712, allocations: 96 kB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3728, allocations: 0.9527 MB / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3729, allocations: 0 / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.3729, allocations: 39.94 kB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.373, allocations: 28 kB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3744, allocations: 0.6597 MB / 1.058 GB, free: 10.98 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.005408/0.3798, allocations: 4.081 MB / 1.062 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.3806, allocations: 384.6 kB / 1.062 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.3811, allocations: 257.2 kB / 1.063 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.3816, allocations: 0.4991 MB / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/0.3821, allocations: 354 kB / 1.063 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.726e-06/0.3822, allocations: 0 / 1.063 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.004449/0.3866, allocations: 1.93 MB / 1.065 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.3868, allocations: 137 kB / 1.065 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3883, allocations: 1.086 MB / 1.066 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.3884, allocations: 41.64 kB / 1.067 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.389, allocations: 0.5741 MB / 1.067 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3892, allocations: 181.4 kB / 1.067 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3893, allocations: 16 kB / 1.067 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3894, allocations: 337.9 kB / 1.068 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.3898, allocations: 209.9 kB / 1.068 GB, free: 428 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6104/1, allocations: 430.7 kB / 1.068 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.001, allocations: 303.5 kB / 1.069 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.001, allocations: 0.75 kB / 1.069 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003001/1.004, allocations: 0.8806 MB / 1.069 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/1.005, allocations: 249 kB / 1.07 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.005, allocations: 7.172 kB / 1.07 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/1.005, allocations: 108.3 kB / 1.07 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/1.006, allocations: 126.5 kB / 1.07 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/1.008, allocations: 2.169 MB / 1.072 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.01, allocations: 92.36 kB / 1.072 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.01, allocations: 36.27 kB / 1.072 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.01, allocations: 5.031 kB / 1.072 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/1.011, allocations: 0.7717 MB / 1.073 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.011, allocations: 4.703 kB / 1.073 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/1.012, allocations: 103.2 kB / 1.073 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/1.012, allocations: 120.6 kB / 1.073 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/1.014, allocations: 2.18 MB / 1.075 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.015, allocations: 83.36 kB / 1.075 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.016, allocations: 35.05 kB / 1.075 GB, free: 85.24 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.0008448/1.016, allocations: 424.1 kB / 1.076 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/1.017, allocations: 119.2 kB / 1.076 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/1.019, allocations: 0.8113 MB / 1.077 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.019, allocations: 5.703 kB / 1.077 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.019, allocations: 0.9375 kB / 1.077 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.02, allocations: 0.6954 MB / 1.077 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/1.025, allocations: 1.788 MB / 1.079 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.025, allocations: 1.656 kB / 1.079 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/1.025, allocations: 81.19 kB / 1.079 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/1.026, allocations: 102.7 kB / 1.079 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/1.026, allocations: 22.02 kB / 1.079 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/1.028, allocations: 2.167 MB / 1.081 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.028, allocations: 5.891 kB / 1.081 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/1.031, allocations: 1.1 MB / 1.082 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.032, allocations: 277.6 kB / 1.083 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.033, allocations: 14.64 kB / 1.083 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.034, allocations: 62.23 kB / 1.083 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.034, allocations: 39.61 kB / 1.083 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/1.034, allocations: 26.48 kB / 1.083 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002091/1.036, allocations: 0.7482 MB / 1.084 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0.5312 kB / 1.084 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003904/1.04, allocations: 0.583 MB / 1.084 GB, free: 80.01 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.001467/1.041, allocations: 380.6 kB / 1.084 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003773/1.045, allocations: 1.347 MB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.045, allocations: 1.844 kB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009444/1.046, allocations: 484.5 kB / 1.086 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.05, allocations: 0.5919 MB / 1.087 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/1.054, allocations: 2.387 MB / 1.089 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.055, allocations: 1.131 MB / 1.09 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001386/1.057, allocations: 231.8 kB / 1.091 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/1.057, allocations: 86.09 kB / 1.091 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/1.057, allocations: 0 / 1.091 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.05705/1.114, allocations: 23.23 MB / 1.113 GB, free: 67.98 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)