Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7643/0.7643, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 179.3 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 450.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.0008382, allocations: 103.5 kB / 0.5211 GB, free: 1.656 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001638/0.001638, allocations: 277.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 12.94 kB / 0.6948 GB, free: 59.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.5698/0.7154, allocations: 314.4 MB / 1.082 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.08713/0.8026, allocations: 79.52 MB / 1.16 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01282/0.8155, allocations: 270.2 kB / 1.16 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.8261, allocations: 3.143 MB / 1.163 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.4013/1.227, allocations: 9.664 MB / 1.173 GB, free: 82.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01555/1.243, allocations: 5.977 MB / 1.179 GB, free: 82.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.05554/1.299, allocations: 57.35 MB / 1.235 GB, free: 79.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02257/1.321, allocations: 14.35 MB / 1.249 GB, free: 71.38 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03334/1.355, allocations: 16.28 MB / 1.264 GB, free: 58.83 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02002/1.375, allocations: 11.83 MB / 1.276 GB, free: 49.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.004731/1.379, allocations: 0.5977 MB / 1.277 GB, free: 48.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02322/1.403, allocations: 6.646 MB / 1.283 GB, free: 43.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.007475/1.41, allocations: 3.006 MB / 1.286 GB, free: 41.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01897/1.429, allocations: 7.722 MB / 1.294 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0354/1.465, allocations: 25.05 MB / 1.318 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.465, allocations: 4 kB / 1.318 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.555e-06/1.465, allocations: 0 / 1.318 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0009345/1.466, allocations: 0 / 1.318 GB, free: 13.96 MB / 0.7292 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.03042/1.496, allocations: 13.97 MB / 1.332 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.496, allocations: 8.031 kB / 1.332 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/1.511, allocations: 2.891 MB / 1.335 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03705/1.548, allocations: 16.48 MB / 1.351 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.549, allocations: 0.8651 MB / 1.351 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003876/1.553, allocations: 1.046 MB / 1.353 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04138/1.594, allocations: 15.04 MB / 1.367 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008923/1.595, allocations: 38.91 kB / 1.367 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005108/1.6, allocations: 453.7 kB / 1.368 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005677/1.601, allocations: 433 kB / 1.368 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/1.632, allocations: 12.7 MB / 1.38 GB, free: 13.27 MB / 0.7761 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.1097/1.742, allocations: 65.73 MB / 1.445 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/1.762, allocations: 9.686 MB / 1.454 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/1.773, allocations: 5.212 MB / 1.459 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6263/2.399, allocations: 19.53 MB / 1.478 GB, free: 367.9 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008428/2.408, allocations: 4.226 MB / 1.482 GB, free: 367.7 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007248/2.415, allocations: 0.9158 MB / 1.483 GB, free: 367.7 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=614): time 3.511e-05/2.415, allocations: 0 / 1.483 GB, free: 367.7 MB / 0.8543 GB Notification: Performance of matching and sorting (n=643): time 0.06552/2.481, allocations: 24.08 MB / 1.507 GB, free: 363.7 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/2.481, allocations: 202.2 kB / 1.507 GB, free: 363.6 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02029/2.501, allocations: 9.897 MB / 1.517 GB, free: 360.3 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/2.503, allocations: 156.4 kB / 1.517 GB, free: 360.2 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006554/2.51, allocations: 6.336 MB / 1.523 GB, free: 355.2 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.003122/2.513, allocations: 2.233 MB / 1.525 GB, free: 353.3 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/2.513, allocations: 149.8 kB / 1.525 GB, free: 353.2 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0003524/2.514, allocations: 0.6137 MB / 1.526 GB, free: 352.7 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005727/2.519, allocations: 3.667 MB / 1.53 GB, free: 350.8 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006981/2.526, allocations: 5.943 MB / 1.535 GB, free: 346.1 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2719/2.798, allocations: 43.86 MB / 1.578 GB, free: 306.3 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-05/2.798, allocations: 16 kB / 1.578 GB, free: 306.3 MB / 0.8543 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01982/2.818, allocations: 11.79 MB / 1.59 GB, free: 294.4 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007461/2.819, allocations: 2.002 MB / 1.592 GB, free: 291.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.737e-05/2.819, allocations: 66.02 kB / 1.592 GB, free: 291.5 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/2.821, allocations: 0.9746 MB / 1.593 GB, free: 290.4 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007901/2.829, allocations: 1.985 MB / 1.595 GB, free: 288.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/2.841, allocations: 20.91 MB / 1.615 GB, free: 266.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.851, allocations: 0.9871 MB / 1.616 GB, free: 265.1 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/2.853, allocations: 364.8 kB / 1.616 GB, free: 264.8 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/2.853, allocations: 4 kB / 1.616 GB, free: 264.8 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01579/2.869, allocations: 10.71 MB / 1.627 GB, free: 254 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-05/2.869, allocations: 68 kB / 1.627 GB, free: 253.9 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/2.87, allocations: 0.9711 MB / 1.628 GB, free: 252.9 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007353/2.878, allocations: 1.962 MB / 1.63 GB, free: 250.9 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/2.89, allocations: 20.92 MB / 1.65 GB, free: 228.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/2.9, allocations: 0.9678 MB / 1.651 GB, free: 227.6 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/2.902, allocations: 355.9 kB / 1.651 GB, free: 227.3 MB / 0.8543 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.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.setState_pTX(pump2.vol.dynBal.p_start, pump2.vol.dynBal.T_start, {})) + (pump2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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] pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.setState_pTX(pump1.vol.dynBal.p_start, pump1.vol.dynBal.T_start, {})) + (pump1.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: 286 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.control.y,$whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (929): * Single equations (assignments): 916 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008864/2.91, allocations: 5.263 MB / 1.657 GB, free: 222 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002561/2.913, allocations: 1.08 MB / 1.658 GB, free: 220.9 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/2.93, allocations: 10.48 MB / 1.668 GB, free: 210.3 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/2.93, allocations: 67.98 kB / 1.668 GB, free: 210.3 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/2.93, allocations: 12 kB / 1.668 GB, free: 210.3 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0163/2.947, allocations: 8.178 MB / 1.676 GB, free: 202 MB / 0.8543 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.04711/2.994, allocations: 21.98 MB / 1.697 GB, free: 180 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/2.994, allocations: 4 kB / 1.697 GB, free: 180 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006513/3, allocations: 1.437 MB / 1.699 GB, free: 178.5 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/3.002, allocations: 0.8911 MB / 1.7 GB, free: 177.6 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008461/3.003, allocations: 183.9 kB / 1.7 GB, free: 177.4 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/3.017, allocations: 20.76 MB / 1.72 GB, free: 155.2 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/3.017, allocations: 4 kB / 1.72 GB, free: 155.2 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02625/3.043, allocations: 14.9 MB / 1.735 GB, free: 140.2 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008753/3.052, allocations: 2.263 MB / 1.737 GB, free: 137.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003184/3.055, allocations: 140 kB / 1.737 GB, free: 137.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009262/3.064, allocations: 0.9017 MB / 1.738 GB, free: 136.8 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/3.065, allocations: 428.6 kB / 1.738 GB, free: 136.4 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006798/3.066, allocations: 275.8 kB / 1.739 GB, free: 136.1 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.01243/3.078, allocations: 6.755 MB / 1.745 GB, free: 129.4 MB / 0.8543 GB Notification: Performance of sort global known variables: time 7.41e-07/3.078, allocations: 0 / 1.745 GB, free: 129.4 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.02561/3.104, allocations: 5.84 MB / 1.751 GB, free: 123.7 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.s[1],pump1.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (616): * Single equations (assignments): 598 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006624/3.111, allocations: 1.84 MB / 1.753 GB, free: 122.2 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.04623/3.157, allocations: 17.54 MB / 1.77 GB, free: 104.4 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/3.157, allocations: 6.656 kB / 1.77 GB, free: 104.4 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/3.173, allocations: 5.897 MB / 1.776 GB, free: 98.31 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05092/3.223, allocations: 5.905 MB / 1.781 GB, free: 92.46 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/3.269, allocations: 33.64 MB / 1.814 GB, free: 58.77 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00796/3.277, allocations: 8.28 MB / 1.822 GB, free: 50.44 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.01714/3.294, allocations: 4.911 MB / 1.827 GB, free: 45.52 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/3.297, allocations: 0.8818 MB / 1.828 GB, free: 44.64 MB / 0.8543 GB Notification: Performance of SimCode: time 8.21e-07/3.297, allocations: 0 / 1.828 GB, free: 44.64 MB / 0.8543 GB Notification: Performance of Templates: time 0.613/3.91, allocations: 223.1 MB / 2.046 GB, free: 179.7 MB / 0.8543 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)