Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6325/0.6346, allocations: 80.82 MB / 0.5904 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.788/2.422, allocations: 0.5067 GB / 1.097 GB, free: 44.87 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1256/2.548, allocations: 68.85 MB / 1.164 GB, free: 39.47 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03179/2.58, allocations: 442.9 kB / 1.165 GB, free: 39.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.02361/2.604, allocations: 5.697 MB / 1.17 GB, free: 36.95 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeBindings: time 0.05962/2.663, allocations: 13.17 MB / 1.183 GB, free: 29.83 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'allOff.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'allOff.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'allOff.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'boilerOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'boilerOn.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'boilerOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'pumpsOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'pumpsOn.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'pumpsOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. Notification: Performance of NFTyping.typeClassSections: time 0.04074/2.704, allocations: 11.67 MB / 1.195 GB, free: 22.01 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.05969/2.764, allocations: 31.42 MB / 1.225 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04236/2.806, allocations: 16.75 MB / 1.242 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03829/2.845, allocations: 11.45 MB / 1.253 GB, free: 12.1 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02291/2.868, allocations: 9.199 MB / 1.262 GB, free: 3.578 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.008319/2.876, allocations: 1.227 MB / 1.263 GB, free: 2.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02899/2.905, allocations: 7 MB / 1.27 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.009558/2.914, allocations: 3.428 MB / 1.273 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.02234/2.937, allocations: 6.908 MB / 1.28 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.05347/2.99, allocations: 19.99 MB / 1.299 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/2.99, allocations: 0 / 1.299 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.028e-06/2.991, allocations: 0 / 1.299 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.001247/2.992, allocations: 3.938 kB / 1.299 GB, free: 14.2 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1943 * Number of variables: 1943 Notification: Performance of Generate backend data structure: time 0.04983/3.042, allocations: 13.77 MB / 1.313 GB, free: 428 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/3.042, allocations: 12.03 kB / 1.313 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/3.057, allocations: 2.195 MB / 1.315 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03116/3.088, allocations: 9.574 MB / 1.324 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000785/3.089, allocations: 0.5973 MB / 1.325 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00407/3.093, allocations: 0.8153 MB / 1.326 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03702/3.13, allocations: 10.26 MB / 1.336 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/3.13, allocations: 19.81 kB / 1.336 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/3.132, allocations: 318.8 kB / 1.336 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003242/3.133, allocations: 306.1 kB / 1.336 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02915/3.162, allocations: 8.539 MB / 1.345 GB, free: 15.52 MB / 0.8887 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.5679/3.73, allocations: 44.97 MB / 1.389 GB, free: 436.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/3.749, allocations: 6.057 MB / 1.395 GB, free: 435.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/3.755, allocations: 2.739 MB / 1.397 GB, free: 434.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/3.786, allocations: 11.17 MB / 1.408 GB, free: 428.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01252/3.799, allocations: 3.963 MB / 1.412 GB, free: 426.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005238/3.804, allocations: 406.7 kB / 1.412 GB, free: 426.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=491): time 3.038e-05/3.804, allocations: 0 / 1.412 GB, free: 426.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=519): time 0.08645/3.89, allocations: 21.81 MB / 1.434 GB, free: 415.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003231/3.891, allocations: 0.5922 MB / 1.434 GB, free: 414.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02194/3.913, allocations: 8.388 MB / 1.442 GB, free: 410.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.002488/3.915, allocations: 154.5 kB / 1.443 GB, free: 410.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.006662/3.922, allocations: 5.052 MB / 1.448 GB, free: 406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.003156/3.925, allocations: 1.752 MB / 1.449 GB, free: 404.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/3.928, allocations: 1.397 MB / 1.451 GB, free: 403.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/3.928, allocations: 306.9 kB / 1.451 GB, free: 403 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006902/3.935, allocations: 3.056 MB / 1.454 GB, free: 400 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009596/3.945, allocations: 4.997 MB / 1.459 GB, free: 394.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09547/4.041, allocations: 20.54 MB / 1.479 GB, free: 373.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/4.041, allocations: 8 kB / 1.479 GB, free: 373.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.03704/4.078, allocations: 11.05 MB / 1.49 GB, free: 362.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/4.078, allocations: 119.4 kB / 1.49 GB, free: 362.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-05/4.078, allocations: 47.98 kB / 1.49 GB, free: 362.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009645/4.088, allocations: 2.14 MB / 1.492 GB, free: 360.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009337/4.097, allocations: 1.841 MB / 1.494 GB, free: 358.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04179/4.139, allocations: 31.71 MB / 1.525 GB, free: 324.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/4.151, allocations: 0.6053 MB / 1.525 GB, free: 324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/4.154, allocations: 323.8 kB / 1.526 GB, free: 323.7 MB / 0.9044 GB Warning: Assuming fixed start value for the following 7 variables: rad.vol[1].dynBal.U:VARIABLE(start = rad.vol[1].dynBal.fluidVolume * rad.vol[1].dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.setState_pTX(rad.vol[1].dynBal.p_start, rad.vol[1].dynBal.T_start, {})) + (rad.vol[1].dynBal.T_start - 273.15) * rad.vol[1].dynBal.CSen unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real [5] pumRad.vol.dynBal.U:VARIABLE(start = pumRad.vol.dynBal.fluidVolume * pumRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.setState_pTX(pumRad.vol.dynBal.p_start, pumRad.vol.dynBal.T_start, {})) + (pumRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix.vol.dynBal.U:VARIABLE(start = mix.vol.dynBal.fluidVolume * mix.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.setState_pTX(mix.vol.dynBal.p_start, mix.vol.dynBal.T_start, {})) + (mix.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl.vol.dynBal.U:VARIABLE(start = spl.vol.dynBal.fluidVolume * spl.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.setState_pTX(spl.vol.dynBal.p_start, spl.vol.dynBal.T_start, {})) + (spl.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix2.vol.dynBal.U:VARIABLE(start = mix2.vol.dynBal.fluidVolume * mix2.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.setState_pTX(mix2.vol.dynBal.p_start, mix2.vol.dynBal.T_start, {})) + (mix2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real valRad.vol.dynBal.U:VARIABLE(start = valRad.vol.dynBal.fluidVolume * valRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.setState_pTX(valRad.vol.dynBal.p_start, valRad.vol.dynBal.T_start, {})) + (valRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl1.vol.dynBal.U:VARIABLE(start = spl1.vol.dynBal.fluidVolume * spl1.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.setState_pTX(spl1.vol.dynBal.p_start, spl1.vol.dynBal.T_start, {})) + (spl1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01284/4.167, allocations: 4.655 MB / 1.53 GB, free: 319 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007949/4.175, allocations: 4.434 MB / 1.534 GB, free: 313.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08399/4.259, allocations: 17.77 MB / 1.552 GB, free: 295.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.053e-05/4.259, allocations: 12 kB / 1.552 GB, free: 295.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=827) (initialization_lambda0): time 0.02132/4.28, allocations: 8.64 MB / 1.56 GB, free: 286.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/4.28, allocations: 115.3 kB / 1.56 GB, free: 286.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.574e-05/4.28, allocations: 40 kB / 1.56 GB, free: 286.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007779/4.288, allocations: 1.571 MB / 1.562 GB, free: 284.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/4.294, allocations: 1.381 MB / 1.563 GB, free: 283.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/4.31, allocations: 25.04 MB / 1.588 GB, free: 256.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/4.322, allocations: 492.8 kB / 1.588 GB, free: 256.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/4.324, allocations: 299.9 kB / 1.588 GB, free: 255.8 MB / 0.9044 GB Warning: Assuming fixed start value for the following 7 variables: rad.vol[1].dynBal.U:VARIABLE(start = rad.vol[1].dynBal.fluidVolume * rad.vol[1].dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.setState_pTX(rad.vol[1].dynBal.p_start, rad.vol[1].dynBal.T_start, {})) + (rad.vol[1].dynBal.T_start - 273.15) * rad.vol[1].dynBal.CSen unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real [5] pumRad.vol.dynBal.U:VARIABLE(start = pumRad.vol.dynBal.fluidVolume * pumRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.setState_pTX(pumRad.vol.dynBal.p_start, pumRad.vol.dynBal.T_start, {})) + (pumRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix.vol.dynBal.U:VARIABLE(start = mix.vol.dynBal.fluidVolume * mix.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.setState_pTX(mix.vol.dynBal.p_start, mix.vol.dynBal.T_start, {})) + (mix.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl.vol.dynBal.U:VARIABLE(start = spl.vol.dynBal.fluidVolume * spl.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.setState_pTX(spl.vol.dynBal.p_start, spl.vol.dynBal.T_start, {})) + (spl.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix2.vol.dynBal.U:VARIABLE(start = mix2.vol.dynBal.fluidVolume * mix2.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.setState_pTX(mix2.vol.dynBal.p_start, mix2.vol.dynBal.T_start, {})) + (mix2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real valRad.vol.dynBal.U:VARIABLE(start = valRad.vol.dynBal.fluidVolume * valRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.setState_pTX(valRad.vol.dynBal.p_start, valRad.vol.dynBal.T_start, {})) + (valRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl1.vol.dynBal.U:VARIABLE(start = spl1.vol.dynBal.fluidVolume * spl1.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.setState_pTX(spl1.vol.dynBal.p_start, spl1.vol.dynBal.T_start, {})) + (spl1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,pumpsOn.oldActive,$PRE.pumpsOn.oldActive,boilerOn.oldActive,$PRE.boilerOn.oldActive,allOff.oldActive,$PRE.allOff.oldActive,$PRE.timTab.nextTimeEvent,$whenCondition1,boilerOn.outPort[1].checkOneDelayedTransitionPerLoop,allOff.node.suspend,allOff.node.resume,$PRE.T4.t_start,$PRE.T3.t_start,$PRE.weaDat.conTim.tStart,$PRE.weaDat.conTim1.tStart,pumpsOn.outport_fire,pumpsOn.inport_fire,pumpsOn.newActive,$PRE.pumpsOn.newActive,pumpsOn.active,pumpsOn.outPort[2].available,T4.t_start,T4.enableFire,T4.fire,and1.y,greThrTROut.y,greThrTRoo.y,T3.t_start,T3.enableFire,T3.fire,greThrBoi.y,T2.enableFire,boilerOn.outport_fire,boilerOn.inport_fire,boilerOn.newActive,$PRE.boilerOn.newActive,boilerOn.active,lessThreshold2.y,lessThreshold1.y,lessThreshold.y,T1.enableFire,T1.conditionPort,allOff.outport_fire,allOff.inport_fire,allOff.newActive,$PRE.allOff.newActive,allOff.active,weaDat.conTim.tStart,weaDat.conTim1.tStart,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,T4.condition,T3.condition,T2.condition,T1.condition,T4.outPort.checkOneDelayedTransitionPerLoop,T3.outPort.checkOneDelayedTransitionPerLoop,pumpsOn.inPort[1].checkOneDelayedTransitionPerLoop,pumpsOn.outPort[2].checkOneDelayedTransitionPerLoop,pumpsOn.inPort[2].checkUnaryConnection,pumpsOn.inPort[1].checkUnaryConnection,boilerOn.inPort[1].checkUnaryConnection,allOff.inPort[1].checkUnaryConnection,conPIDRad.I.local_reset,conPIDBoi.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 723 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (5,6), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00267/4.326, allocations: 0.8018 MB / 1.589 GB, free: 255 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003623/4.33, allocations: 0.9375 MB / 1.59 GB, free: 254.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/4.357, allocations: 9.666 MB / 1.6 GB, free: 244.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/4.357, allocations: 63.97 kB / 1.6 GB, free: 244.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/4.357, allocations: 4 kB / 1.6 GB, free: 244.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02313/4.38, allocations: 7.893 MB / 1.607 GB, free: 236.1 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 postOpt removeSimpleEquations (simulation): time 0.0484/4.429, allocations: 18.38 MB / 1.625 GB, free: 217.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/4.429, allocations: 7.844 kB / 1.625 GB, free: 217.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005036/4.434, allocations: 1.015 MB / 1.626 GB, free: 216.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004653/4.439, allocations: 1.828 MB / 1.628 GB, free: 214.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/4.44, allocations: 171.8 kB / 1.628 GB, free: 214.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03939/4.479, allocations: 34.74 MB / 1.662 GB, free: 177.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/4.479, allocations: 8 kB / 1.662 GB, free: 177.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/4.515, allocations: 12.76 MB / 1.675 GB, free: 164.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00581/4.521, allocations: 1.68 MB / 1.676 GB, free: 162.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003942/4.525, allocations: 140 kB / 1.676 GB, free: 162.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007974/4.533, allocations: 451.5 kB / 1.677 GB, free: 162.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/4.534, allocations: 407.6 kB / 1.677 GB, free: 161.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001327/4.536, allocations: 211.9 kB / 1.677 GB, free: 161.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.01202/4.548, allocations: 5.542 MB / 1.683 GB, free: 155.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/4.548, allocations: 0 / 1.683 GB, free: 155.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.02859/4.576, allocations: 4.831 MB / 1.688 GB, free: 151.2 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 38 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.vol.dynBal.m,pumRad.filter.x[1],pumRad.filter.x[2],mix.vol.dynBal.U,mix.vol.dynBal.m,spl.vol.dynBal.U,spl.vol.dynBal.m,spl2.vol.dynBal.U,mix2.vol.dynBal.U,mix2.vol.dynBal.m,spl4.vol.dynBal.U,spl4.vol.dynBal.m,pumBoi.vol.dynBal.U,pumBoi.filter.x[1],pumBoi.filter.x[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.vol.dynBal.m,valRad.filter.x[1],valRad.filter.x[2],valBoi.vol.dynBal.U,valBoi.filter.x[1],valBoi.filter.x[2],temRet.T,spl1.vol.dynBal.U,spl1.vol.dynBal.m,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 41 (T4.enableFire,T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTim1.tStart,weaDat.conTim.tStart,allOff.active,allOff.newActive,allOff.oldActive,allOff.inport_fire,allOff.outport_fire,T1.conditionPort,T1.enableFire,lessThreshold.y,lessThreshold1.y,lessThreshold2.y,boilerOn.active,boilerOn.newActive,boilerOn.oldActive,boilerOn.inport_fire,boilerOn.outport_fire,T2.enableFire,greThrBoi.y,T3.fire,T3.t_start,greThrTRoo.y,greThrTROut.y,and1.y,T4.fire,T4.t_start,pumpsOn.outPort[2].available,pumpsOn.active,pumpsOn.newActive,pumpsOn.oldActive,pumpsOn.inport_fire,pumpsOn.outport_fire) * Number of discrete states: 7 (timTab.nextTimeEvent,weaDat.conTim.tStart,weaDat.conTim1.tStart,allOff.newActive,boilerOn.newActive,pumpsOn.newActive,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (517): * Single equations (assignments): 471 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 21 systems {(1,3), (1,1), (1,4), (1,4), (1,4), (1,4), (1,4), (1,3), (1,4), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007807/4.584, allocations: 2.576 MB / 1.69 GB, free: 149.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.06179/4.646, allocations: 22.25 MB / 1.712 GB, free: 126.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/4.646, allocations: 8.594 kB / 1.712 GB, free: 126.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/4.658, allocations: 5.538 MB / 1.717 GB, free: 120.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02607/4.684, allocations: 5.047 MB / 1.722 GB, free: 116 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04553/4.73, allocations: 21.91 MB / 1.744 GB, free: 93.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005/4.735, allocations: 5.488 MB / 1.749 GB, free: 88.46 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.01133/4.746, allocations: 2.603 MB / 1.751 GB, free: 85.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/4.749, allocations: 0.7647 MB / 1.752 GB, free: 85.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.003e-06/4.749, allocations: 0 / 1.752 GB, free: 85.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.7458/5.495, allocations: 228.6 MB / 1.975 GB, free: 316.4 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)