Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007872/0.007873, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 252 MB / 0.5105 GB, free: 4.629 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005875/0.0005875, allocations: 20.56 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5846, allocations: 106.3 MB / 0.7287 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.09499/0.6796, allocations: 55.78 MB / 0.7832 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02744/0.7071, allocations: 10.32 MB / 0.7933 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.7107, allocations: 47.69 kB / 0.7933 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.7141, allocations: 0.5634 MB / 0.7939 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009066/0.7232, allocations: 1.788 MB / 0.7956 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006883/0.7301, allocations: 1.172 MB / 0.7968 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.7408, allocations: 4.657 MB / 0.8013 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.7437, allocations: 0.9931 MB / 0.8023 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.7478, allocations: 1.081 MB / 0.8033 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.751, allocations: 0.9721 MB / 0.8043 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.7515, allocations: 55.94 kB / 0.8043 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.7554, allocations: 1.134 MB / 0.8054 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.7559, allocations: 258.8 kB / 0.8057 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.7572, allocations: 0.7011 MB / 0.8064 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.7612, allocations: 2.266 MB / 0.8086 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7612, allocations: 0 / 0.8086 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7612, allocations: 4 kB / 0.8086 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.7612, allocations: 4 kB / 0.8086 GB, free: 9.422 MB / 0.6231 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.003045/0.7643, allocations: 1.598 MB / 0.8101 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7643, allocations: 8.031 kB / 0.8102 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.7647, allocations: 167.1 kB / 0.8103 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.7666, allocations: 1.166 MB / 0.8115 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.7667, allocations: 66 kB / 0.8115 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.7669, allocations: 92 kB / 0.8116 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.7685, allocations: 0.9489 MB / 0.8125 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.7686, allocations: 7.875 kB / 0.8125 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.7687, allocations: 36 kB / 0.8126 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.7687, allocations: 28 kB / 0.8126 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.7699, allocations: 0.6675 MB / 0.8133 GB, free: 4.477 MB / 0.6231 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.005442/0.7753, allocations: 4.065 MB / 0.8172 GB, free: 208 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.776, allocations: 384.5 kB / 0.8176 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.7764, allocations: 264.5 kB / 0.8178 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/0.7769, allocations: 0.503 MB / 0.8183 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.7774, allocations: 354.4 kB / 0.8187 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 2.444e-06/0.7774, allocations: 0 / 0.8187 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=54): time 0.004023/0.7815, allocations: 1.938 MB / 0.8206 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.7816, allocations: 137 kB / 0.8207 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.783, allocations: 1.097 MB / 0.8218 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.7831, allocations: 37.7 kB / 0.8218 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.7836, allocations: 0.5819 MB / 0.8224 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.7838, allocations: 181.4 kB / 0.8225 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.7839, allocations: 61.69 kB / 0.8226 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.784, allocations: 337.9 kB / 0.8229 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.7844, allocations: 213.9 kB / 0.8231 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.785, allocations: 453.7 kB / 0.8236 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009701/0.786, allocations: 0.6547 MB / 0.8242 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.786, allocations: 0 / 0.8242 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001517/0.7876, allocations: 0.8913 MB / 0.8251 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.7878, allocations: 245.3 kB / 0.8253 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7878, allocations: 4 kB / 0.8253 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.7882, allocations: 117.6 kB / 0.8254 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.7886, allocations: 119.8 kB / 0.8255 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.7905, allocations: 2.176 MB / 0.8277 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7917, allocations: 94.72 kB / 0.8277 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.7918, allocations: 35.98 kB / 0.8278 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.7918, allocations: 7.938 kB / 0.8278 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001399/0.7932, allocations: 0.7738 MB / 0.8285 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7932, allocations: 4 kB / 0.8285 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.7936, allocations: 101.8 kB / 0.8286 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.794, allocations: 123.8 kB / 0.8288 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.7961, allocations: 2.176 MB / 0.8309 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.7972, allocations: 87.98 kB / 0.831 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.7973, allocations: 31.98 kB / 0.831 GB, free: 1.191 MB / 0.6387 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 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000761/0.7981, allocations: 433.1 kB / 0.8314 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.7983, allocations: 118.6 kB / 0.8315 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.7999, allocations: 0.8038 MB / 0.8323 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.7999, allocations: 8 kB / 0.8323 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7999, allocations: 0 / 0.8323 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.8011, allocations: 0.6995 MB / 0.833 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.8045, allocations: 1.806 MB / 0.8348 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8045, allocations: 7.938 kB / 0.8348 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.805, allocations: 79.88 kB / 0.8349 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.8054, allocations: 97.78 kB / 0.8349 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.8055, allocations: 20 kB / 0.835 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.8074, allocations: 2.18 MB / 0.8371 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8074, allocations: 4.031 kB / 0.8371 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.8093, allocations: 1.116 MB / 0.8382 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.81, allocations: 275.5 kB / 0.8385 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.8103, allocations: 16 kB / 0.8385 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009508/0.8113, allocations: 67.83 kB / 0.8385 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8114, allocations: 39.89 kB / 0.8386 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.8115, allocations: 27.98 kB / 0.8386 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00156/0.813, allocations: 0.8128 MB / 0.8394 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.01e-07/0.813, allocations: 3.938 kB / 0.8394 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002399/0.8154, allocations: 0.5858 MB / 0.84 GB, free: 7.617 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.8166, allocations: 396.8 kB / 0.8403 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.8192, allocations: 1.356 MB / 0.8417 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.8192, allocations: 0 / 0.8417 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.82, allocations: 483.3 kB / 0.8421 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/0.8245, allocations: 0.7041 MB / 0.8428 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.8291, allocations: 2.467 MB / 0.8452 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.83, allocations: 1.129 MB / 0.8463 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001243/0.8313, allocations: 242.3 kB / 0.8466 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.8316, allocations: 95.42 kB / 0.8466 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of SimCode: time 1.183e-06/0.8316, allocations: 0 / 0.8466 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of Templates: time 0.05459/0.8862, allocations: 26.65 MB / 0.8727 GB, free: 6.316 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) Environment - environmentSimulation: