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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001481/0.001481, allocations: 192.2 kB / 16.14 MB, free: 6.695 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.25 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3929, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.0607/0.4536, allocations: 56.92 MB / 1.123 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.4708, allocations: 10.55 MB / 1.133 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.4737, allocations: 51.69 kB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.4761, allocations: 0.5595 MB / 1.134 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009409/0.4855, allocations: 1.836 MB / 1.136 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.4903, allocations: 1.174 MB / 1.137 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007199/0.4975, allocations: 4.723 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.4995, allocations: 1.045 MB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.5026, allocations: 1.12 MB / 1.144 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.5043, allocations: 1.027 MB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.5045, allocations: 64 kB / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.5076, allocations: 1.146 MB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.508, allocations: 290.7 kB / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.509, allocations: 0.7189 MB / 1.147 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.5126, allocations: 2.329 MB / 1.149 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.5127, allocations: 4 kB / 1.149 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5127, allocations: 3.938 kB / 1.149 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.5127, allocations: 3.938 kB / 1.149 GB, free: 7.051 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.00367/0.5164, allocations: 1.87 MB / 1.151 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5164, allocations: 12.03 kB / 1.151 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.5169, allocations: 167 kB / 1.151 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.5188, allocations: 1.182 MB / 1.152 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.5189, allocations: 70 kB / 1.152 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.519, allocations: 88 kB / 1.152 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5206, allocations: 0.9566 MB / 1.153 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.5207, allocations: 8 kB / 1.153 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.5208, allocations: 36 kB / 1.153 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.5208, allocations: 27.98 kB / 1.153 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.522, allocations: 0.6714 MB / 1.154 GB, free: 1.805 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.005077/0.527, allocations: 4.065 MB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.5278, allocations: 400.3 kB / 1.158 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.5282, allocations: 266.5 kB / 1.159 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.5287, allocations: 0.4952 MB / 1.159 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.5293, allocations: 358.1 kB / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.5293, allocations: 0 / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.004204/0.5335, allocations: 1.961 MB / 1.161 GB, free: 9.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.5337, allocations: 148.9 kB / 1.162 GB, free: 9.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.5351, allocations: 1.09 MB / 1.163 GB, free: 8.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.5352, allocations: 41.7 kB / 1.163 GB, free: 8.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.5357, allocations: 0.5858 MB / 1.163 GB, free: 7.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.5359, allocations: 181.4 kB / 1.163 GB, free: 7.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.5361, allocations: 150.1 kB / 1.164 GB, free: 7.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5362, allocations: 330 kB / 1.164 GB, free: 7.238 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.5366, allocations: 219.7 kB / 1.164 GB, free: 7.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.5372, allocations: 440.9 kB / 1.164 GB, free: 6.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/0.5381, allocations: 0.6429 MB / 1.165 GB, free: 5.789 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5381, allocations: 4 kB / 1.165 GB, free: 5.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001428/0.5395, allocations: 0.895 MB / 1.166 GB, free: 4.871 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.5396, allocations: 33.7 kB / 1.166 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5396, allocations: 4.562 kB / 1.166 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.54, allocations: 121.6 kB / 1.166 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.5404, allocations: 115.8 kB / 1.166 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5423, allocations: 2.195 MB / 1.168 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/0.5433, allocations: 89.89 kB / 1.168 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.5434, allocations: 28 kB / 1.169 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009217/0.5443, allocations: 478.9 kB / 1.169 GB, free: 1.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005966/0.545, allocations: 432.2 kB / 1.169 GB, free: 1.148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009348/0.5459, allocations: 0.6468 MB / 1.17 GB, free: 440 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.5459, allocations: 0 / 1.17 GB, free: 440 kB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.00141/0.5473, allocations: 0.8796 MB / 1.171 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.5474, allocations: 41.69 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5474, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.5477, allocations: 113.6 kB / 1.171 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.5481, allocations: 120.2 kB / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.5499, allocations: 2.215 MB / 1.173 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.5509, allocations: 83.97 kB / 1.173 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.5509, allocations: 31.94 kB / 1.173 GB, free: 12.76 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.0002903/0.5512, allocations: 265.7 kB / 1.174 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.5514, allocations: 122.5 kB / 1.174 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.5528, allocations: 0.8039 MB / 1.175 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5528, allocations: 8 kB / 1.175 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.5528, allocations: 4 kB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.5538, allocations: 0.715 MB / 1.175 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5565, allocations: 1.825 MB / 1.177 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5565, allocations: 0 / 1.177 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.5569, allocations: 75.89 kB / 1.177 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.5572, allocations: 109.8 kB / 1.177 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.5573, allocations: 16.12 kB / 1.177 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.559, allocations: 2.191 MB / 1.179 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5591, allocations: 0 / 1.179 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5608, allocations: 1.128 MB / 1.18 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.5612, allocations: 267.4 kB / 1.181 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.5614, allocations: 8 kB / 1.181 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.5622, allocations: 71.83 kB / 1.181 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.5623, allocations: 35.95 kB / 1.181 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.5623, allocations: 31.98 kB / 1.181 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001132/0.5635, allocations: 0.8208 MB / 1.182 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5635, allocations: 0 / 1.182 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001996/0.5655, allocations: 0.5897 MB / 1.182 GB, free: 3.301 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.0009576/0.5664, allocations: 406.8 kB / 1.183 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.5687, allocations: 1.333 MB / 1.184 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5687, allocations: 0 / 1.184 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.5694, allocations: 471.3 kB / 1.184 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.5726, allocations: 0.6967 MB / 1.185 GB, free: 360 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.5762, allocations: 2.432 MB / 1.187 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.5769, allocations: 1.129 MB / 1.189 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001071/0.578, allocations: 246.2 kB / 1.189 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.5782, allocations: 87.42 kB / 1.189 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.5783, allocations: 0 / 1.189 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.05684/0.6351, allocations: 26.15 MB / 1.214 GB, free: 2.551 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)