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.8589/0.8589, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001238/0.001238, allocations: 183.5 kB / 191.5 MB, free: 5.758 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.638/1.638, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.000984/0.0009837, allocations: 92.33 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 269.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006298, allocations: 20 kB / 0.6929 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5007, allocations: 82.77 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.472/1.973, allocations: 0.5292 GB / 1.303 GB, free: 152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.973, allocations: 91.84 kB / 1.303 GB, free: 151.9 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 20.33/22.3, allocations: 5.063 GB / 6.366 GB, free: 41.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.944e-06/22.3, allocations: 0 / 6.366 GB, free: 41.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.002583/22.3, allocations: 366.8 kB / 6.367 GB, free: 41.89 MB / 0.9011 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.06399/22.37, allocations: 16.79 MB / 6.383 GB, free: 35.07 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/22.37, allocations: 9.469 kB / 6.383 GB, free: 35.07 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/22.38, allocations: 2.717 MB / 6.386 GB, free: 34.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06809/22.45, allocations: 23.12 MB / 6.408 GB, free: 32.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/22.45, allocations: 0.8621 MB / 6.409 GB, free: 32.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/22.46, allocations: 1.046 MB / 6.41 GB, free: 32.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05217/22.51, allocations: 14.38 MB / 6.424 GB, free: 30.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009065/22.51, allocations: 40.72 kB / 6.424 GB, free: 30.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004873/22.52, allocations: 448.6 kB / 6.425 GB, free: 30.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006429/22.52, allocations: 453.4 kB / 6.425 GB, free: 30.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/22.55, allocations: 12.12 MB / 6.437 GB, free: 30.48 MB / 0.9011 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.1103/22.66, allocations: 65.93 MB / 6.501 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02264/22.69, allocations: 10.17 MB / 6.511 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05432/22.74, allocations: 19.82 MB / 6.531 GB, free: 0 / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0111/22.75, allocations: 4.26 MB / 6.535 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01132/22.76, allocations: 1.042 MB / 6.536 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=624): time 5.112e-05/22.76, allocations: 0 / 6.536 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=653): time 0.8112/23.58, allocations: 24.29 MB / 6.559 GB, free: 71.49 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/23.58, allocations: 227.6 kB / 6.56 GB, free: 71.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02508/23.6, allocations: 9.892 MB / 6.569 GB, free: 70.79 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00202/23.6, allocations: 157.3 kB / 6.569 GB, free: 70.75 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.009038/23.61, allocations: 6.317 MB / 6.576 GB, free: 70.59 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004742/23.62, allocations: 2.269 MB / 6.578 GB, free: 70.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/23.62, allocations: 150.5 kB / 6.578 GB, free: 70.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005149/23.62, allocations: 0.6148 MB / 6.579 GB, free: 69.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00651/23.62, allocations: 3.667 MB / 6.582 GB, free: 69.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008217/23.63, allocations: 5.925 MB / 6.588 GB, free: 67.26 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009359/23.64, allocations: 4.94 MB / 6.593 GB, free: 66.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-05/23.64, allocations: 16.19 kB / 6.593 GB, free: 66.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=999) (initialization): time 0.02707/23.67, allocations: 11.75 MB / 6.604 GB, free: 66.06 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.006889/23.68, allocations: 35.89 MB / 6.639 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/23.68, allocations: 66.25 kB / 6.639 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/23.68, allocations: 0.9658 MB / 6.64 GB, free: 29.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/23.69, allocations: 2.047 MB / 6.642 GB, free: 29.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/23.71, allocations: 21.05 MB / 6.663 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01608/23.72, allocations: 1.068 MB / 6.664 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002741/23.73, allocations: 370 kB / 6.664 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/23.73, allocations: 6.344 kB / 6.664 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02727/23.75, allocations: 10.73 MB / 6.675 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003349/23.75, allocations: 61.44 kB / 6.675 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/23.76, allocations: 0.9625 MB / 6.676 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/23.77, allocations: 2.029 MB / 6.678 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/23.78, allocations: 21.03 MB / 6.698 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/23.8, allocations: 1.029 MB / 6.699 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/23.8, allocations: 363.5 kB / 6.7 GB, free: 15.82 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" fixed = true 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" 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_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] 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" 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: 279 * 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 (933): * Single equations (assignments): 920 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0156/23.82, allocations: 5.232 MB / 6.705 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004773/23.82, allocations: 1.076 MB / 6.706 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03485/23.86, allocations: 10.58 MB / 6.716 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/23.86, allocations: 63.84 kB / 6.716 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-05/23.86, allocations: 13.78 kB / 6.716 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02164/23.88, allocations: 8.233 MB / 6.724 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07197/23.95, allocations: 22.79 MB / 6.746 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/23.95, allocations: 1.688 kB / 6.746 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00849/23.96, allocations: 1.497 MB / 6.748 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/23.96, allocations: 0.8911 MB / 6.749 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/23.96, allocations: 181.9 kB / 6.749 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/23.98, allocations: 20.89 MB / 6.769 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/23.98, allocations: 2.781 kB / 6.769 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03962/24.02, allocations: 15.11 MB / 6.784 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01182/24.03, allocations: 2.451 MB / 6.787 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005849/24.04, allocations: 138.6 kB / 6.787 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01319/24.05, allocations: 0.8991 MB / 6.788 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/24.05, allocations: 427 kB / 6.788 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001868/24.06, allocations: 253.1 kB / 6.788 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02017/24.08, allocations: 7.685 MB / 6.796 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.292e-06/24.08, allocations: 0 / 6.796 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03911/24.11, allocations: 6.433 MB / 6.802 GB, free: 11.39 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (620): * Single equations (assignments): 602 * 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%) 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.01108/24.13, allocations: 3.885 MB / 6.806 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.03908/24.17, allocations: 17.64 MB / 6.823 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/24.17, allocations: 9.656 kB / 6.823 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/24.18, allocations: 5.946 MB / 6.829 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03224/24.21, allocations: 5.775 MB / 6.834 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07916/24.29, allocations: 32.33 MB / 6.866 GB, free: 8.031 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02237/24.31, allocations: 8.519 MB / 6.874 GB, free: 5.66 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02921/24.34, allocations: 4.948 MB / 6.879 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007357/24.35, allocations: 0.9149 MB / 6.88 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of SimCode: time 2.474e-06/24.35, allocations: 0 / 6.88 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of Templates: time 1.164/25.51, allocations: 230.6 MB / 7.105 GB, free: 112.3 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)