Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.0009734/0.0009734, allocations: 168.9 kB / 182.2 MB, free: 9.469 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.376/1.376, 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.0009545/0.0009546, allocations: 84.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.001831/0.001832, allocations: 283.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.553e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4385, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.867, allocations: 0.5285 GB / 1.286 GB, free: 166.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.868, allocations: 87.83 kB / 1.286 GB, free: 166.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 21.37/23.24, allocations: 5.027 GB / 6.313 GB, free: 38.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/23.24, allocations: 0 / 6.313 GB, free: 38.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.003645/23.24, allocations: 364 kB / 6.313 GB, free: 38.72 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.06385/23.31, allocations: 13.77 MB / 6.327 GB, free: 32.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/23.31, allocations: 13.81 kB / 6.327 GB, free: 32.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/23.33, allocations: 2.714 MB / 6.33 GB, free: 32.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06731/23.4, allocations: 22.93 MB / 6.352 GB, free: 30.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001129/23.4, allocations: 0.5158 MB / 6.352 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00531/23.4, allocations: 0.618 MB / 6.353 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0308/23.43, allocations: 10.82 MB / 6.364 GB, free: 29.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04184/23.48, allocations: 12.48 MB / 6.376 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006382/23.48, allocations: 38.34 kB / 6.376 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004133/23.48, allocations: 20.77 kB / 6.376 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004099/23.48, allocations: 453.1 kB / 6.376 GB, free: 28.43 MB / 0.8855 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.1114/23.59, allocations: 64.24 MB / 6.439 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/23.61, allocations: 9.129 MB / 6.448 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007397/23.62, allocations: 4.632 MB / 6.452 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05597/23.67, allocations: 19.56 MB / 6.472 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009862/23.68, allocations: 4.052 MB / 6.476 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01086/23.69, allocations: 0.9432 MB / 6.476 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=612): time 5.356e-05/23.69, allocations: 0 / 6.476 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of matching and sorting (n=632): time 1.141/24.84, allocations: 46.79 MB / 6.522 GB, free: 54.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/24.84, allocations: 0.5273 MB / 6.523 GB, free: 54.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02768/24.86, allocations: 9.179 MB / 6.532 GB, free: 53.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002169/24.87, allocations: 36.89 kB / 6.532 GB, free: 53.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01137/24.88, allocations: 6.373 MB / 6.538 GB, free: 51.94 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004783/24.88, allocations: 2.119 MB / 6.54 GB, free: 50.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/24.88, allocations: 2.062 kB / 6.54 GB, free: 50.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001098/24.88, allocations: 0.6101 MB / 6.541 GB, free: 50.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007425/24.89, allocations: 3.21 MB / 6.544 GB, free: 50.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009718/24.9, allocations: 5.412 MB / 6.549 GB, free: 47.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02903/24.93, allocations: 6.623 MB / 6.555 GB, free: 47.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/24.93, allocations: 19.28 kB / 6.555 GB, free: 47.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04981/24.98, allocations: 12.47 MB / 6.568 GB, free: 46.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007699/24.99, allocations: 35.84 MB / 6.603 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002853/24.99, allocations: 65.25 kB / 6.603 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/24.99, allocations: 0.9291 MB / 6.604 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/25, allocations: 2.026 MB / 6.606 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/25.02, allocations: 19.88 MB / 6.625 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01748/25.04, allocations: 1.011 MB / 6.626 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00302/25.04, allocations: 364.3 kB / 6.626 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/25.04, allocations: 3.188 kB / 6.626 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04879/25.09, allocations: 11.29 MB / 6.637 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004185/25.09, allocations: 61.06 kB / 6.637 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/25.09, allocations: 0.9298 MB / 6.638 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009969/25.1, allocations: 2.008 MB / 6.64 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/25.12, allocations: 19.97 MB / 6.66 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/25.14, allocations: 0.8812 MB / 6.661 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003104/25.14, allocations: 357.6 kB / 6.661 GB, free: 13.54 MB / 0.948 GB Warning: Assuming fixed start value for the following 30 variables: pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump2$vol$dynBal.Medium.setState_pTX(pump2.vol.dynBal.p_start, pump2.vol.dynBal.T_start, {})) + (-273.15 + pump2.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real 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_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] pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump1$vol$dynBal.Medium.setState_pTX(pump1.vol.dynBal.p_start, pump1.vol.dynBal.T_start, {})) + (-273.15 + pump1.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: 281 * 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 (921): * Single equations (assignments): 908 * Array equations: 2 * 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.007612/25.15, allocations: 1.13 MB / 6.662 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006145/25.16, allocations: 1.06 MB / 6.663 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04422/25.2, allocations: 10.93 MB / 6.674 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001207/25.2, allocations: 68.88 kB / 6.674 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/25.2, allocations: 16.27 kB / 6.674 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03184/25.23, allocations: 9.059 MB / 6.683 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06877/25.3, allocations: 23.19 MB / 6.705 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/25.3, allocations: 6.375 kB / 6.705 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006664/25.31, allocations: 1.446 MB / 6.707 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/25.31, allocations: 0.855 MB / 6.708 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005664/25.31, allocations: 97.17 kB / 6.708 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/25.33, allocations: 19.76 MB / 6.727 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/25.33, allocations: 3.312 kB / 6.727 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04189/25.37, allocations: 16.35 MB / 6.743 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/25.38, allocations: 2.41 MB / 6.745 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004541/25.38, allocations: 32.75 kB / 6.745 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/25.4, allocations: 0.7094 MB / 6.746 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/25.4, allocations: 432.5 kB / 6.747 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009064/25.4, allocations: 250.7 kB / 6.747 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01673/25.42, allocations: 6.976 MB / 6.754 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.51e-07/25.42, allocations: 0 / 6.754 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03941/25.45, allocations: 6.047 MB / 6.759 GB, free: 8.164 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.s[1],pump1.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,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2]) * 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 (601): * Single equations (assignments): 583 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01099/25.47, allocations: 3.613 MB / 6.763 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.03447/25.5, allocations: 16.07 MB / 6.779 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.39e-05/25.5, allocations: 8.141 kB / 6.779 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01105/25.51, allocations: 5.353 MB / 6.784 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03502/25.55, allocations: 5.52 MB / 6.789 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06686/25.61, allocations: 22.9 MB / 6.812 GB, free: 8.285 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/25.63, allocations: 8.512 MB / 6.82 GB, free: 3.312 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.04087/25.68, allocations: 7.257 MB / 6.827 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/25.68, allocations: 0.6838 MB / 6.828 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.473e-06/25.68, allocations: 2.188 kB / 6.828 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of Templates: time 1.308/26.99, allocations: 220.2 MB / 7.043 GB, free: 120.5 MB / 0.9948 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.makefile (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.sim & ./BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe 2>&1)