Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001231/0.001232, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.22 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06694/0.4337, allocations: 57.29 MB / 1.124 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.4545, allocations: 10.46 MB / 1.134 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.458, allocations: 51.75 kB / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.4609, allocations: 0.687 MB / 1.135 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.4699, allocations: 1.978 MB / 1.137 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004814/0.4747, allocations: 1.297 MB / 1.138 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00658/0.4813, allocations: 3.67 MB / 1.142 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.4838, allocations: 1.237 MB / 1.143 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.4876, allocations: 1.311 MB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.4902, allocations: 1.023 MB / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005872/0.4908, allocations: 128 kB / 1.145 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4945, allocations: 1.24 MB / 1.147 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.4953, allocations: 346.7 kB / 1.147 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.4972, allocations: 0.7814 MB / 1.148 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.5027, allocations: 2.372 MB / 1.15 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5027, allocations: 0 / 1.15 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5027, allocations: 0 / 1.15 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.06e-05/0.5028, allocations: 0 / 1.15 GB, free: 6.309 MB / 0.9044 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.004705/0.5075, allocations: 1.874 MB / 1.152 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.5076, allocations: 12.03 kB / 1.152 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/0.5084, allocations: 167 kB / 1.152 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.5108, allocations: 1.143 MB / 1.153 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.5109, allocations: 73.94 kB / 1.153 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.511, allocations: 92 kB / 1.153 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.5128, allocations: 0.9605 MB / 1.154 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.5128, allocations: 8 kB / 1.154 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.5129, allocations: 32 kB / 1.154 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.513, allocations: 28 kB / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.5143, allocations: 0.6675 MB / 1.155 GB, free: 1.094 MB / 0.9044 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.006173/0.5205, allocations: 4.108 MB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.5213, allocations: 398.6 kB / 1.159 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.5217, allocations: 263 kB / 1.16 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.5223, allocations: 0.499 MB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006355/0.5229, allocations: 362.1 kB / 1.16 GB, free: 11.13 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.523, allocations: 0 / 1.16 GB, free: 11.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.005124/0.5281, allocations: 1.969 MB / 1.162 GB, free: 9.062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.5282, allocations: 148.8 kB / 1.163 GB, free: 8.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.5301, allocations: 1.102 MB / 1.164 GB, free: 7.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.5302, allocations: 41.7 kB / 1.164 GB, free: 7.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.5308, allocations: 0.582 MB / 1.164 GB, free: 7.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.5311, allocations: 177.4 kB / 1.164 GB, free: 6.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.5313, allocations: 146.2 kB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5315, allocations: 334 kB / 1.165 GB, free: 6.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.5319, allocations: 223.7 kB / 1.165 GB, free: 6.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.5325, allocations: 432.9 kB / 1.165 GB, free: 5.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009952/0.5335, allocations: 0.6507 MB / 1.166 GB, free: 5.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5335, allocations: 4 kB / 1.166 GB, free: 5.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00184/0.5354, allocations: 0.8873 MB / 1.167 GB, free: 4.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.5354, allocations: 43.25 kB / 1.167 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.5355, allocations: 4 kB / 1.167 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.536, allocations: 114.1 kB / 1.167 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.5364, allocations: 123.8 kB / 1.167 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.5391, allocations: 2.371 MB / 1.17 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5402, allocations: 47.95 kB / 1.17 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.5402, allocations: 31.94 kB / 1.17 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008278/0.5411, allocations: 474.2 kB / 1.17 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006086/0.5417, allocations: 433 kB / 1.17 GB, free: 260 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.5427, allocations: 0.639 MB / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.5427, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001616/0.5444, allocations: 0.8871 MB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.5444, allocations: 33.7 kB / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5444, allocations: 7.938 kB / 1.172 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.5448, allocations: 126.1 kB / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.5453, allocations: 123.8 kB / 1.172 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5477, allocations: 2.379 MB / 1.175 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5488, allocations: 51.94 kB / 1.175 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/0.5489, allocations: 32 kB / 1.175 GB, free: 11.72 MB / 0.9356 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 (70): * Single equations (assignments): 67 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003969/0.5493, allocations: 261.8 kB / 1.175 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.5496, allocations: 126.4 kB / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.5512, allocations: 0.8158 MB / 1.176 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5513, allocations: 4 kB / 1.176 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5513, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.5523, allocations: 0.7112 MB / 1.177 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5553, allocations: 1.833 MB / 1.178 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5553, allocations: 0 / 1.178 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.5557, allocations: 75.89 kB / 1.178 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.5561, allocations: 113.8 kB / 1.179 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.5561, allocations: 12 kB / 1.179 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.558, allocations: 2.378 MB / 1.181 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.558, allocations: 0 / 1.181 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5598, allocations: 1.128 MB / 1.182 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.5604, allocations: 267.5 kB / 1.182 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.5606, allocations: 8 kB / 1.182 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.5613, allocations: 35.95 kB / 1.182 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.5614, allocations: 43.89 kB / 1.182 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.5615, allocations: 23.98 kB / 1.182 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001237/0.5627, allocations: 0.8364 MB / 1.183 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5627, allocations: 0 / 1.183 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001833/0.5646, allocations: 0.5975 MB / 1.184 GB, free: 2.066 MB / 0.9356 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 (38): * Single equations (assignments): 33 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009323/0.5655, allocations: 419.3 kB / 1.184 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.5679, allocations: 1.368 MB / 1.185 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.568, allocations: 0 / 1.185 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.5686, allocations: 474.6 kB / 1.186 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.5719, allocations: 0.6877 MB / 1.187 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.5757, allocations: 2.034 MB / 1.189 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.5764, allocations: 1.125 MB / 1.19 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001069/0.5775, allocations: 246.3 kB / 1.19 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5777, allocations: 87.42 kB / 1.19 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.5777, allocations: 0 / 1.19 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.05026/0.628, allocations: 27.34 MB / 1.217 GB, free: 0.5117 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)