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.7862/0.7862, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001002/0.001002, allocations: 180.6 kB / 182.2 MB, free: 9.477 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.583/1.583, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009025/0.0009025, allocations: 92.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 275.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.628e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4568, allocations: 82.77 MB / 0.7573 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.956, allocations: 0.5215 GB / 1.279 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.956, allocations: 89.52 kB / 1.279 GB, free: 148.6 MB / 0.698 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.5/19.45, allocations: 4.373 GB / 5.652 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.504e-06/19.45, allocations: 0 / 5.652 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.003177/19.46, allocations: 339.1 kB / 5.652 GB, free: 42.39 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2530 * Number of variables: 2530 Notification: Performance of Generate backend data structure: time 0.05564/19.51, allocations: 12.59 MB / 5.664 GB, free: 37.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/19.51, allocations: 11.73 kB / 5.664 GB, free: 37.15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/19.53, allocations: 2.307 MB / 5.667 GB, free: 36.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06404/19.59, allocations: 21.37 MB / 5.687 GB, free: 34.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/19.6, allocations: 499.8 kB / 5.688 GB, free: 34.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00537/19.6, allocations: 0.5651 MB / 5.689 GB, free: 34.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03261/19.63, allocations: 10.21 MB / 5.698 GB, free: 34.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04389/19.68, allocations: 11.79 MB / 5.71 GB, free: 33.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008833/19.68, allocations: 38.91 kB / 5.71 GB, free: 33.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004657/19.68, allocations: 19 kB / 5.71 GB, free: 33.06 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005737/19.68, allocations: 427.6 kB / 5.71 GB, free: 33.04 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.1127/19.8, allocations: 59.47 MB / 5.769 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/19.81, allocations: 8.367 MB / 5.777 GB, free: 18.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007536/19.82, allocations: 4.304 MB / 5.781 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04614/19.87, allocations: 18.08 MB / 5.799 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007363/19.87, allocations: 3.697 MB / 5.802 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01023/19.89, allocations: 0.7263 MB / 5.803 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=558): time 5.243e-05/19.89, allocations: 2.594 kB / 5.803 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 1.197/21.08, allocations: 42.2 MB / 5.844 GB, free: 66.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/21.08, allocations: 0.4965 MB / 5.845 GB, free: 65.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02507/21.11, allocations: 8.502 MB / 5.853 GB, free: 65.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001925/21.11, allocations: 33.33 kB / 5.853 GB, free: 65.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.008459/21.12, allocations: 5.818 MB / 5.859 GB, free: 63.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003731/21.12, allocations: 1.942 MB / 5.861 GB, free: 62.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005735/21.12, allocations: 0 / 5.861 GB, free: 62.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004959/21.12, allocations: 0.5908 MB / 5.861 GB, free: 62.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/21.13, allocations: 2.965 MB / 5.864 GB, free: 62.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006539/21.13, allocations: 4.977 MB / 5.869 GB, free: 59.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02566/21.16, allocations: 6.247 MB / 5.875 GB, free: 59.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/21.16, allocations: 16.09 kB / 5.875 GB, free: 59.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.0469/21.21, allocations: 11.65 MB / 5.886 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.008795/21.22, allocations: 32.14 MB / 5.918 GB, free: 25.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002674/21.22, allocations: 56.81 kB / 5.918 GB, free: 25.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/21.22, allocations: 0.9313 MB / 5.919 GB, free: 25.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009687/21.23, allocations: 1.842 MB / 5.92 GB, free: 25.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/21.25, allocations: 19.85 MB / 5.94 GB, free: 27.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/21.26, allocations: 0.905 MB / 5.941 GB, free: 27.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/21.27, allocations: 333.4 kB / 5.941 GB, free: 27.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/21.27, allocations: 3.281 kB / 5.941 GB, free: 27.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04139/21.31, allocations: 10.62 MB / 5.951 GB, free: 27.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003229/21.31, allocations: 57.94 kB / 5.952 GB, free: 27.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/21.31, allocations: 0.9209 MB / 5.952 GB, free: 27.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009147/21.32, allocations: 1.836 MB / 5.954 GB, free: 27.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/21.34, allocations: 19.97 MB / 5.974 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/21.35, allocations: 0.7889 MB / 5.974 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/21.35, allocations: 325.4 kB / 5.975 GB, free: 13.17 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (842): * Single equations (assignments): 830 * 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%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005448/21.36, allocations: 1.11 MB / 5.976 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005016/21.37, allocations: 0.9556 MB / 5.977 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/21.41, allocations: 10.09 MB / 5.987 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/21.41, allocations: 57.75 kB / 5.987 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-05/21.41, allocations: 15.42 kB / 5.987 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03229/21.44, allocations: 8.476 MB / 5.995 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08041/21.52, allocations: 21.52 MB / 6.016 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/21.52, allocations: 3.344 kB / 6.016 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007229/21.53, allocations: 1.311 MB / 6.017 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/21.53, allocations: 0.847 MB / 6.018 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001542/21.53, allocations: 89.64 kB / 6.018 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/21.55, allocations: 19.75 MB / 6.037 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/21.55, allocations: 6 kB / 6.038 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04542/21.59, allocations: 15.08 MB / 6.052 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/21.6, allocations: 2.218 MB / 6.054 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005757/21.61, allocations: 31.2 kB / 6.054 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/21.62, allocations: 0.6216 MB / 6.055 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003324/21.63, allocations: 390.6 kB / 6.055 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002405/21.63, allocations: 215.6 kB / 6.056 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01833/21.65, allocations: 6.473 MB / 6.062 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.553e-06/21.65, allocations: 0 / 6.062 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.04345/21.69, allocations: 5.593 MB / 6.067 GB, free: 8.301 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (534): * Single equations (assignments): 518 * 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%) 22,(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} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/21.7, allocations: 2.916 MB / 6.07 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03149/21.73, allocations: 15.02 MB / 6.085 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.312e-05/21.73, allocations: 9.625 kB / 6.085 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009932/21.74, allocations: 5.014 MB / 6.09 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0343/21.78, allocations: 5.15 MB / 6.095 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05319/21.83, allocations: 21.32 MB / 6.116 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/21.84, allocations: 8.03 MB / 6.123 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02473/21.87, allocations: 6.9 MB / 6.13 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/21.87, allocations: 0.6087 MB / 6.131 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/21.87, allocations: 0 / 6.131 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of Templates: time 1.195/23.06, allocations: 200.9 MB / 6.327 GB, free: 99.72 MB / 0.9323 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)