Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 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.001205/0.001205, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 63.41 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3272, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05653/0.3838, allocations: 57.28 MB / 1.124 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.4014, allocations: 10.47 MB / 1.134 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.4047, allocations: 51.75 kB / 1.134 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.4073, allocations: 0.6831 MB / 1.135 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.416, allocations: 1.971 MB / 1.137 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.4204, allocations: 1.301 MB / 1.138 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005307/0.4257, allocations: 3.669 MB / 1.142 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.4275, allocations: 1.245 MB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.4308, allocations: 1.313 MB / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.4323, allocations: 1.027 MB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.4325, allocations: 132 kB / 1.145 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.4352, allocations: 1.228 MB / 1.147 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.4355, allocations: 350.7 kB / 1.147 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009067/0.4364, allocations: 0.7814 MB / 1.148 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.4397, allocations: 2.36 MB / 1.15 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4397, allocations: 7.938 kB / 1.15 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4397, allocations: 0 / 1.15 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.4397, allocations: 0 / 1.15 GB, free: 6.297 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.003062/0.4428, allocations: 1.878 MB / 1.152 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4429, allocations: 8.031 kB / 1.152 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.4433, allocations: 171.1 kB / 1.152 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.445, allocations: 1.147 MB / 1.153 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.4451, allocations: 70 kB / 1.153 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4452, allocations: 88 kB / 1.153 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4468, allocations: 0.9606 MB / 1.154 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4469, allocations: 0 / 1.154 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.447, allocations: 40 kB / 1.154 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.447, allocations: 20 kB / 1.154 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4481, allocations: 0.6753 MB / 1.155 GB, free: 1.082 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.005059/0.4532, allocations: 4.104 MB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.4539, allocations: 396.9 kB / 1.159 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.4543, allocations: 267.6 kB / 1.16 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.4548, allocations: 0.4991 MB / 1.16 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.4554, allocations: 358 kB / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.4554, allocations: 0 / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.003955/0.4593, allocations: 1.969 MB / 1.162 GB, free: 9.051 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.4595, allocations: 145.3 kB / 1.163 GB, free: 8.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4609, allocations: 1.11 MB / 1.164 GB, free: 7.758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.4609, allocations: 37.7 kB / 1.164 GB, free: 7.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.4615, allocations: 0.5819 MB / 1.164 GB, free: 7.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.4617, allocations: 185.4 kB / 1.164 GB, free: 6.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4619, allocations: 138.2 kB / 1.165 GB, free: 6.801 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4621, allocations: 334 kB / 1.165 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.4624, allocations: 223.7 kB / 1.165 GB, free: 6.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.463, allocations: 432.9 kB / 1.165 GB, free: 5.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.4639, allocations: 0.6585 MB / 1.166 GB, free: 5.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4639, allocations: 0 / 1.166 GB, free: 5.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001402/0.4653, allocations: 0.8838 MB / 1.167 GB, free: 4.109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.4653, allocations: 43.47 kB / 1.167 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.4654, allocations: 8 kB / 1.167 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.4658, allocations: 113.6 kB / 1.167 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.4662, allocations: 115.8 kB / 1.167 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.4682, allocations: 2.375 MB / 1.17 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.4691, allocations: 48.05 kB / 1.17 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.4692, allocations: 35.98 kB / 1.17 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007812/0.47, allocations: 481.5 kB / 1.17 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000518/0.4705, allocations: 420.9 kB / 1.17 GB, free: 248 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008912/0.4714, allocations: 0.643 MB / 1.171 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.4714, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001412/0.4729, allocations: 0.8798 MB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.4729, allocations: 41.69 kB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4729, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.4733, allocations: 121.5 kB / 1.172 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.4737, allocations: 119.9 kB / 1.172 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.4754, allocations: 2.382 MB / 1.175 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.4763, allocations: 52.02 kB / 1.175 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.4763, allocations: 31.98 kB / 1.175 GB, free: 11.71 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.000322/0.4767, allocations: 267.2 kB / 1.175 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.4769, allocations: 130.4 kB / 1.175 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.4784, allocations: 0.8001 MB / 1.176 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4784, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4784, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009756/0.4794, allocations: 0.7034 MB / 1.177 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.4822, allocations: 1.841 MB / 1.178 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4822, allocations: 0 / 1.178 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.4827, allocations: 80.05 kB / 1.178 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.483, allocations: 105.7 kB / 1.178 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.4831, allocations: 19.92 kB / 1.179 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.485, allocations: 2.374 MB / 1.181 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4851, allocations: 4.031 kB / 1.181 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4867, allocations: 1.128 MB / 1.182 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.4872, allocations: 259.5 kB / 1.182 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.4874, allocations: 19.98 kB / 1.182 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.4881, allocations: 36.03 kB / 1.182 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.4882, allocations: 39.83 kB / 1.182 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.4882, allocations: 27.97 kB / 1.182 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001178/0.4894, allocations: 0.8287 MB / 1.183 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4894, allocations: 0 / 1.183 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001846/0.4913, allocations: 0.5936 MB / 1.184 GB, free: 2.062 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.0008643/0.4921, allocations: 425.5 kB / 1.184 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.4944, allocations: 1.368 MB / 1.185 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4945, allocations: 0 / 1.185 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/0.4951, allocations: 474.3 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.003058/0.4982, allocations: 0.6924 MB / 1.187 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.5015, allocations: 2.041 MB / 1.189 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.5022, allocations: 1.125 MB / 1.19 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009052/0.5031, allocations: 238.2 kB / 1.19 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.5033, allocations: 95.41 kB / 1.19 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/0.5034, allocations: 4 kB / 1.19 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.04668/0.55, allocations: 27.33 MB / 1.217 GB, free: 0.5 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)