Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008226, allocations: 91.38 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.007112/0.007112, allocations: 172 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.698/1.698, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0006399/0.0006402, allocations: 16.12 kB / 0.6743 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3342, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.9323/1.267, allocations: 275 MB / 1.056 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.09764/1.364, allocations: 53.34 MB / 1.109 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01717/1.382, allocations: 270.1 kB / 1.109 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/1.393, allocations: 2.433 MB / 1.111 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02651/1.419, allocations: 6.243 MB / 1.117 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01939/1.439, allocations: 5.823 MB / 1.123 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0258/1.464, allocations: 16.66 MB / 1.139 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00875/1.473, allocations: 3.92 MB / 1.143 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/1.488, allocations: 4.775 MB / 1.148 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009027/1.497, allocations: 3.752 MB / 1.151 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001923/1.499, allocations: 196 kB / 1.152 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008691/1.508, allocations: 2.713 MB / 1.154 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/1.51, allocations: 1.073 MB / 1.155 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005134/1.515, allocations: 2.546 MB / 1.158 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01276/1.528, allocations: 7.572 MB / 1.165 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/1.528, allocations: 3.938 kB / 1.165 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.348e-06/1.528, allocations: 0 / 1.165 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002352/1.528, allocations: 3.938 kB / 1.165 GB, free: 2.32 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 679 * Number of variables: 679 Notification: Performance of Generate backend data structure: time 0.01165/1.54, allocations: 5.083 MB / 1.17 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.54, allocations: 8.031 kB / 1.17 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/1.544, allocations: 0.9925 MB / 1.171 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.554, allocations: 4.04 MB / 1.175 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008666/1.555, allocations: 353.9 kB / 1.175 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009701/1.556, allocations: 296 kB / 1.176 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006664/1.563, allocations: 3.238 MB / 1.179 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/1.563, allocations: 3.906 kB / 1.179 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/1.563, allocations: 120 kB / 1.179 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-05/1.564, allocations: 64 kB / 1.179 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005882/1.569, allocations: 2.643 MB / 1.182 GB, free: 1.172 MB / 0.8731 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.02547/1.595, allocations: 18 MB / 1.199 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/1.599, allocations: 1.902 MB / 1.201 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/1.601, allocations: 1.044 MB / 1.202 GB, free: 10.57 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 evalFunc (simulation): time 0.007923/1.609, allocations: 3.78 MB / 1.206 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.609, allocations: 51.88 kB / 1.206 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00375/1.613, allocations: 0.8413 MB / 1.207 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=142): time 1.196e-05/1.613, allocations: 0 / 1.207 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=147): time 0.02567/1.638, allocations: 7.457 MB / 1.214 GB, free: 14.13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.639, allocations: 252.6 kB / 1.214 GB, free: 13.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006558/1.645, allocations: 3.966 MB / 1.218 GB, free: 9.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005609/1.646, allocations: 65.7 kB / 1.218 GB, free: 9.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.648, allocations: 2.214 MB / 1.22 GB, free: 7.574 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008201/1.649, allocations: 0.5122 MB / 1.221 GB, free: 7.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.649, allocations: 210 kB / 1.221 GB, free: 6.844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/1.649, allocations: 301.1 kB / 1.221 GB, free: 6.547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/1.651, allocations: 0.9725 MB / 1.222 GB, free: 5.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/1.654, allocations: 1.825 MB / 1.224 GB, free: 3.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/1.659, allocations: 2.632 MB / 1.226 GB, free: 468 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/1.659, allocations: 4 kB / 1.226 GB, free: 464 kB / 0.92 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0116/1.671, allocations: 3.762 MB / 1.23 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005857/1.672, allocations: 0.6726 MB / 1.231 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/1.672, allocations: 27.98 kB / 1.231 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003145/1.675, allocations: 0.6267 MB / 1.231 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.677, allocations: 0.5304 MB / 1.232 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007262/1.685, allocations: 5.29 MB / 1.237 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/1.689, allocations: 341.3 kB / 1.237 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006592/1.69, allocations: 127.9 kB / 1.238 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.69, allocations: 6.969 kB / 1.238 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009807/1.7, allocations: 3.149 MB / 1.241 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.797e-05/1.7, allocations: 32.11 kB / 1.241 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.703, allocations: 0.5802 MB / 1.241 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.705, allocations: 0.5187 MB / 1.242 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/1.714, allocations: 6.672 MB / 1.248 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/1.719, allocations: 332.7 kB / 1.249 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005501/1.719, allocations: 127.9 kB / 1.249 GB, free: 8.621 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 239 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002678/1.722, allocations: 0.883 MB / 1.25 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.724, allocations: 446.3 kB / 1.25 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/1.732, allocations: 2.947 MB / 1.253 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/1.732, allocations: 16 kB / 1.253 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.732, allocations: 11.88 kB / 1.253 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005343/1.737, allocations: 2.228 MB / 1.255 GB, free: 2.023 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.01437/1.752, allocations: 5.795 MB / 1.261 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.752, allocations: 4 kB / 1.261 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.754, allocations: 343.6 kB / 1.261 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/1.755, allocations: 374.1 kB / 1.261 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.755, allocations: 47.97 kB / 1.261 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/1.76, allocations: 4.296 MB / 1.266 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.76, allocations: 4.031 kB / 1.266 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/1.77, allocations: 3.794 MB / 1.269 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/1.773, allocations: 0.7254 MB / 1.27 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.774, allocations: 32 kB / 1.27 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003769/1.778, allocations: 299.3 kB / 1.27 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.778, allocations: 125.8 kB / 1.271 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.778, allocations: 75.89 kB / 1.271 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.5582/2.336, allocations: 2.62 MB / 1.273 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.81e-07/2.336, allocations: 1.062 kB / 1.273 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01096/2.347, allocations: 1.973 MB / 1.275 GB, free: 351.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.x[1],val.filter.x[2],pumLoa.filter.x[1],pumLoa.filter.x[2],pumBoi.filter.x[1],pumBoi.filter.x[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/2.35, allocations: 0.81 MB / 1.276 GB, free: 351.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01052/2.36, allocations: 4.845 MB / 1.281 GB, free: 350.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.36, allocations: 2.625 kB / 1.281 GB, free: 350.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/2.363, allocations: 1.38 MB / 1.282 GB, free: 350.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01359/2.376, allocations: 2.315 MB / 1.284 GB, free: 350.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.393, allocations: 9.222 MB / 1.293 GB, free: 345 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002855/2.396, allocations: 2.462 MB / 1.296 GB, free: 344.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0056/2.402, allocations: 0.9274 MB / 1.297 GB, free: 344.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/2.403, allocations: 338.6 kB / 1.297 GB, free: 344.1 MB / 0.9669 GB Notification: Performance of SimCode: time 2.174e-06/2.403, allocations: 1.188 kB / 1.297 GB, free: 344.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.1353/2.538, allocations: 85.07 MB / 1.38 GB, free: 279.7 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) Environment - environmentSimulation: