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: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 101.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 181.7 kB / 16.59 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 270.8 kB / 292 MB, free: 1.891 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.9516/0.9516, allocations: 144.7 MB / 487.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006484, allocations: 14.47 kB / 0.5691 GB, free: 38.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2626, allocations: 83.09 MB / 0.6502 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.7886/1.051, allocations: 207.2 MB / 0.8526 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.07363/1.125, allocations: 45.64 MB / 0.8972 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01431/1.139, allocations: 240.9 kB / 0.8974 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/1.151, allocations: 2.2 MB / 0.8996 GB, free: 13.04 MB / 0.5919 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: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.03132/1.183, allocations: 7.05 MB / 0.9064 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01752/1.2, allocations: 3.802 MB / 0.9102 GB, free: 4.816 MB / 0.5919 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.06581/1.266, allocations: 45.62 MB / 0.9547 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02908/1.295, allocations: 11.98 MB / 0.9664 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0403/1.336, allocations: 14.35 MB / 0.9804 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02575/1.362, allocations: 10.47 MB / 0.9906 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006455/1.368, allocations: 0.5546 MB / 0.9912 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02694/1.395, allocations: 5.143 MB / 0.9962 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00923/1.404, allocations: 2.688 MB / 0.9988 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/1.416, allocations: 2.979 MB / 1.002 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0373/1.453, allocations: 19.1 MB / 1.02 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/1.453, allocations: 3.984 kB / 1.02 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.009e-06/1.453, allocations: 0 / 1.02 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.00138/1.455, allocations: 0 / 1.02 GB, free: 4.125 MB / 0.7012 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.04362/1.498, allocations: 13.07 MB / 1.033 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/1.498, allocations: 12.03 kB / 1.033 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/1.513, allocations: 2.547 MB / 1.036 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04245/1.556, allocations: 15.22 MB / 1.051 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/1.557, allocations: 0.7979 MB / 1.051 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005005/1.562, allocations: 0.984 MB / 1.052 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9843/2.546, allocations: 14.25 MB / 1.066 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005945/2.547, allocations: 36.91 kB / 1.066 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003906/2.551, allocations: 419.3 kB / 1.067 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006355/2.552, allocations: 408.6 kB / 1.067 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/2.588, allocations: 12.04 MB / 1.079 GB, free: 258.3 MB / 0.7325 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.0987/2.687, allocations: 61.01 MB / 1.138 GB, free: 207.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/2.707, allocations: 8.993 MB / 1.147 GB, free: 198.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008918/2.716, allocations: 4.891 MB / 1.152 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03809/2.754, allocations: 18.32 MB / 1.17 GB, free: 175 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007038/2.761, allocations: 3.829 MB / 1.174 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006849/2.768, allocations: 0.7393 MB / 1.174 GB, free: 170.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=557): time 3.441e-05/2.768, allocations: 0 / 1.174 GB, free: 170.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=584): time 0.05695/2.825, allocations: 22.07 MB / 1.196 GB, free: 148.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/2.825, allocations: 193 kB / 1.196 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02262/2.848, allocations: 9.428 MB / 1.205 GB, free: 138.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002089/2.85, allocations: 137.7 kB / 1.205 GB, free: 138.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.007123/2.857, allocations: 5.919 MB / 1.211 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003468/2.861, allocations: 2.039 MB / 1.213 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/2.862, allocations: 136 kB / 1.213 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0006807/2.863, allocations: 0.5956 MB / 1.214 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006847/2.87, allocations: 3.367 MB / 1.217 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008727/2.878, allocations: 5.46 MB / 1.222 GB, free: 120 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/2.888, allocations: 4.576 MB / 1.227 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.667e-05/2.888, allocations: 19.97 kB / 1.227 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02677/2.914, allocations: 10.9 MB / 1.238 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001444/2.916, allocations: 1.883 MB / 1.239 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/2.916, allocations: 64 kB / 1.239 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/2.918, allocations: 0.9809 MB / 1.24 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008134/2.927, allocations: 1.821 MB / 1.242 GB, free: 98.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/2.941, allocations: 20.9 MB / 1.263 GB, free: 76.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.954, allocations: 0.9202 MB / 1.264 GB, free: 75.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.956, allocations: 327.9 kB / 1.264 GB, free: 75.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/2.956, allocations: 9.391 kB / 1.264 GB, free: 75.26 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02342/2.98, allocations: 9.986 MB / 1.274 GB, free: 65.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002476/2.98, allocations: 60 kB / 1.274 GB, free: 65.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/2.982, allocations: 0.9776 MB / 1.275 GB, free: 64.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008076/2.99, allocations: 1.806 MB / 1.276 GB, free: 62.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/3.006, allocations: 20.9 MB / 1.297 GB, free: 39.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/3.019, allocations: 0.8845 MB / 1.298 GB, free: 39.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/3.022, allocations: 327.9 kB / 1.298 GB, free: 38.75 MB / 0.7325 GB Warning: Assuming fixed start value for the following 30 variables: pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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: 269 * 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 (849): * Single equations (assignments): 837 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01299/3.035, allocations: 5.12 MB / 1.303 GB, free: 33.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004582/3.039, allocations: 0.9995 MB / 1.304 GB, free: 32.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/3.064, allocations: 9.694 MB / 1.313 GB, free: 22.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/3.065, allocations: 59.98 kB / 1.313 GB, free: 22.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-05/3.065, allocations: 12 kB / 1.313 GB, free: 22.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01534/3.08, allocations: 7.447 MB / 1.321 GB, free: 15.18 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.6447/3.725, allocations: 20.46 MB / 1.341 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/3.725, allocations: 5.812 kB / 1.341 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007488/3.732, allocations: 1.285 MB / 1.342 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003752/3.736, allocations: 0.8909 MB / 1.343 GB, free: 232.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002405/3.739, allocations: 167.5 kB / 1.343 GB, free: 232.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/3.762, allocations: 20.76 MB / 1.363 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/3.762, allocations: 4.75 kB / 1.363 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02853/3.79, allocations: 13.72 MB / 1.377 GB, free: 215.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008458/3.799, allocations: 2.106 MB / 1.379 GB, free: 214.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00407/3.803, allocations: 138.1 kB / 1.379 GB, free: 214.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/3.814, allocations: 0.8267 MB / 1.38 GB, free: 214.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00204/3.816, allocations: 383.2 kB / 1.38 GB, free: 214.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001803/3.818, allocations: 248.4 kB / 1.38 GB, free: 214.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.01864/3.836, allocations: 6.634 MB / 1.387 GB, free: 212.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.41e-07/3.836, allocations: 0 / 1.387 GB, free: 212.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.03029/3.867, allocations: 5.439 MB / 1.392 GB, free: 212 MB / 0.7325 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 (542): * Single equations (assignments): 526 * 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%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005984/3.873, allocations: 1.588 MB / 1.394 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03424/3.907, allocations: 16.33 MB / 1.41 GB, free: 202.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-05/3.907, allocations: 8.375 kB / 1.41 GB, free: 202.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/3.918, allocations: 5.476 MB / 1.415 GB, free: 197.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03615/3.954, allocations: 5.783 MB / 1.421 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06655/4.02, allocations: 30.35 MB / 1.45 GB, free: 162.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009786/4.03, allocations: 7.697 MB / 1.458 GB, free: 154.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004149/4.034, allocations: 0.8818 MB / 1.459 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/4.035, allocations: 0 / 1.459 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of Templates: time 2.662/6.697, allocations: 0.9541 GB / 2.413 GB, free: 37.23 MB / 0.7638 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.o] Error 1