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.001458/0.001458, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001622/0.001622, allocations: 189.5 kB / 16.25 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.11 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4206, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.07056/0.4912, allocations: 56.8 MB / 1.123 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.5078, allocations: 10.4 MB / 1.133 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.5104, allocations: 55.62 kB / 1.133 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.5127, allocations: 0.5946 MB / 1.134 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.5186, allocations: 1.831 MB / 1.136 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.5225, allocations: 1.211 MB / 1.137 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005241/0.5278, allocations: 3.686 MB / 1.14 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.53, allocations: 1.248 MB / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.5335, allocations: 1.324 MB / 1.143 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.5354, allocations: 1.058 MB / 1.144 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004038/0.5358, allocations: 128 kB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.5387, allocations: 1.244 MB / 1.145 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.5392, allocations: 346.7 kB / 1.146 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.5406, allocations: 0.7892 MB / 1.146 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.5447, allocations: 2.372 MB / 1.149 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5448, allocations: 0 / 1.149 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5448, allocations: 4 kB / 1.149 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.276e-05/0.5449, allocations: 3.938 kB / 1.149 GB, free: 7.445 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.003994/0.5489, allocations: 1.878 MB / 1.151 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5489, allocations: 8.031 kB / 1.151 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.5495, allocations: 175 kB / 1.151 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.5516, allocations: 1.17 MB / 1.152 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.5517, allocations: 73.98 kB / 1.152 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5518, allocations: 88 kB / 1.152 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.5536, allocations: 0.9567 MB / 1.153 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.5536, allocations: 3.938 kB / 1.153 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.5537, allocations: 40 kB / 1.153 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.5538, allocations: 20 kB / 1.153 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.555, allocations: 0.6792 MB / 1.154 GB, free: 2.195 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.005469/0.5605, allocations: 4.077 MB / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.5612, allocations: 405.6 kB / 1.158 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.5617, allocations: 254.5 kB / 1.158 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.5621, allocations: 0.503 MB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.5627, allocations: 362 kB / 1.159 GB, free: 12.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.374e-06/0.5628, allocations: 0 / 1.159 GB, free: 12.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.00424/0.567, allocations: 1.965 MB / 1.161 GB, free: 10.19 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.5671, allocations: 144.9 kB / 1.161 GB, free: 10.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.5685, allocations: 1.09 MB / 1.162 GB, free: 8.918 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.5686, allocations: 38.14 kB / 1.162 GB, free: 8.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.5691, allocations: 0.5858 MB / 1.163 GB, free: 8.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5693, allocations: 189.3 kB / 1.163 GB, free: 8.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.5695, allocations: 146.1 kB / 1.163 GB, free: 7.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5697, allocations: 330 kB / 1.164 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.5701, allocations: 219.7 kB / 1.164 GB, free: 7.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.5706, allocations: 432.9 kB / 1.164 GB, free: 6.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.5716, allocations: 0.6546 MB / 1.165 GB, free: 6.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5716, allocations: 0 / 1.165 GB, free: 6.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001468/0.573, allocations: 0.8835 MB / 1.166 GB, free: 5.262 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.5731, allocations: 41.69 kB / 1.166 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5731, allocations: 4 kB / 1.166 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.5735, allocations: 118 kB / 1.166 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.574, allocations: 119.8 kB / 1.166 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.576, allocations: 2.371 MB / 1.168 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009079/0.5769, allocations: 83.83 kB / 1.168 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.5769, allocations: 35.98 kB / 1.168 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007327/0.5777, allocations: 477.6 kB / 1.169 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005735/0.5783, allocations: 428.2 kB / 1.169 GB, free: 1.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008899/0.5792, allocations: 0.6468 MB / 1.17 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.152e-05/0.5792, allocations: 4 kB / 1.17 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001443/0.5807, allocations: 0.8757 MB / 1.171 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.5807, allocations: 47.09 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5807, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.5811, allocations: 118 kB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.5815, allocations: 119.8 kB / 1.171 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.5834, allocations: 2.367 MB / 1.173 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.5844, allocations: 83.97 kB / 1.173 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.5845, allocations: 31.98 kB / 1.173 GB, free: 12.8 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.0003298/0.5848, allocations: 265.7 kB / 1.174 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.5851, allocations: 130.5 kB / 1.174 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.5866, allocations: 0.8194 MB / 1.175 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5866, allocations: 4.125 kB / 1.175 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5867, allocations: 8 kB / 1.175 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.5877, allocations: 0.7034 MB / 1.175 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5907, allocations: 1.829 MB / 1.177 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5907, allocations: 0 / 1.177 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.5911, allocations: 75.89 kB / 1.177 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.5915, allocations: 113.8 kB / 1.177 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.5915, allocations: 15.98 kB / 1.177 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.5935, allocations: 2.355 MB / 1.18 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5935, allocations: 7.969 kB / 1.18 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.5953, allocations: 1.135 MB / 1.181 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.5959, allocations: 267.5 kB / 1.181 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.5961, allocations: 16.12 kB / 1.181 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.597, allocations: 63.98 kB / 1.181 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.5971, allocations: 39.89 kB / 1.181 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.5971, allocations: 23.98 kB / 1.181 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001333/0.5985, allocations: 0.8169 MB / 1.182 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5985, allocations: 0 / 1.182 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001935/0.6004, allocations: 0.5975 MB / 1.183 GB, free: 3.137 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.0009195/0.6013, allocations: 392 kB / 1.183 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.6038, allocations: 1.372 MB / 1.184 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6038, allocations: 4.125 kB / 1.184 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/0.6045, allocations: 474.3 kB / 1.185 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.6077, allocations: 0.699 MB / 1.185 GB, free: 164 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.6117, allocations: 2.439 MB / 1.188 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.6126, allocations: 1.125 MB / 1.189 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001099/0.6137, allocations: 242.3 kB / 1.189 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.6139, allocations: 91.41 kB / 1.189 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/0.6139, allocations: 4 kB / 1.189 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.04641/0.6603, allocations: 26.91 MB / 1.215 GB, free: 1.609 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)