Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008255/0.0008254, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005119/0.005119, allocations: 170 kB / 16.26 MB, free: 6.613 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 270.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 11.88 kB / 0.5986 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.5477/0.6979, allocations: 269.5 MB / 0.9482 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.08063/0.7786, allocations: 61.51 MB / 1.008 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01164/0.7902, allocations: 318 kB / 1.009 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01927/0.8095, allocations: 8.933 MB / 1.017 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02805/0.8376, allocations: 9.892 MB / 1.027 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.8536, allocations: 6.04 MB / 1.033 GB, free: 11.18 MB / 0.7481 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.937472605549519e-05}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 2.008867139553991e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.4534/1.307, allocations: 63.47 MB / 1.095 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02229/1.329, allocations: 14.45 MB / 1.109 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03462/1.364, allocations: 15.94 MB / 1.125 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01975/1.384, allocations: 11.91 MB / 1.136 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.003621/1.387, allocations: 0.5898 MB / 1.137 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/1.409, allocations: 7.056 MB / 1.144 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.006392/1.416, allocations: 3.332 MB / 1.147 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01636/1.432, allocations: 8.067 MB / 1.155 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.03779/1.47, allocations: 26.04 MB / 1.18 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.47, allocations: 0 / 1.18 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.364e-06/1.47, allocations: 0 / 1.18 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0008172/1.471, allocations: 0 / 1.18 GB, free: 8.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2712 * Number of variables: 2712 Notification: Performance of Generate backend data structure: time 0.0329/1.504, allocations: 14.67 MB / 1.195 GB, free: 11.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.504, allocations: 8.031 kB / 1.195 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/1.52, allocations: 3.176 MB / 1.198 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03521/1.555, allocations: 18.22 MB / 1.215 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/1.557, allocations: 1.003 MB / 1.216 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/1.56, allocations: 1.045 MB / 1.217 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/1.591, allocations: 15.31 MB / 1.232 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.591, allocations: 46.61 kB / 1.232 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/1.593, allocations: 457.3 kB / 1.233 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/1.593, allocations: 437.2 kB / 1.233 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/1.625, allocations: 13.08 MB / 1.246 GB, free: 1.234 MB / 0.8262 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.09764/1.723, allocations: 66.89 MB / 1.311 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/1.746, allocations: 9.965 MB / 1.321 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01348/1.76, allocations: 5.333 MB / 1.326 GB, free: 11.73 MB / 0.92 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.04382/1.804, allocations: 19.9 MB / 1.346 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008586/1.812, allocations: 4.364 MB / 1.35 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007671/1.82, allocations: 0.939 MB / 1.351 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=612): time 2.084e-05/1.82, allocations: 4 kB / 1.351 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=641): time 0.06546/1.886, allocations: 25.03 MB / 1.375 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.886, allocations: 193.5 kB / 1.376 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5905/2.476, allocations: 11.37 MB / 1.387 GB, free: 448.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001393/2.478, allocations: 151.5 kB / 1.387 GB, free: 448.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00663/2.484, allocations: 6.738 MB / 1.393 GB, free: 446.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.002706/2.487, allocations: 2.24 MB / 1.396 GB, free: 445.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/2.488, allocations: 0.7379 MB / 1.396 GB, free: 444.9 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.455e-05/2.488, allocations: 302.8 kB / 1.397 GB, free: 444.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008091/2.497, allocations: 4.18 MB / 1.401 GB, free: 443.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009738/2.506, allocations: 6.523 MB / 1.407 GB, free: 439.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3178/2.824, allocations: 45.26 MB / 1.451 GB, free: 425.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.161e-05/2.824, allocations: 22.28 kB / 1.451 GB, free: 425.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02412/2.848, allocations: 13.04 MB / 1.464 GB, free: 416.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001184/2.85, allocations: 2.049 MB / 1.466 GB, free: 413.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.019e-05/2.85, allocations: 68 kB / 1.466 GB, free: 413.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/2.852, allocations: 0.9794 MB / 1.467 GB, free: 412.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/2.86, allocations: 2.137 MB / 1.469 GB, free: 410.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/2.874, allocations: 20.93 MB / 1.49 GB, free: 388 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.885, allocations: 1.079 MB / 1.491 GB, free: 387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/2.886, allocations: 379.9 kB / 1.491 GB, free: 386.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/2.886, allocations: 4 kB / 1.491 GB, free: 386.6 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01854/2.905, allocations: 11.94 MB / 1.503 GB, free: 374.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/2.905, allocations: 64.22 kB / 1.503 GB, free: 374.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/2.907, allocations: 0.9849 MB / 1.504 GB, free: 373.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008455/2.915, allocations: 2.114 MB / 1.506 GB, free: 371.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/2.929, allocations: 20.92 MB / 1.526 GB, free: 349 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.94, allocations: 1.051 MB / 1.527 GB, free: 348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.942, allocations: 379.9 kB / 1.528 GB, free: 347.6 MB / 0.9669 GB Warning: Assuming fixed start value for the following 30 variables: 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 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] 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[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[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[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[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[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[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[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[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] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] 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] 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[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[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[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[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[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[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_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_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 pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.control.y,control.y,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (994): * Single equations (assignments): 979 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.009207/2.951, allocations: 5.54 MB / 1.533 GB, free: 342.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002588/2.954, allocations: 1.161 MB / 1.534 GB, free: 340.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/2.971, allocations: 10.84 MB / 1.545 GB, free: 330 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.026e-05/2.971, allocations: 64 kB / 1.545 GB, free: 329.9 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/2.971, allocations: 12 kB / 1.545 GB, free: 329.9 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01296/2.984, allocations: 8.455 MB / 1.553 GB, free: 321.4 MB / 0.9669 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.03877/3.023, allocations: 22.79 MB / 1.575 GB, free: 298.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/3.023, allocations: 15.81 kB / 1.575 GB, free: 298.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006622/3.03, allocations: 1.48 MB / 1.577 GB, free: 297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/3.032, allocations: 0.9028 MB / 1.578 GB, free: 296.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/3.032, allocations: 183.9 kB / 1.578 GB, free: 295.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/3.045, allocations: 20.78 MB / 1.598 GB, free: 273.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/3.045, allocations: 0 / 1.598 GB, free: 273.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/3.069, allocations: 15.44 MB / 1.613 GB, free: 258.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006098/3.075, allocations: 2.395 MB / 1.615 GB, free: 255.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002358/3.078, allocations: 132.2 kB / 1.616 GB, free: 255.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008814/3.086, allocations: 0.9717 MB / 1.617 GB, free: 254.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007946/3.087, allocations: 424.6 kB / 1.617 GB, free: 254.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005885/3.088, allocations: 279.8 kB / 1.617 GB, free: 253.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01085/3.099, allocations: 7.755 MB / 1.625 GB, free: 246.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.8e-07/3.099, allocations: 0 / 1.625 GB, free: 246.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0196/3.118, allocations: 6.154 MB / 1.631 GB, free: 240.1 MB / 0.9669 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 (614): * Single equations (assignments): 596 * 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.004111/3.122, allocations: 1.914 MB / 1.633 GB, free: 238.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02836/3.151, allocations: 19.02 MB / 1.651 GB, free: 219.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.151, allocations: 10.66 kB / 1.651 GB, free: 219.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.008786/3.16, allocations: 6.035 MB / 1.657 GB, free: 213.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03226/3.192, allocations: 6.28 MB / 1.663 GB, free: 206.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05124/3.243, allocations: 35.55 MB / 1.698 GB, free: 171.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/3.253, allocations: 8.705 MB / 1.707 GB, free: 162.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.01805/3.272, allocations: 5.208 MB / 1.712 GB, free: 157.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/3.275, allocations: 0.9521 MB / 1.713 GB, free: 156.5 MB / 0.9669 GB Notification: Performance of SimCode: time 7.42e-07/3.275, allocations: 0 / 1.713 GB, free: 156.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.6275/3.902, allocations: 230.6 MB / 1.938 GB, free: 384.9 MB / 0.9669 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)