Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.4 MB / 303.4 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 189.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 90.23 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004077, allocations: 11.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.261, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.9312/1.192, allocations: 259.6 MB / 1.233 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09833/1.291, allocations: 50.27 MB / 1.282 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01579/1.307, allocations: 262.2 kB / 1.282 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/1.317, allocations: 1.992 MB / 1.284 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0223/1.339, allocations: 5.396 MB / 1.29 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01832/1.358, allocations: 5.056 MB / 1.295 GB, free: 14.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0253/1.383, allocations: 14.22 MB / 1.309 GB, free: 236 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009166/1.392, allocations: 3.514 MB / 1.312 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01703/1.409, allocations: 4.515 MB / 1.316 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/1.421, allocations: 3.574 MB / 1.32 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00285/1.424, allocations: 203.9 kB / 1.32 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/1.434, allocations: 2.222 MB / 1.322 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00385/1.438, allocations: 1.035 MB / 1.323 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004371/1.442, allocations: 1.042 MB / 1.324 GB, free: 16 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/1.456, allocations: 5.887 MB / 1.33 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.456, allocations: 0 / 1.33 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.278e-06/1.456, allocations: 0 / 1.33 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004358/1.457, allocations: 0 / 1.33 GB, free: 10.11 MB / 0.8542 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.0163/1.473, allocations: 5.173 MB / 1.335 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.473, allocations: 12.03 kB / 1.335 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/1.479, allocations: 0.9964 MB / 1.336 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.492, allocations: 3.823 MB / 1.34 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009543/1.493, allocations: 354.2 kB / 1.34 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.494, allocations: 311.8 kB / 1.34 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/1.505, allocations: 3.256 MB / 1.344 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/1.505, allocations: 3.953 kB / 1.344 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006341/1.506, allocations: 116 kB / 1.344 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-05/1.506, allocations: 71.98 kB / 1.344 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00701/1.513, allocations: 2.698 MB / 1.346 GB, free: 8.988 MB / 0.8698 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.03255/1.545, allocations: 18.17 MB / 1.364 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/1.551, allocations: 1.946 MB / 1.366 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/1.553, allocations: 1.079 MB / 1.367 GB, free: 2.137 MB / 0.8855 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.01062/1.564, allocations: 3.885 MB / 1.371 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/1.564, allocations: 55.83 kB / 1.371 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004492/1.569, allocations: 0.8375 MB / 1.372 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.52e-05/1.569, allocations: 4 kB / 1.372 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.02958/1.598, allocations: 7.64 MB / 1.379 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/1.599, allocations: 308 kB / 1.38 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.609, allocations: 4.003 MB / 1.383 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000694/1.609, allocations: 69.7 kB / 1.383 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002972/1.612, allocations: 2.198 MB / 1.386 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.614, allocations: 0.5199 MB / 1.386 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/1.614, allocations: 44 kB / 1.386 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002741/1.614, allocations: 394.3 kB / 1.387 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.617, allocations: 0.9725 MB / 1.388 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/1.621, allocations: 1.846 MB / 1.389 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/1.625, allocations: 1.177 MB / 1.39 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/1.625, allocations: 4 kB / 1.39 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01276/1.638, allocations: 3.751 MB / 1.394 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006663/1.638, allocations: 0.6642 MB / 1.395 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-05/1.638, allocations: 20 kB / 1.395 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/1.642, allocations: 0.6228 MB / 1.395 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.644, allocations: 0.5421 MB / 1.396 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008137/1.653, allocations: 5.297 MB / 1.401 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.658, allocations: 352.6 kB / 1.401 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007158/1.659, allocations: 127.9 kB / 1.402 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.659, allocations: 4 kB / 1.402 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/1.669, allocations: 3.149 MB / 1.405 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-05/1.67, allocations: 24.67 kB / 1.405 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/1.673, allocations: 0.5957 MB / 1.405 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/1.675, allocations: 0.5148 MB / 1.406 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00962/1.685, allocations: 6.675 MB / 1.412 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.69, allocations: 342 kB / 1.413 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/1.691, allocations: 123.9 kB / 1.413 GB, free: 1.539 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,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 (249): * Single equations (assignments): 238 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.003472/1.695, allocations: 0.8758 MB / 1.414 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/1.697, allocations: 446.4 kB / 1.414 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.707, allocations: 3.025 MB / 1.417 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/1.707, allocations: 16 kB / 1.417 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.707, allocations: 7.938 kB / 1.417 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005823/1.713, allocations: 2.283 MB / 1.419 GB, free: 10.82 MB / 0.948 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.01593/1.729, allocations: 5.935 MB / 1.425 GB, free: 4.816 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.729, allocations: 0 / 1.425 GB, free: 4.816 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.731, allocations: 363.6 kB / 1.425 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/1.732, allocations: 370.2 kB / 1.426 GB, free: 4.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/1.733, allocations: 55.97 kB / 1.426 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6004/2.333, allocations: 4.266 MB / 1.43 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.333, allocations: 0.8125 kB / 1.43 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/2.344, allocations: 3.915 MB / 1.434 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/2.346, allocations: 0.7448 MB / 1.434 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000583/2.347, allocations: 39.44 kB / 1.435 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/2.35, allocations: 310.5 kB / 1.435 GB, free: 338.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/2.35, allocations: 116 kB / 1.435 GB, free: 338.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/2.35, allocations: 71.31 kB / 1.435 GB, free: 338.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005106/2.355, allocations: 2.648 MB / 1.438 GB, free: 337.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/2.355, allocations: 3.5 kB / 1.438 GB, free: 337.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007642/2.363, allocations: 1.987 MB / 1.44 GB, free: 337 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/2.365, allocations: 0.7916 MB / 1.44 GB, free: 336.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0109/2.376, allocations: 4.883 MB / 1.445 GB, free: 334.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.376, allocations: 1.156 kB / 1.445 GB, free: 334.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/2.379, allocations: 1.413 MB / 1.446 GB, free: 334.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/2.394, allocations: 2.293 MB / 1.449 GB, free: 333.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/2.41, allocations: 8.896 MB / 1.457 GB, free: 329.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/2.413, allocations: 2.463 MB / 1.46 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006206/2.419, allocations: 0.9174 MB / 1.461 GB, free: 328.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/2.42, allocations: 348.7 kB / 1.461 GB, free: 328.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/2.42, allocations: 1.25 kB / 1.461 GB, free: 328.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1311/2.552, allocations: 84.11 MB / 1.543 GB, free: 263.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)