Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 262.7 kB / 291.2 MB, free: 2.004 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 15.81 kB / 0.5684 GB, free: 38.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 83.09 MB / 0.6495 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.5797/0.7689, allocations: 187.3 MB / 0.8324 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06287/0.8319, allocations: 42.3 MB / 0.8737 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/0.8455, allocations: 232.3 kB / 0.874 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.8587, allocations: 2.951 MB / 0.8769 GB, free: 10.9 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:124:10-124:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:142:10-142:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_2. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:184:10-184:30:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:185:10-185:22:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:191:10-191:30:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:192:10-192:22:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFTyping.typeBindings: time 0.0351/0.8939, allocations: 8.87 MB / 0.8855 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02084/0.9147, allocations: 5.241 MB / 0.8906 GB, free: 0.8438 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFFlatten.flatten: time 0.0445/0.9593, allocations: 23.31 MB / 0.9134 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/0.9792, allocations: 12 MB / 0.9251 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03326/1.012, allocations: 13.05 MB / 0.9379 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01817/1.031, allocations: 7.53 MB / 0.9452 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004808/1.036, allocations: 0.5547 MB / 0.9457 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02154/1.057, allocations: 5.2 MB / 0.9508 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.006508/1.064, allocations: 2.58 MB / 0.9533 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009285/1.073, allocations: 2.983 MB / 0.9563 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.03062/1.104, allocations: 18.95 MB / 0.9748 GB, free: 13.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.104, allocations: 4 kB / 0.9748 GB, free: 13.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.035e-06/1.104, allocations: 0 / 0.9748 GB, free: 13.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.001081/1.105, allocations: 0 / 0.9748 GB, free: 13.98 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2530 * Number of variables: 2530 Notification: Performance of Generate backend data structure: time 0.03695/1.142, allocations: 13.05 MB / 0.9875 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.142, allocations: 15.97 kB / 0.9875 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005112/1.147, allocations: 1.339 MB / 0.9888 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/1.16, allocations: 2.532 MB / 0.9913 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03366/1.194, allocations: 13.07 MB / 1.004 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009213/1.195, allocations: 0.8018 MB / 1.005 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003157/1.198, allocations: 0.9762 MB / 1.006 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04217/1.24, allocations: 14.18 MB / 1.02 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005759/1.241, allocations: 35.72 kB / 1.02 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003123/1.244, allocations: 424 kB / 1.02 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004822/1.244, allocations: 410.7 kB / 1.02 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04251/1.287, allocations: 12.03 MB / 1.032 GB, free: 2.434 MB / 0.7169 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 1.049/2.336, allocations: 61.6 MB / 1.092 GB, free: 104.4 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02322/2.359, allocations: 9.382 MB / 1.102 GB, free: 104.1 MB / 0.7482 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 evalFunc (simulation): time 0.05457/2.414, allocations: 18.8 MB / 1.12 GB, free: 99.77 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009073/2.423, allocations: 3.825 MB / 1.124 GB, free: 99.6 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00895/2.432, allocations: 0.8019 MB / 1.124 GB, free: 99.6 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=561): time 4.265e-05/2.432, allocations: 0 / 1.124 GB, free: 99.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=588): time 0.06817/2.5, allocations: 22.32 MB / 1.146 GB, free: 96.53 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.5, allocations: 193.9 kB / 1.146 GB, free: 96.36 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02265/2.523, allocations: 10.49 MB / 1.157 GB, free: 93.93 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.00176/2.525, allocations: 142.6 kB / 1.157 GB, free: 93.9 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.008255/2.533, allocations: 5.928 MB / 1.163 GB, free: 91.37 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004143/2.537, allocations: 2.051 MB / 1.165 GB, free: 89.89 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/2.539, allocations: 137.6 kB / 1.165 GB, free: 89.89 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0008174/2.54, allocations: 0.5905 MB / 1.165 GB, free: 89.49 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007577/2.547, allocations: 3.386 MB / 1.169 GB, free: 87.25 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/2.558, allocations: 5.417 MB / 1.174 GB, free: 82.35 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/2.568, allocations: 4.602 MB / 1.178 GB, free: 79.35 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/2.568, allocations: 16 kB / 1.178 GB, free: 79.33 MB / 0.7482 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02727/2.595, allocations: 10.94 MB / 1.189 GB, free: 71.65 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.006421/2.601, allocations: 32.65 MB / 1.221 GB, free: 37.32 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/2.602, allocations: 60 kB / 1.221 GB, free: 37.26 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/2.605, allocations: 0.9886 MB / 1.222 GB, free: 36.43 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008656/2.613, allocations: 1.773 MB / 1.224 GB, free: 34.81 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/2.631, allocations: 21.25 MB / 1.244 GB, free: 15.32 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/2.645, allocations: 0.9626 MB / 1.245 GB, free: 14.47 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/2.647, allocations: 336.6 kB / 1.246 GB, free: 14.2 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/2.647, allocations: 4 kB / 1.246 GB, free: 14.2 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02207/2.669, allocations: 10.02 MB / 1.256 GB, free: 7.547 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/2.669, allocations: 56.94 kB / 1.256 GB, free: 7.492 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/2.671, allocations: 0.9849 MB / 1.257 GB, free: 6.676 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008632/2.68, allocations: 1.768 MB / 1.258 GB, free: 5.062 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/2.702, allocations: 21.25 MB / 1.279 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/2.717, allocations: 0.9127 MB / 1.28 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.719, allocations: 327.9 kB / 1.28 GB, free: 14.5 MB / 0.7794 GB Warning: Assuming fixed start value for the following 30 variables: pipe4.vol[2].dynBal.U:VARIABLE(start = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (pipe4.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (pipe4.vol[1].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (pipe3.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (pipe3.vol[1].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (storage.vol_HX_1.dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (storage.vol[8].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (storage.vol[7].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (storage.vol[6].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (storage.vol[5].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (storage.vol[4].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (storage.vol[3].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (pipe2.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (pipe2.vol[1].dynBal.T_start - 273.15) * 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 = 35342917352.88517 * false * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (pipe1.vol[2].dynBal.T_start - 273.15) * 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 = 35342917352.88517 * false * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (pipe1.vol[1].dynBal.T_start - 273.15) * 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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = collector.vol[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 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: 261 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,$PRE.control.y,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 839 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01336/2.733, allocations: 5.15 MB / 1.285 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004564/2.737, allocations: 0.9917 MB / 1.286 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/2.762, allocations: 9.791 MB / 1.296 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/2.762, allocations: 60 kB / 1.296 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/2.762, allocations: 8 kB / 1.296 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0227/2.785, allocations: 7.51 MB / 1.303 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06448/2.849, allocations: 21.01 MB / 1.324 GB, free: 1.891 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/2.849, allocations: 4 kB / 1.324 GB, free: 1.887 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00781/2.857, allocations: 1.244 MB / 1.325 GB, free: 0.6914 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/2.86, allocations: 0.9074 MB / 1.326 GB, free: 15.75 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/2.862, allocations: 163.9 kB / 1.326 GB, free: 15.59 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/2.884, allocations: 21.12 MB / 1.347 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/2.884, allocations: 10.3 kB / 1.347 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03315/2.917, allocations: 14.82 MB / 1.361 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01009/2.927, allocations: 2.35 MB / 1.363 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0043/2.931, allocations: 132 kB / 1.363 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01242/2.944, allocations: 0.8626 MB / 1.364 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/2.946, allocations: 396.6 kB / 1.365 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/2.947, allocations: 255.6 kB / 1.365 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.01965/2.967, allocations: 7.489 MB / 1.372 GB, free: 14.54 MB / 0.8732 GB Notification: Performance of sort global known variables: time 2.204e-06/2.967, allocations: 4 kB / 1.372 GB, free: 14.54 MB / 0.8732 GB Notification: Performance of remove unused functions: time 0.03661/3.004, allocations: 5.656 MB / 1.378 GB, free: 8.992 MB / 0.8732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_HX_1.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) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (544): * Single equations (assignments): 528 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6005/3.604, allocations: 17.25 MB / 1.395 GB, free: 224.4 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.03646/3.641, allocations: 16.43 MB / 1.411 GB, free: 221.7 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-05/3.641, allocations: 9.25 kB / 1.411 GB, free: 221.7 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.01053/3.651, allocations: 5.519 MB / 1.416 GB, free: 220.5 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03285/3.684, allocations: 5.696 MB / 1.422 GB, free: 220.2 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/3.804, allocations: 109 MB / 1.528 GB, free: 130.2 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01825/3.822, allocations: 8.112 MB / 1.536 GB, free: 129 MB / 0.8732 GB Notification: Performance of simCode: alias equations: time 0.02014/3.842, allocations: 4.782 MB / 1.541 GB, free: 128.3 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01147/3.854, allocations: 5.507 MB / 1.546 GB, free: 128.3 MB / 0.8732 GB Notification: Performance of SimCode: time 1.172e-06/3.854, allocations: 0 / 1.546 GB, free: 128.3 MB / 0.8732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8953/4.749, allocations: 311.5 MB / 1.85 GB, free: 285.9 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/4.75, allocations: 280.8 kB / 1.851 GB, free: 285.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/15.76, allocations: 4 kB / 1.851 GB, free: 285.5 MB / 0.9044 GB (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1.fmu > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1) Environment - environmentSimulation: