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.2129/0.2149, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.951/2.166, allocations: 0.5067 GB / 1.177 GB, free: 56.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1175/2.284, allocations: 68.84 MB / 1.245 GB, free: 36.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02692/2.311, allocations: 444.3 kB / 1.245 GB, free: 36.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.02147/2.333, allocations: 5.701 MB / 1.251 GB, free: 32.73 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.05203/2.385, allocations: 13.17 MB / 1.263 GB, free: 23.64 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.03572/2.42, allocations: 11.68 MB / 1.275 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.05457/2.475, allocations: 31.45 MB / 1.305 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03991/2.515, allocations: 16.76 MB / 1.322 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03388/2.549, allocations: 11.5 MB / 1.333 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02071/2.57, allocations: 9.199 MB / 1.342 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.007423/2.577, allocations: 1.223 MB / 1.343 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02965/2.607, allocations: 7.027 MB / 1.35 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.008806/2.616, allocations: 3.434 MB / 1.353 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.02042/2.636, allocations: 6.904 MB / 1.36 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.05459/2.691, allocations: 20.29 MB / 1.38 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/2.691, allocations: 4 kB / 1.38 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/2.691, allocations: 3.938 kB / 1.38 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009657/2.692, allocations: 0 / 1.38 GB, free: 4.855 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.04719/2.739, allocations: 13.77 MB / 1.393 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/2.739, allocations: 12.03 kB / 1.394 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/2.754, allocations: 2.183 MB / 1.396 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03244/2.787, allocations: 10.06 MB / 1.405 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006499/2.788, allocations: 0.5961 MB / 1.406 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/2.791, allocations: 0.8034 MB / 1.407 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/2.825, allocations: 10.25 MB / 1.417 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/2.825, allocations: 23.72 kB / 1.417 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/2.826, allocations: 326.4 kB / 1.417 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/2.827, allocations: 306 kB / 1.417 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/2.855, allocations: 8.535 MB / 1.426 GB, free: 5.707 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.6838/3.539, allocations: 44.64 MB / 1.469 GB, free: 430.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/3.56, allocations: 6.058 MB / 1.475 GB, free: 428.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007755/3.568, allocations: 2.757 MB / 1.478 GB, free: 427.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03549/3.604, allocations: 11.16 MB / 1.489 GB, free: 421.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01559/3.619, allocations: 3.973 MB / 1.493 GB, free: 420 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006539/3.626, allocations: 411.9 kB / 1.493 GB, free: 419.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=491): time 4.835e-05/3.626, allocations: 0 / 1.493 GB, free: 419.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=519): time 0.07853/3.705, allocations: 21.81 MB / 1.514 GB, free: 409 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/3.705, allocations: 0.5964 MB / 1.515 GB, free: 408.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01549/3.72, allocations: 8.382 MB / 1.523 GB, free: 404.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.002454/3.723, allocations: 151.3 kB / 1.523 GB, free: 404 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00545/3.728, allocations: 5.031 MB / 1.528 GB, free: 399.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003028/3.731, allocations: 1.746 MB / 1.53 GB, free: 398.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00282/3.734, allocations: 1.395 MB / 1.531 GB, free: 397.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/3.734, allocations: 305.1 kB / 1.532 GB, free: 397 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007303/3.742, allocations: 3.054 MB / 1.535 GB, free: 395.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/3.752, allocations: 4.998 MB / 1.54 GB, free: 391.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09738/3.849, allocations: 20.48 MB / 1.56 GB, free: 374.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.658e-05/3.849, allocations: 12 kB / 1.56 GB, free: 374.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.03603/3.885, allocations: 11.05 MB / 1.57 GB, free: 362.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/3.886, allocations: 115.4 kB / 1.57 GB, free: 362.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.551e-05/3.886, allocations: 47.98 kB / 1.57 GB, free: 362.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009759/3.895, allocations: 2.138 MB / 1.573 GB, free: 360.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/3.906, allocations: 1.849 MB / 1.574 GB, free: 358.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04238/3.948, allocations: 31.7 MB / 1.605 GB, free: 325.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/3.96, allocations: 0.6014 MB / 1.606 GB, free: 324.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/3.962, allocations: 327.7 kB / 1.606 GB, free: 324.1 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.01095/3.973, allocations: 4.656 MB / 1.611 GB, free: 319.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005999/3.979, allocations: 4.438 MB / 1.615 GB, free: 314.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08356/4.063, allocations: 17.7 MB / 1.632 GB, free: 295.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.932e-05/4.063, allocations: 14.62 kB / 1.632 GB, free: 295.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization_lambda0): time 0.02106/4.084, allocations: 8.631 MB / 1.641 GB, free: 287.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/4.084, allocations: 123.3 kB / 1.641 GB, free: 287 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.574e-05/4.084, allocations: 44 kB / 1.641 GB, free: 287 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007797/4.092, allocations: 1.568 MB / 1.643 GB, free: 285.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00658/4.099, allocations: 1.381 MB / 1.644 GB, free: 284 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/4.115, allocations: 25.02 MB / 1.668 GB, free: 257.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/4.126, allocations: 488.6 kB / 1.669 GB, free: 256.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/4.128, allocations: 307.9 kB / 1.669 GB, free: 256.4 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.002601/4.13, allocations: 0.8073 MB / 1.67 GB, free: 255.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003445/4.134, allocations: 0.9336 MB / 1.671 GB, free: 254.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/4.159, allocations: 9.654 MB / 1.68 GB, free: 244.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/4.16, allocations: 63.98 kB / 1.68 GB, free: 244.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/4.16, allocations: 4 kB / 1.68 GB, free: 244.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02294/4.183, allocations: 7.891 MB / 1.688 GB, free: 236.7 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.04824/4.231, allocations: 18.35 MB / 1.706 GB, free: 218.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-05/4.231, allocations: 7.984 kB / 1.706 GB, free: 218.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00549/4.236, allocations: 1.011 MB / 1.707 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/4.241, allocations: 1.818 MB / 1.709 GB, free: 215.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001342/4.243, allocations: 175.9 kB / 1.709 GB, free: 215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03832/4.281, allocations: 34.74 MB / 1.743 GB, free: 178.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/4.281, allocations: 8 kB / 1.743 GB, free: 178.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03205/4.313, allocations: 12.76 MB / 1.755 GB, free: 165 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005945/4.319, allocations: 1.68 MB / 1.757 GB, free: 163.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002329/4.321, allocations: 128 kB / 1.757 GB, free: 163.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00687/4.328, allocations: 451.5 kB / 1.757 GB, free: 162.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/4.329, allocations: 403.6 kB / 1.758 GB, free: 162.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004774/4.33, allocations: 215.8 kB / 1.758 GB, free: 162.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.009576/4.339, allocations: 5.55 MB / 1.763 GB, free: 156.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.81e-07/4.34, allocations: 0 / 1.763 GB, free: 156.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.02453/4.364, allocations: 4.834 MB / 1.768 GB, free: 151.9 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.006244/4.37, allocations: 2.568 MB / 1.771 GB, free: 149.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.04016/4.41, allocations: 16.76 MB / 1.787 GB, free: 132.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/4.411, allocations: 8.656 kB / 1.787 GB, free: 132.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0128/4.423, allocations: 5.535 MB / 1.792 GB, free: 126.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03017/4.454, allocations: 5.042 MB / 1.797 GB, free: 122.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05416/4.508, allocations: 21.63 MB / 1.818 GB, free: 100.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/4.52, allocations: 5.484 MB / 1.824 GB, free: 94.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0138/4.533, allocations: 2.599 MB / 1.826 GB, free: 92.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003745/4.537, allocations: 0.7686 MB / 1.827 GB, free: 91.43 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/4.537, allocations: 0 / 1.827 GB, free: 91.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.7577/5.295, allocations: 220.5 MB / 2.042 GB, free: 340.1 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)