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.2157/0.2182, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.791/2.009, allocations: 0.5067 GB / 1.177 GB, free: 56.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1013/2.111, allocations: 68.83 MB / 1.245 GB, free: 36.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02608/2.137, allocations: 448.2 kB / 1.245 GB, free: 36.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0256/2.162, allocations: 5.708 MB / 1.251 GB, free: 32.75 MB / 0.8262 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.05498/2.217, allocations: 13.17 MB / 1.263 GB, free: 23.63 MB / 0.8262 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.03505/2.252, allocations: 11.67 MB / 1.275 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.05415/2.307, allocations: 31.46 MB / 1.305 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04551/2.352, allocations: 16.75 MB / 1.322 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03412/2.386, allocations: 11.69 MB / 1.333 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02077/2.407, allocations: 9.209 MB / 1.342 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.006604/2.414, allocations: 1.223 MB / 1.343 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02437/2.438, allocations: 7.018 MB / 1.35 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.009016/2.447, allocations: 3.445 MB / 1.354 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01977/2.467, allocations: 6.91 MB / 1.36 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.04601/2.513, allocations: 20.28 MB / 1.38 GB, free: 4.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/2.513, allocations: 4 kB / 1.38 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.953e-06/2.513, allocations: 0 / 1.38 GB, free: 4.688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009226/2.514, allocations: 0 / 1.38 GB, free: 4.688 MB / 0.92 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.04462/2.559, allocations: 13.79 MB / 1.394 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/2.559, allocations: 8.031 kB / 1.394 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/2.573, allocations: 2.179 MB / 1.396 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/2.6, allocations: 10.06 MB / 1.406 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/2.601, allocations: 0.5949 MB / 1.406 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/2.604, allocations: 0.8042 MB / 1.407 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02964/2.634, allocations: 10.26 MB / 1.417 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/2.634, allocations: 23.72 kB / 1.417 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009721/2.635, allocations: 326.6 kB / 1.417 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002709/2.635, allocations: 302.1 kB / 1.418 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/2.661, allocations: 8.54 MB / 1.426 GB, free: 5.531 MB / 0.9669 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.593/3.254, allocations: 44.65 MB / 1.47 GB, free: 430.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/3.273, allocations: 6.048 MB / 1.476 GB, free: 428.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005868/3.279, allocations: 2.763 MB / 1.478 GB, free: 427.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03172/3.31, allocations: 11.17 MB / 1.489 GB, free: 421.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0136/3.324, allocations: 3.962 MB / 1.493 GB, free: 419.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005358/3.329, allocations: 412.9 kB / 1.493 GB, free: 419.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=491): time 4.794e-05/3.329, allocations: 2.625 kB / 1.493 GB, free: 419.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=519): time 0.07715/3.407, allocations: 21.8 MB / 1.515 GB, free: 408.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/3.407, allocations: 0.5889 MB / 1.515 GB, free: 408.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/3.421, allocations: 8.389 MB / 1.523 GB, free: 403.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.00193/3.423, allocations: 152.3 kB / 1.524 GB, free: 403.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.004642/3.428, allocations: 5.027 MB / 1.528 GB, free: 399.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002664/3.431, allocations: 1.744 MB / 1.53 GB, free: 397.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/3.433, allocations: 1.4 MB / 1.532 GB, free: 397.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/3.433, allocations: 305 kB / 1.532 GB, free: 396.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00633/3.44, allocations: 3.055 MB / 1.535 GB, free: 395.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/3.447, allocations: 4.999 MB / 1.54 GB, free: 391.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09549/3.543, allocations: 20.49 MB / 1.56 GB, free: 373.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/3.543, allocations: 12 kB / 1.56 GB, free: 373.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.03543/3.578, allocations: 11.05 MB / 1.571 GB, free: 362.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/3.579, allocations: 123.3 kB / 1.571 GB, free: 362.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-05/3.579, allocations: 43.98 kB / 1.571 GB, free: 362.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/3.589, allocations: 2.14 MB / 1.573 GB, free: 360.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009365/3.598, allocations: 1.841 MB / 1.575 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04228/3.641, allocations: 31.7 MB / 1.606 GB, free: 324.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/3.651, allocations: 0.5937 MB / 1.606 GB, free: 324.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/3.653, allocations: 323.8 kB / 1.606 GB, free: 324 MB / 0.9825 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.01015/3.663, allocations: 4.65 MB / 1.611 GB, free: 319.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006935/3.67, allocations: 4.434 MB / 1.615 GB, free: 314.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08527/3.755, allocations: 17.72 MB / 1.633 GB, free: 295.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.521e-05/3.755, allocations: 14.73 kB / 1.633 GB, free: 295.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization_lambda0): time 0.02018/3.776, allocations: 8.627 MB / 1.641 GB, free: 287 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/3.776, allocations: 123.3 kB / 1.641 GB, free: 286.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/3.776, allocations: 40 kB / 1.641 GB, free: 286.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007771/3.784, allocations: 1.567 MB / 1.643 GB, free: 285.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/3.79, allocations: 1.385 MB / 1.644 GB, free: 283.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/3.805, allocations: 25.02 MB / 1.668 GB, free: 256.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009347/3.814, allocations: 492.7 kB / 1.669 GB, free: 256.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/3.816, allocations: 299.9 kB / 1.669 GB, free: 256.2 MB / 0.9825 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.002386/3.818, allocations: 0.8115 MB / 1.67 GB, free: 255.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00337/3.822, allocations: 0.9413 MB / 1.671 GB, free: 254.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/3.847, allocations: 9.658 MB / 1.68 GB, free: 244.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/3.847, allocations: 59.98 kB / 1.68 GB, free: 244.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/3.847, allocations: 4 kB / 1.68 GB, free: 244.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02161/3.869, allocations: 7.891 MB / 1.688 GB, free: 236.5 MB / 0.9825 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.0454/3.914, allocations: 18.35 MB / 1.706 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/3.914, allocations: 4 kB / 1.706 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005121/3.919, allocations: 1.022 MB / 1.707 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004713/3.924, allocations: 1.799 MB / 1.709 GB, free: 215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000981/3.925, allocations: 183.9 kB / 1.709 GB, free: 214.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03902/3.964, allocations: 34.75 MB / 1.743 GB, free: 177.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/3.964, allocations: 4 kB / 1.743 GB, free: 177.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/3.998, allocations: 12.76 MB / 1.755 GB, free: 164.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006283/4.005, allocations: 1.68 MB / 1.757 GB, free: 163.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/4.007, allocations: 128 kB / 1.757 GB, free: 163 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008123/4.016, allocations: 447.4 kB / 1.758 GB, free: 162.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/4.017, allocations: 407.6 kB / 1.758 GB, free: 162.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005602/4.017, allocations: 215.8 kB / 1.758 GB, free: 161.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01022/4.028, allocations: 5.55 MB / 1.764 GB, free: 156.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.72e-07/4.028, allocations: 0 / 1.764 GB, free: 156.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.02537/4.053, allocations: 4.824 MB / 1.768 GB, free: 151.7 MB / 0.9825 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.00603/4.059, allocations: 2.576 MB / 1.771 GB, free: 149.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.03829/4.097, allocations: 16.76 MB / 1.787 GB, free: 132.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/4.097, allocations: 4.656 kB / 1.787 GB, free: 132.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/4.11, allocations: 5.538 MB / 1.793 GB, free: 126.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02435/4.135, allocations: 5.046 MB / 1.798 GB, free: 121.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04426/4.179, allocations: 21.64 MB / 1.819 GB, free: 100.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005381/4.185, allocations: 5.484 MB / 1.824 GB, free: 94.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01335/4.198, allocations: 2.595 MB / 1.827 GB, free: 92.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004469/4.202, allocations: 0.7725 MB / 1.827 GB, free: 91.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.064e-06/4.202, allocations: 0 / 1.827 GB, free: 91.24 MB / 0.9825 GB Notification: Performance of Templates: time 0.8422/5.045, allocations: 224.7 MB / 2.047 GB, free: 335.7 MB / 0.9825 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)