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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7301/0.7301, allocations: 141.8 MB / 149.1 MB, free: 1.32 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 199.6 kB / 182 MB, free: 0.6953 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.4 MB / 436 MB, free: 5.43 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.0009801, allocations: 100.6 kB / 0.507 GB, free: 2.094 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 273.8 kB / 0.5884 GB, free: 47.09 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.602e-05, allocations: 0 / 0.6759 GB, free: 5.473 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4435, allocations: 82.77 MB / 0.7567 GB, free: 24.61 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.723, allocations: 0.5284 GB / 1.285 GB, free: 177.3 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.723, allocations: 84.41 kB / 1.285 GB, free: 177.2 MB / 0.7138 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: time 20.04/21.76, allocations: 5.053 GB / 6.339 GB, free: 41.38 MB / 0.9013 GB Notification: Performance of Transformations before backend: time 0.0036/21.77, allocations: 367.4 kB / 6.339 GB, free: 41.32 MB / 0.9013 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.06172/21.83, allocations: 13.68 MB / 6.352 GB, free: 35.64 MB / 0.9013 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/21.83, allocations: 12.31 kB / 6.352 GB, free: 35.64 MB / 0.9013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/21.85, allocations: 2.801 MB / 6.355 GB, free: 34.8 MB / 0.9013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0817/21.93, allocations: 23.17 MB / 6.378 GB, free: 32.84 MB / 0.9013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001346/21.93, allocations: 0.5146 MB / 6.378 GB, free: 32.73 MB / 0.9013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005851/21.94, allocations: 0.6146 MB / 6.379 GB, free: 32.72 MB / 0.9013 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03481/21.97, allocations: 11.13 MB / 6.39 GB, free: 32.67 MB / 0.9013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05574/22.03, allocations: 12.72 MB / 6.402 GB, free: 31.17 MB / 0.9013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001215/22.03, allocations: 43.66 kB / 6.402 GB, free: 31.16 MB / 0.9013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005557/22.04, allocations: 17.56 kB / 6.402 GB, free: 31.16 MB / 0.9013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006707/22.04, allocations: 462.3 kB / 6.403 GB, free: 31.14 MB / 0.9013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1359/22.17, allocations: 66.29 MB / 6.467 GB, free: 13.41 MB / 0.9169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/22.2, allocations: 8.579 MB / 6.476 GB, free: 13.09 MB / 0.9169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009462/22.21, allocations: 4.744 MB / 6.48 GB, free: 13.02 MB / 0.9169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06788/22.27, allocations: 20.03 MB / 6.5 GB, free: 7.949 MB / 0.9169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01012/22.28, allocations: 4.158 MB / 6.504 GB, free: 7.668 MB / 0.9169 GB Notification: Performance of pre-optimization done (n=612): time 2.122e-05/22.28, allocations: 0 / 6.504 GB, free: 7.668 MB / 0.9169 GB Notification: Performance of matching and sorting (n=632): time 0.2122/22.5, allocations: 44.35 MB / 6.547 GB, free: 0.6094 MB / 0.9325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004063/22.5, allocations: 0.5242 MB / 6.548 GB, free: 40 kB / 0.9325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02912/22.53, allocations: 9.362 MB / 6.557 GB, free: 12.72 MB / 0.9482 GB Notification: Performance of collectPreVariables (initialization): time 0.002157/22.53, allocations: 34.8 kB / 6.557 GB, free: 12.69 MB / 0.9482 GB Notification: Performance of collectInitialEqns (initialization): time 0.01212/22.54, allocations: 4.136 MB / 6.561 GB, free: 9.914 MB / 0.9482 GB Notification: Performance of collectInitialBindings (initialization): time 0.008464/22.55, allocations: 2.112 MB / 6.563 GB, free: 8.258 MB / 0.9482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/22.55, allocations: 0.75 kB / 6.563 GB, free: 8.258 MB / 0.9482 GB Notification: Performance of setup shared object (initialization): time 0.00125/22.55, allocations: 0.6103 MB / 6.564 GB, free: 7.82 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007983/22.56, allocations: 3.35 MB / 6.567 GB, free: 5.02 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6816/23.24, allocations: 5.551 MB / 6.572 GB, free: 117 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/23.26, allocations: 5.863 MB / 6.578 GB, free: 116.7 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/23.26, allocations: 17.84 kB / 6.578 GB, free: 116.7 MB / 0.9482 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04125/23.3, allocations: 11.83 MB / 6.59 GB, free: 116.4 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 0.008035/23.31, allocations: 35.67 MB / 6.625 GB, free: 80.08 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/23.31, allocations: 62.97 kB / 6.625 GB, free: 80.08 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/23.31, allocations: 0.956 MB / 6.626 GB, free: 80 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/23.33, allocations: 2.014 MB / 6.627 GB, free: 80 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/23.34, allocations: 19.54 MB / 6.647 GB, free: 66.28 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0172/23.36, allocations: 0.9734 MB / 6.648 GB, free: 66.28 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002776/23.36, allocations: 370.4 kB / 6.648 GB, free: 66.28 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/23.36, allocations: 8.312 kB / 6.648 GB, free: 66.28 MB / 0.9482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03005/23.39, allocations: 10.64 MB / 6.658 GB, free: 66.03 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/23.39, allocations: 60.34 kB / 6.658 GB, free: 66.03 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/23.39, allocations: 0.9444 MB / 6.659 GB, free: 65.94 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/23.4, allocations: 1.995 MB / 6.661 GB, free: 65.94 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/23.42, allocations: 19.58 MB / 6.68 GB, free: 52.2 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/23.43, allocations: 0.8468 MB / 6.681 GB, free: 52.2 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002462/23.43, allocations: 360.5 kB / 6.682 GB, free: 52.2 MB / 0.9482 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: 280 * 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.004058/23.44, allocations: 1.119 MB / 6.683 GB, free: 51.95 MB / 0.9482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004562/23.44, allocations: 1.057 MB / 6.684 GB, free: 51.95 MB / 0.9482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03331/23.48, allocations: 10.53 MB / 6.694 GB, free: 51.54 MB / 0.9482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.564e-05/23.48, allocations: 69.19 kB / 6.694 GB, free: 51.54 MB / 0.9482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.996e-05/23.48, allocations: 11.44 kB / 6.694 GB, free: 51.54 MB / 0.9482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02733/23.5, allocations: 8.453 MB / 6.702 GB, free: 51.21 MB / 0.9482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08429/23.59, allocations: 22.58 MB / 6.724 GB, free: 49.27 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.686e-05/23.59, allocations: 4.719 kB / 6.724 GB, free: 49.27 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009014/23.6, allocations: 1.441 MB / 6.726 GB, free: 49.27 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/23.6, allocations: 0.8714 MB / 6.727 GB, free: 49.18 MB / 0.9482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/23.6, allocations: 107.8 kB / 6.727 GB, free: 49.18 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/23.62, allocations: 19.41 MB / 6.746 GB, free: 51.23 MB / 0.9638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/23.62, allocations: 6.062 kB / 6.746 GB, free: 51.23 MB / 0.9638 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04024/23.66, allocations: 16.03 MB / 6.761 GB, free: 48.91 MB / 0.9638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01085/23.67, allocations: 2.417 MB / 6.764 GB, free: 48.26 MB / 0.9638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006028/23.67, allocations: 41.69 kB / 6.764 GB, free: 48.26 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/23.69, allocations: 0.6689 MB / 6.764 GB, free: 48.23 MB / 0.9638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/23.69, allocations: 361.7 kB / 6.765 GB, free: 48.22 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00187/23.69, allocations: 252.5 kB / 6.765 GB, free: 48.22 MB / 0.9638 GB Notification: Performance of sort global known variables: time 0.01595/23.71, allocations: 7.129 MB / 6.772 GB, free: 47.94 MB / 0.9638 GB Notification: Performance of remove unused functions: time 0.0368/23.74, allocations: 6.06 MB / 6.778 GB, free: 47.94 MB / 0.9638 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 (604): * Single equations (assignments): 586 * 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.01036/23.75, allocations: 3.571 MB / 6.781 GB, free: 46.99 MB / 0.9638 GB Notification: Performance of simCode: created initialization part: time 0.02694/23.78, allocations: 16.25 MB / 6.797 GB, free: 44.58 MB / 0.9638 GB Notification: Performance of simCode: created event and clocks part: time 2.049e-05/23.78, allocations: 7.594 kB / 6.797 GB, free: 44.58 MB / 0.9638 GB Notification: Performance of simCode: created simulation system equations: time 0.007363/23.79, allocations: 5.334 MB / 6.802 GB, free: 43.43 MB / 0.9638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03119/23.82, allocations: 5.268 MB / 6.808 GB, free: 43.35 MB / 0.9638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06068/23.88, allocations: 23.66 MB / 6.831 GB, free: 39.04 MB / 0.9638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02482/23.9, allocations: 9.507 MB / 6.84 GB, free: 37.98 MB / 0.9638 GB Notification: Performance of SimCode: time 1.262e-06/23.9, allocations: 0 / 6.84 GB, free: 37.98 MB / 0.9638 GB Notification: Performance of Templates: time 1.18/25.08, allocations: 279 MB / 7.112 GB, free: 117.1 MB / 0.9638 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)