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: "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008014, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004764/0.004764, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.301/1.301, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 278.5 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 13.81 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.5539/0.7253, allocations: 269.5 MB / 0.9484 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.07788/0.8032, allocations: 61.5 MB / 1.008 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.8153, allocations: 317.9 kB / 1.009 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01818/0.8336, allocations: 8.941 MB / 1.017 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0309/0.8645, allocations: 9.893 MB / 1.027 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01749/0.882, allocations: 6.051 MB / 1.033 GB, free: 11.11 MB / 0.7481 GB [/var/lib/jenkins1/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/jenkins1/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.511/1.393, allocations: 63.46 MB / 1.095 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02772/1.421, allocations: 14.44 MB / 1.109 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03976/1.461, allocations: 15.95 MB / 1.125 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02371/1.484, allocations: 11.9 MB / 1.136 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005535/1.49, allocations: 0.5898 MB / 1.137 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02539/1.515, allocations: 7.06 MB / 1.144 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.007738/1.523, allocations: 3.335 MB / 1.147 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02074/1.544, allocations: 8.058 MB / 1.155 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.04934/1.593, allocations: 26.04 MB / 1.18 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.593, allocations: 0 / 1.18 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.346e-06/1.593, allocations: 0 / 1.18 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.00111/1.594, allocations: 0 / 1.18 GB, free: 9.082 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.03834/1.633, allocations: 14.67 MB / 1.195 GB, free: 11.71 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.633, allocations: 12.03 kB / 1.195 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005534/1.638, allocations: 1.429 MB / 1.196 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/1.655, allocations: 3.177 MB / 1.199 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03936/1.695, allocations: 18.22 MB / 1.217 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001711/1.697, allocations: 0.9969 MB / 1.218 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/1.701, allocations: 1.048 MB / 1.219 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04378/1.744, allocations: 15.31 MB / 1.234 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006097/1.745, allocations: 49.95 kB / 1.234 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003873/1.749, allocations: 455.8 kB / 1.234 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004736/1.749, allocations: 429.5 kB / 1.235 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03171/1.781, allocations: 13.09 MB / 1.248 GB, free: 15.86 MB / 0.8419 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.1051/1.886, allocations: 66.9 MB / 1.313 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/1.908, allocations: 9.965 MB / 1.323 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01082/1.919, allocations: 5.346 MB / 1.328 GB, free: 10.29 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.0471/1.966, allocations: 19.89 MB / 1.347 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/1.976, allocations: 4.366 MB / 1.352 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009519/1.986, allocations: 0.9356 MB / 1.352 GB, free: 392 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=612): time 2.97e-05/1.986, allocations: 0 / 1.352 GB, free: 392 kB / 0.9356 GB Notification: Performance of matching and sorting (n=641): time 0.07015/2.056, allocations: 25.03 MB / 1.377 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/2.056, allocations: 197.5 kB / 1.377 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6567/2.713, allocations: 11.37 MB / 1.388 GB, free: 448.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/2.714, allocations: 153.2 kB / 1.388 GB, free: 448.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.007109/2.721, allocations: 6.739 MB / 1.395 GB, free: 446.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.003307/2.725, allocations: 2.24 MB / 1.397 GB, free: 445.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/2.726, allocations: 0.7369 MB / 1.398 GB, free: 445.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/2.726, allocations: 306.2 kB / 1.398 GB, free: 444.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007893/2.734, allocations: 4.17 MB / 1.402 GB, free: 443.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009827/2.744, allocations: 6.53 MB / 1.409 GB, free: 439.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3063/3.05, allocations: 45.26 MB / 1.453 GB, free: 425.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/3.05, allocations: 19.53 kB / 1.453 GB, free: 425.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02464/3.075, allocations: 13.04 MB / 1.466 GB, free: 415.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000841/3.076, allocations: 2.056 MB / 1.468 GB, free: 412.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/3.076, allocations: 64 kB / 1.468 GB, free: 412.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/3.078, allocations: 0.9754 MB / 1.469 GB, free: 411.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/3.086, allocations: 2.141 MB / 1.471 GB, free: 409 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/3.099, allocations: 20.93 MB / 1.491 GB, free: 386.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/3.111, allocations: 1.075 MB / 1.492 GB, free: 385.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/3.113, allocations: 390.9 kB / 1.492 GB, free: 385.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/3.113, allocations: 4 kB / 1.492 GB, free: 385.2 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02072/3.134, allocations: 11.94 MB / 1.504 GB, free: 373.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/3.134, allocations: 64 kB / 1.504 GB, free: 373.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/3.136, allocations: 0.9775 MB / 1.505 GB, free: 372.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009216/3.145, allocations: 2.121 MB / 1.507 GB, free: 369.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/3.157, allocations: 20.93 MB / 1.528 GB, free: 347.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/3.169, allocations: 1.045 MB / 1.529 GB, free: 346.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/3.17, allocations: 375.9 kB / 1.529 GB, free: 346.2 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.009635/3.18, allocations: 5.551 MB / 1.534 GB, free: 340.6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003368/3.183, allocations: 1.161 MB / 1.536 GB, free: 339.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/3.206, allocations: 10.83 MB / 1.546 GB, free: 328.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/3.206, allocations: 64 kB / 1.546 GB, free: 328.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/3.206, allocations: 12 kB / 1.546 GB, free: 328.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0169/3.223, allocations: 8.459 MB / 1.555 GB, free: 319.9 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.04756/3.27, allocations: 22.8 MB / 1.577 GB, free: 297.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/3.27, allocations: 96 / 1.577 GB, free: 297.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007167/3.278, allocations: 1.49 MB / 1.578 GB, free: 295.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/3.28, allocations: 0.8989 MB / 1.579 GB, free: 294.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001288/3.281, allocations: 180.9 kB / 1.579 GB, free: 294.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/3.294, allocations: 20.77 MB / 1.6 GB, free: 272.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/3.294, allocations: 0 / 1.6 GB, free: 272.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/3.321, allocations: 15.45 MB / 1.615 GB, free: 256.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006925/3.328, allocations: 2.397 MB / 1.617 GB, free: 254.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003694/3.332, allocations: 140 kB / 1.617 GB, free: 254.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/3.343, allocations: 0.9586 MB / 1.618 GB, free: 253.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/3.344, allocations: 428.5 kB / 1.618 GB, free: 252.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/3.346, allocations: 275.8 kB / 1.619 GB, free: 252.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0136/3.359, allocations: 7.755 MB / 1.626 GB, free: 244.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.052e-06/3.359, allocations: 0 / 1.626 GB, free: 244.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.02444/3.384, allocations: 6.159 MB / 1.632 GB, free: 238.7 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.03676/3.421, allocations: 17.87 MB / 1.65 GB, free: 221.1 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.03105/3.452, allocations: 19.01 MB / 1.668 GB, free: 201.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.589e-05/3.452, allocations: 6.656 kB / 1.668 GB, free: 201.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01049/3.462, allocations: 6.039 MB / 1.674 GB, free: 195.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03664/3.499, allocations: 6.276 MB / 1.68 GB, free: 189.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3457/3.845, allocations: 162.2 MB / 1.839 GB, free: 17.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009936/3.855, allocations: 8.709 MB / 1.847 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.01769/3.872, allocations: 5.22 MB / 1.852 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3539/4.226, allocations: 6.432 MB / 1.859 GB, free: 403.5 MB / 0.9669 GB Notification: Performance of SimCode: time 1.383e-06/4.226, allocations: 0 / 1.859 GB, free: 403.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4251/4.651, allocations: 329 MB / 2.18 GB, free: 140.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/4.652, allocations: 304.4 kB / 2.18 GB, free: 140.4 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/15.93, allocations: 0 / 2.18 GB, free: 140.4 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2.fmu > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe 2>&1)