Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8662/0.8662, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 179.8 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.2 MB / 447.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008548, allocations: 104.2 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001906, allocations: 262.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004529, allocations: 11.41 kB / 0.6928 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/1.735, allocations: 0.5222 GB / 1.296 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.735, allocations: 98.28 kB / 1.296 GB, free: 126.3 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 17.81/19.55, allocations: 4.404 GB / 5.7 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/19.55, allocations: 0 / 5.7 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.002381/19.55, allocations: 341.6 kB / 5.7 GB, free: 51.97 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2530 * Number of variables: 2530 Notification: Performance of Generate backend data structure: time 0.06535/19.62, allocations: 15.25 MB / 5.715 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/19.62, allocations: 7.312 kB / 5.715 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/19.63, allocations: 2.311 MB / 5.717 GB, free: 45.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05882/19.69, allocations: 21.53 MB / 5.738 GB, free: 43.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/19.69, allocations: 0.8055 MB / 5.739 GB, free: 43.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005485/19.7, allocations: 0.975 MB / 5.74 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/19.74, allocations: 13.56 MB / 5.753 GB, free: 41.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009677/19.74, allocations: 40.22 kB / 5.753 GB, free: 41.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004741/19.75, allocations: 418.4 kB / 5.754 GB, free: 41.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005741/19.75, allocations: 428.3 kB / 5.754 GB, free: 41.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03415/19.78, allocations: 11.42 MB / 5.765 GB, free: 41.68 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1173/19.9, allocations: 61.06 MB / 5.825 GB, free: 27.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/19.92, allocations: 9.359 MB / 5.834 GB, free: 27.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05038/19.97, allocations: 18.42 MB / 5.852 GB, free: 18.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009071/19.98, allocations: 4.11 MB / 5.856 GB, free: 16.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009316/19.99, allocations: 0.8568 MB / 5.857 GB, free: 16.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=563): time 4.308e-05/19.99, allocations: 0 / 5.857 GB, free: 16.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=590): time 0.1569/20.15, allocations: 40.72 MB / 5.897 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003356/20.15, allocations: 0.4936 MB / 5.897 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7144/20.86, allocations: 9.676 MB / 5.907 GB, free: 86.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001454/20.86, allocations: 144.8 kB / 5.907 GB, free: 86.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006254/20.87, allocations: 5.866 MB / 5.913 GB, free: 85.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003084/20.87, allocations: 2.056 MB / 5.915 GB, free: 85.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000519/20.87, allocations: 141.1 kB / 5.915 GB, free: 85.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004021/20.87, allocations: 0.5887 MB / 5.915 GB, free: 85.15 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006747/20.88, allocations: 3.368 MB / 5.919 GB, free: 85.13 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007659/20.89, allocations: 5.437 MB / 5.924 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/20.9, allocations: 4.573 MB / 5.928 GB, free: 82.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.804e-05/20.9, allocations: 18.09 kB / 5.928 GB, free: 82.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01964/20.92, allocations: 10.85 MB / 5.939 GB, free: 81.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005569/20.92, allocations: 32.52 MB / 5.971 GB, free: 47.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/20.92, allocations: 58.03 kB / 5.971 GB, free: 47.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/20.93, allocations: 0.9646 MB / 5.972 GB, free: 47.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009078/20.93, allocations: 1.866 MB / 5.974 GB, free: 47.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/20.95, allocations: 21.02 MB / 5.994 GB, free: 32.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/20.96, allocations: 1.046 MB / 5.995 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/20.97, allocations: 330.3 kB / 5.995 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/20.97, allocations: 4.281 kB / 5.995 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.023/20.99, allocations: 9.956 MB / 6.005 GB, free: 32.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002916/20.99, allocations: 59.5 kB / 6.005 GB, free: 32.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/20.99, allocations: 0.964 MB / 6.006 GB, free: 32.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009458/21, allocations: 1.848 MB / 6.008 GB, free: 32.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/21.02, allocations: 21.02 MB / 6.028 GB, free: 17.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0149/21.03, allocations: 0.936 MB / 6.029 GB, free: 17.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/21.03, allocations: 326.7 kB / 6.03 GB, free: 17.64 MB / 0.9011 GB Warning: Assuming fixed start value for the following 30 variables: pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (-273.15 + pipe4.vol[2].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (-273.15 + pipe4.vol[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (-273.15 + pipe3.vol[2].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (-273.15 + pipe3.vol[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (-273.15 + storage.vol_HX_1.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (-273.15 + storage.vol_top.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (-273.15 + storage.vol_bot.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (-273.15 + storage.vol[8].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[7].dynBal.U:VARIABLE(start = storage.vol[7].dynBal.fluidVolume * storage.vol[7].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (-273.15 + storage.vol[7].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[6].dynBal.U:VARIABLE(start = storage.vol[6].dynBal.fluidVolume * storage.vol[6].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (-273.15 + storage.vol[6].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[5].dynBal.U:VARIABLE(start = storage.vol[5].dynBal.fluidVolume * storage.vol[5].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (-273.15 + storage.vol[5].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (-273.15 + storage.vol[4].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (-273.15 + storage.vol[3].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (-273.15 + storage.vol[2].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (-273.15 + storage.vol[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (-273.15 + pipe2.vol[2].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (-273.15 + pipe2.vol[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (-273.15 + pipe1.vol[2].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (-273.15 + pipe1.vol[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] collector.cp_solid[10].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[9].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[8].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[7].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[6].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[5].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[4].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[3].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[2].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[1].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (-273.15 + pump.vol.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 262 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,$PRE.control.y,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 839 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01431/21.05, allocations: 5.039 MB / 6.035 GB, free: 17.28 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004568/21.05, allocations: 0.9857 MB / 6.036 GB, free: 16.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02475/21.08, allocations: 9.374 MB / 6.045 GB, free: 16.28 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/21.08, allocations: 62.52 kB / 6.045 GB, free: 16.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/21.08, allocations: 12.78 kB / 6.045 GB, free: 16.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01549/21.09, allocations: 7.346 MB / 6.052 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06673/21.16, allocations: 22 MB / 6.073 GB, free: 29.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/21.16, allocations: 3.891 kB / 6.073 GB, free: 29.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007152/21.17, allocations: 1.328 MB / 6.075 GB, free: 29.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/21.17, allocations: 0.8814 MB / 6.076 GB, free: 29.58 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001262/21.17, allocations: 163.9 kB / 6.076 GB, free: 29.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/21.19, allocations: 20.89 MB / 6.096 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/21.19, allocations: 8.766 kB / 6.096 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03081/21.22, allocations: 14.5 MB / 6.11 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009389/21.23, allocations: 2.276 MB / 6.113 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004239/21.23, allocations: 128.3 kB / 6.113 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01071/21.24, allocations: 0.7523 MB / 6.113 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/21.25, allocations: 392.3 kB / 6.114 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/21.25, allocations: 225 kB / 6.114 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01699/21.26, allocations: 7.418 MB / 6.121 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-07/21.26, allocations: 0 / 6.121 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03205/21.3, allocations: 5.94 MB / 6.127 GB, free: 11.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 34 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,storage.vol_HX_1.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (544): * Single equations (assignments): 528 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008271/21.3, allocations: 3.148 MB / 6.13 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02701/21.33, allocations: 16.38 MB / 6.146 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/21.33, allocations: 8.219 kB / 6.146 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008489/21.34, allocations: 5.494 MB / 6.151 GB, free: 22.96 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02937/21.37, allocations: 5.675 MB / 6.157 GB, free: 22.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06171/21.43, allocations: 29.96 MB / 6.186 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01561/21.45, allocations: 8.034 MB / 6.194 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02334/21.47, allocations: 4.729 MB / 6.199 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005398/21.48, allocations: 0.8337 MB / 6.2 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of SimCode: time 2.034e-06/21.48, allocations: 0 / 6.2 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of Templates: time 1.605/23.08, allocations: 216 MB / 6.41 GB, free: 107.9 MB / 0.948 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.sim & ./BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1)