Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.723/2.723, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001298/0.001298, allocations: 182.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001021/0.001021, allocations: 94.34 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000725/0.0007253, allocations: 11.45 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3028, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 1.117/1.42, allocations: 259.6 MB / 1.232 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1193/1.54, allocations: 50.26 MB / 1.281 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01362/1.553, allocations: 266.1 kB / 1.281 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01217/1.566, allocations: 1.988 MB / 1.283 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02594/1.592, allocations: 5.402 MB / 1.288 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02348/1.615, allocations: 5.058 MB / 1.293 GB, free: 15.72 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02927/1.644, allocations: 14.21 MB / 1.307 GB, free: 1.469 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/1.655, allocations: 3.53 MB / 1.311 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/1.672, allocations: 4.507 MB / 1.315 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/1.682, allocations: 3.578 MB / 1.319 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002345/1.684, allocations: 204 kB / 1.319 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/1.696, allocations: 2.207 MB / 1.321 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003306/1.699, allocations: 1.042 MB / 1.322 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/1.703, allocations: 1.034 MB / 1.323 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/1.719, allocations: 5.903 MB / 1.329 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/1.719, allocations: 0 / 1.329 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.196e-06/1.719, allocations: 0 / 1.329 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003261/1.719, allocations: 0 / 1.329 GB, free: 11.34 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.0271/1.747, allocations: 5.177 MB / 1.334 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/1.747, allocations: 8.031 kB / 1.334 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.757, allocations: 0.9925 MB / 1.335 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0183/1.775, allocations: 3.83 MB / 1.339 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001919/1.777, allocations: 358.2 kB / 1.339 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/1.779, allocations: 295.9 kB / 1.339 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/1.796, allocations: 3.263 MB / 1.342 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/1.796, allocations: 11.94 kB / 1.342 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007472/1.797, allocations: 108 kB / 1.342 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/1.797, allocations: 68 kB / 1.343 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/1.813, allocations: 2.706 MB / 1.345 GB, free: 10.21 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.05584/1.869, allocations: 18.18 MB / 1.363 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/1.878, allocations: 1.95 MB / 1.365 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/1.882, allocations: 1.086 MB / 1.366 GB, free: 3.352 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.01325/1.895, allocations: 3.877 MB / 1.37 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.895, allocations: 55.81 kB / 1.37 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005797/1.901, allocations: 0.8375 MB / 1.371 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.165e-05/1.901, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.05038/1.952, allocations: 7.64 MB / 1.378 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/1.952, allocations: 304 kB / 1.378 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009487/1.961, allocations: 3.999 MB / 1.382 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006612/1.962, allocations: 65.7 kB / 1.382 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003232/1.965, allocations: 2.21 MB / 1.384 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.966, allocations: 0.5121 MB / 1.385 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.967, allocations: 44 kB / 1.385 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.967, allocations: 394.3 kB / 1.385 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004205/1.971, allocations: 0.9725 MB / 1.386 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005173/1.976, allocations: 1.842 MB / 1.388 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/1.981, allocations: 1.181 MB / 1.389 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.981, allocations: 8 kB / 1.389 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0184/2, allocations: 3.739 MB / 1.393 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006435/2, allocations: 0.6591 MB / 1.394 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.516e-05/2, allocations: 23.98 kB / 1.394 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/2.006, allocations: 0.6381 MB / 1.394 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/2.011, allocations: 0.5383 MB / 1.395 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.024, allocations: 5.297 MB / 1.4 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/2.031, allocations: 352.7 kB / 1.4 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007806/2.032, allocations: 123.9 kB / 1.4 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.032, allocations: 6.031 kB / 1.4 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01652/2.048, allocations: 3.142 MB / 1.403 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/2.049, allocations: 27.98 kB / 1.403 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005681/2.054, allocations: 0.5915 MB / 1.404 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/2.059, allocations: 0.5109 MB / 1.405 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/2.074, allocations: 6.702 MB / 1.411 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/2.081, allocations: 334 kB / 1.411 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007239/2.082, allocations: 127.9 kB / 1.411 GB, free: 2.781 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.003266/2.085, allocations: 0.8675 MB / 1.412 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/2.087, allocations: 446.4 kB / 1.413 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/2.101, allocations: 3.017 MB / 1.416 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/2.101, allocations: 27.92 kB / 1.416 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/2.101, allocations: 8 kB / 1.416 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01055/2.112, allocations: 2.287 MB / 1.418 GB, free: 12.06 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.02376/2.135, allocations: 5.931 MB / 1.424 GB, free: 6.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/2.136, allocations: 0 / 1.424 GB, free: 6.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/2.139, allocations: 363.6 kB / 1.424 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/2.142, allocations: 365.2 kB / 1.424 GB, free: 5.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004174/2.142, allocations: 51.95 kB / 1.425 GB, free: 5.289 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/2.15, allocations: 4.284 MB / 1.429 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.15, allocations: 0 / 1.429 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6613/2.812, allocations: 3.903 MB / 1.433 GB, free: 339.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003072/2.815, allocations: 0.7396 MB / 1.433 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/2.816, allocations: 40.34 kB / 1.433 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006281/2.823, allocations: 317.2 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/2.823, allocations: 121.8 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/2.824, allocations: 77.23 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008732/2.832, allocations: 2.646 MB / 1.436 GB, free: 338.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.42e-07/2.832, allocations: 0 / 1.436 GB, free: 338.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01259/2.845, allocations: 1.986 MB / 1.438 GB, free: 338.3 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.002818/2.848, allocations: 0.7798 MB / 1.439 GB, free: 338.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01855/2.866, allocations: 4.877 MB / 1.444 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.867, allocations: 1.094 kB / 1.444 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/2.872, allocations: 1.421 MB / 1.445 GB, free: 335.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02108/2.893, allocations: 2.294 MB / 1.447 GB, free: 335 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/2.917, allocations: 8.889 MB / 1.456 GB, free: 330.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004574/2.921, allocations: 2.461 MB / 1.459 GB, free: 329.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008544/2.93, allocations: 0.9309 MB / 1.459 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002335/2.932, allocations: 345.9 kB / 1.46 GB, free: 329.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/2.932, allocations: 1.156 kB / 1.46 GB, free: 329.4 MB / 0.948 GB Notification: Performance of Templates: time 0.21/3.142, allocations: 84.1 MB / 1.542 GB, free: 265.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)