Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 97.95 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.005473/0.005474, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 270.4 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005988, allocations: 13.56 kB / 0.5987 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.5126/0.6653, allocations: 221.3 MB / 0.9013 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.07083/0.7362, allocations: 50.12 MB / 0.9503 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01078/0.747, allocations: 258.3 kB / 0.9505 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.7636, allocations: 5.909 MB / 0.9563 GB, free: 9.543 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02672/0.7903, allocations: 8.33 MB / 0.9644 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.8048, allocations: 5.01 MB / 0.9693 GB, free: 12.21 MB / 0.6856 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‘ Notification: Performance of NFFlatten.flatten: time 0.05747/0.8623, allocations: 56.55 MB / 1.025 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.8838, allocations: 13.6 MB / 1.038 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4831/1.367, allocations: 14.46 MB / 1.052 GB, free: 25.8 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02554/1.393, allocations: 10.99 MB / 1.063 GB, free: 25.05 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00709/1.4, allocations: 0.5432 MB / 1.063 GB, free: 25.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.024/1.424, allocations: 6.466 MB / 1.07 GB, free: 24.97 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.008293/1.432, allocations: 2.921 MB / 1.072 GB, free: 24.42 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01974/1.452, allocations: 7.287 MB / 1.079 GB, free: 22.19 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03848/1.49, allocations: 23.68 MB / 1.103 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.49, allocations: 3 kB / 1.103 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.425e-06/1.49, allocations: 0 / 1.103 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.00109/1.491, allocations: 0 / 1.103 GB, free: 19.83 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2536 * Number of variables: 2536 Notification: Performance of Generate backend data structure: time 0.04157/1.533, allocations: 13.21 MB / 1.116 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.533, allocations: 10.25 kB / 1.116 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006689/1.54, allocations: 1.342 MB / 1.117 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/1.555, allocations: 2.581 MB / 1.119 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03549/1.591, allocations: 16.11 MB / 1.135 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009756/1.592, allocations: 0.8092 MB / 1.136 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003897/1.596, allocations: 0.9748 MB / 1.137 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03676/1.633, allocations: 14.36 MB / 1.151 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007557/1.633, allocations: 43.42 kB / 1.151 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003745/1.637, allocations: 422.3 kB / 1.151 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003962/1.638, allocations: 414.1 kB / 1.152 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/1.665, allocations: 12.12 MB / 1.164 GB, free: 2.984 MB / 0.7481 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.105/1.77, allocations: 61.59 MB / 1.224 GB, free: 2.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.788, allocations: 8.997 MB / 1.232 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008994/1.797, allocations: 4.89 MB / 1.237 GB, free: 5.066 MB / 0.8106 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.04453/1.842, allocations: 18.37 MB / 1.255 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007613/1.849, allocations: 3.829 MB / 1.259 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007044/1.856, allocations: 0.7409 MB / 1.26 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=556): time 1.755e-05/1.856, allocations: 0 / 1.26 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=583): time 0.05415/1.91, allocations: 22.23 MB / 1.281 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.911, allocations: 185.1 kB / 1.282 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02076/1.931, allocations: 10.1 MB / 1.291 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001421/1.933, allocations: 133.7 kB / 1.292 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.006723/1.94, allocations: 6.072 MB / 1.297 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/1.943, allocations: 2.045 MB / 1.299 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/1.944, allocations: 0.6317 MB / 1.3 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/1.944, allocations: 301.1 kB / 1.3 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007082/1.952, allocations: 3.578 MB / 1.304 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008221/1.96, allocations: 5.7 MB / 1.309 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2999/2.26, allocations: 42.11 MB / 1.351 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.823e-05/2.26, allocations: 20 kB / 1.351 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=978) (initialization): time 0.02361/2.283, allocations: 11.47 MB / 1.362 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/2.285, allocations: 1.919 MB / 1.364 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-05/2.285, allocations: 60 kB / 1.364 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/2.287, allocations: 0.9732 MB / 1.365 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00777/2.294, allocations: 1.864 MB / 1.366 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3215/2.616, allocations: 20.92 MB / 1.387 GB, free: 418.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/2.628, allocations: 0.9331 MB / 1.388 GB, free: 418.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/2.629, allocations: 339.2 kB / 1.388 GB, free: 418.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/2.629, allocations: 4.844 kB / 1.388 GB, free: 418.4 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01731/2.647, allocations: 10.51 MB / 1.398 GB, free: 417.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/2.647, allocations: 61.8 kB / 1.398 GB, free: 417.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/2.649, allocations: 0.9683 MB / 1.399 GB, free: 417.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006953/2.656, allocations: 1.862 MB / 1.401 GB, free: 417.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/2.67, allocations: 20.93 MB / 1.422 GB, free: 400.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009807/2.679, allocations: 0.8945 MB / 1.423 GB, free: 400.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/2.681, allocations: 336.3 kB / 1.423 GB, free: 400.6 MB / 0.9512 GB Warning: Assuming fixed start value for the following 30 variables: pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real 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.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (pipe1.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (pipe1.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (pipe2.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (pipe2.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (storage.vol[3].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (storage.vol[4].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[5].dynBal.U:VARIABLE(start = storage.vol[5].dynBal.fluidVolume * storage.vol[5].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (storage.vol[5].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[6].dynBal.U:VARIABLE(start = storage.vol[6].dynBal.fluidVolume * storage.vol[6].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (storage.vol[6].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[7].dynBal.U:VARIABLE(start = storage.vol[7].dynBal.fluidVolume * storage.vol[7].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (storage.vol[7].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (storage.vol[8].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (storage.vol_HX_1.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (pipe3.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (pipe3.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (pipe4.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (pipe4.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * 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 (883): * Single equations (assignments): 870 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.008493/2.689, allocations: 5.243 MB / 1.428 GB, free: 398.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/2.691, allocations: 1.032 MB / 1.429 GB, free: 398.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/2.706, allocations: 9.73 MB / 1.438 GB, free: 394.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/2.706, allocations: 58.81 kB / 1.439 GB, free: 394.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/2.706, allocations: 10.56 kB / 1.439 GB, free: 394.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01185/2.718, allocations: 7.457 MB / 1.446 GB, free: 392.1 MB / 0.9512 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.03387/2.752, allocations: 20.68 MB / 1.466 GB, free: 384.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/2.752, allocations: 3.812 kB / 1.466 GB, free: 384.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/2.757, allocations: 1.279 MB / 1.467 GB, free: 384.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/2.759, allocations: 0.9073 MB / 1.468 GB, free: 383.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/2.759, allocations: 163.8 kB / 1.468 GB, free: 383.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/2.772, allocations: 20.78 MB / 1.489 GB, free: 366.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.772, allocations: 3.75 kB / 1.489 GB, free: 366.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/2.79, allocations: 13.79 MB / 1.502 GB, free: 353.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005164/2.795, allocations: 2.159 MB / 1.504 GB, free: 351.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/2.797, allocations: 124 kB / 1.504 GB, free: 351.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007546/2.805, allocations: 0.8303 MB / 1.505 GB, free: 350.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/2.806, allocations: 391.7 kB / 1.506 GB, free: 350.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005658/2.806, allocations: 247.8 kB / 1.506 GB, free: 350.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.01157/2.818, allocations: 7.096 MB / 1.513 GB, free: 343.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.703e-06/2.818, allocations: 0 / 1.513 GB, free: 343.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.02072/2.839, allocations: 5.602 MB / 1.518 GB, free: 337.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_HX_1.dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (541): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02202/2.861, allocations: 16.07 MB / 1.534 GB, free: 322 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02156/2.882, allocations: 16.93 MB / 1.55 GB, free: 304.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.882, allocations: 6.656 kB / 1.55 GB, free: 304.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006602/2.889, allocations: 5.492 MB / 1.556 GB, free: 299.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03415/2.923, allocations: 5.999 MB / 1.562 GB, free: 293.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2824/3.206, allocations: 142.5 MB / 1.701 GB, free: 141.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/3.216, allocations: 8.061 MB / 1.709 GB, free: 133.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0161/3.233, allocations: 4.846 MB / 1.713 GB, free: 128.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009131/3.242, allocations: 5.673 MB / 1.719 GB, free: 123.1 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/3.242, allocations: 4 kB / 1.719 GB, free: 123.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/4.394, allocations: 303.7 MB / 2.015 GB, free: 288.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/4.394, allocations: 301.3 kB / 2.016 GB, free: 288.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/14.94, allocations: 0 / 2.016 GB, free: 288.4 MB / 0.9512 GB (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1.fmu > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1)