Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001211/0.001211, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1977/0.1977, allocations: 12.04 MB / 303.5 MB, free: 1.656 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002276/0.0002275, allocations: 23.88 kB / 357.6 MB, free: 3.082 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.865/1.865, allocations: 266.8 MB / 0.6625 GB, free: 3.156 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004749, allocations: 14 kB / 0.7833 GB, free: 32.35 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 110.2 MB / 0.8909 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.8604/1.084, allocations: 236.8 MB / 1.122 GB, free: 30.63 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05554/1.14, allocations: 48.35 MB / 1.169 GB, free: 11.87 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/1.152, allocations: 255.6 kB / 1.17 GB, free: 11.77 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.008912/1.161, allocations: 2.869 MB / 1.172 GB, free: 9.395 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.02222/1.184, allocations: 7.969 MB / 1.18 GB, free: 3 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02193/1.206, allocations: 5.916 MB / 1.186 GB, free: 13.52 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.03774/1.243, allocations: 22.06 MB / 1.208 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/1.254, allocations: 4.974 MB / 1.212 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/1.267, allocations: 5.471 MB / 1.218 GB, free: 12.85 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008077/1.275, allocations: 4.429 MB / 1.222 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002244/1.277, allocations: 216 kB / 1.222 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/1.288, allocations: 3.322 MB / 1.226 GB, free: 4.855 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002732/1.291, allocations: 1.205 MB / 1.227 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006847/1.298, allocations: 3.153 MB / 1.23 GB, free: 480 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/1.317, allocations: 11.37 MB / 1.241 GB, free: 5.066 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.317, allocations: 0 / 1.241 GB, free: 5.066 MB / 0.8107 GB Notification: Performance of FrontEnd: time 2.294e-06/1.317, allocations: 0 / 1.241 GB, free: 5.066 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.000334/1.317, allocations: 0 / 1.241 GB, free: 5.066 MB / 0.8107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01369/1.331, allocations: 5.893 MB / 1.247 GB, free: 15.07 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.331, allocations: 8.031 kB / 1.247 GB, free: 15.06 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007377/1.338, allocations: 1.456 MB / 1.248 GB, free: 13.6 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.354, allocations: 6.186 MB / 1.254 GB, free: 7.344 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001678/1.355, allocations: 0.5385 MB / 1.255 GB, free: 6.805 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/1.357, allocations: 380 kB / 1.255 GB, free: 6.434 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/1.37, allocations: 4.526 MB / 1.259 GB, free: 1.742 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/1.37, allocations: 15.86 kB / 1.259 GB, free: 1.727 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/1.37, allocations: 152 kB / 1.26 GB, free: 1.578 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-05/1.37, allocations: 88 kB / 1.26 GB, free: 1.492 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009942/1.38, allocations: 3.875 MB / 1.263 GB, free: 13.61 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.03829/1.419, allocations: 22.21 MB / 1.285 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007038/1.426, allocations: 3.224 MB / 1.288 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.429, allocations: 1.438 MB / 1.29 GB, free: 1.371 MB / 0.8575 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.01664/1.446, allocations: 8.679 MB / 1.298 GB, free: 7.754 MB / 0.8732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003938/1.45, allocations: 1.623 MB / 1.3 GB, free: 6.098 MB / 0.8732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003111/1.453, allocations: 269.6 kB / 1.3 GB, free: 5.832 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=186): time 1.117e-05/1.453, allocations: 0 / 1.3 GB, free: 5.832 MB / 0.8732 GB Notification: Performance of matching and sorting (n=186): time 0.02172/1.475, allocations: 6.024 MB / 1.306 GB, free: 15.74 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.475, allocations: 188.2 kB / 1.306 GB, free: 15.52 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/1.487, allocations: 4.737 MB / 1.311 GB, free: 10.81 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.0007592/1.488, allocations: 69.7 kB / 1.311 GB, free: 10.73 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.003673/1.491, allocations: 2.644 MB / 1.313 GB, free: 8.074 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.493, allocations: 0.6277 MB / 1.314 GB, free: 7.438 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000704/1.493, allocations: 214.8 kB / 1.314 GB, free: 7.223 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.493, allocations: 309.1 kB / 1.314 GB, free: 6.918 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/1.497, allocations: 1.289 MB / 1.316 GB, free: 5.625 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/1.502, allocations: 2.309 MB / 1.318 GB, free: 2.859 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5629/2.065, allocations: 79.65 MB / 1.396 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/2.065, allocations: 12 kB / 1.396 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.4938/2.558, allocations: 4.371 MB / 1.4 GB, free: 357.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004544/2.559, allocations: 0.9096 MB / 1.401 GB, free: 356.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/2.559, allocations: 24.59 kB / 1.401 GB, free: 356.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/2.561, allocations: 0.7083 MB / 1.402 GB, free: 356.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/2.564, allocations: 0.6426 MB / 1.402 GB, free: 356.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/2.567, allocations: 3.124 MB / 1.405 GB, free: 354 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005146/2.572, allocations: 464.1 kB / 1.406 GB, free: 354 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/2.573, allocations: 138.4 kB / 1.406 GB, free: 354 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/2.573, allocations: 5.906 kB / 1.406 GB, free: 354 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008273/2.581, allocations: 3.832 MB / 1.41 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/2.581, allocations: 26.75 kB / 1.41 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/2.584, allocations: 0.6725 MB / 1.41 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/2.586, allocations: 0.6181 MB / 1.411 GB, free: 353.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/2.589, allocations: 1.912 MB / 1.413 GB, free: 352.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/2.594, allocations: 452.5 kB / 1.413 GB, free: 352.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/2.594, allocations: 142 kB / 1.413 GB, free: 352.7 MB / 0.9669 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.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: 113 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003819/2.598, allocations: 1.49 MB / 1.415 GB, free: 352.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/2.6, allocations: 0.5078 MB / 1.415 GB, free: 352.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/2.612, allocations: 4.354 MB / 1.42 GB, free: 352.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/2.612, allocations: 22.64 kB / 1.42 GB, free: 352.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/2.612, allocations: 5.922 kB / 1.42 GB, free: 352.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008581/2.621, allocations: 3.188 MB / 1.423 GB, free: 351.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/2.647, allocations: 9.029 MB / 1.431 GB, free: 348.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/2.647, allocations: 6.75 kB / 1.431 GB, free: 348.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/2.649, allocations: 387.7 kB / 1.432 GB, free: 348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/2.652, allocations: 0.6464 MB / 1.432 GB, free: 347.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003086/2.652, allocations: 66.73 kB / 1.433 GB, free: 347.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/2.656, allocations: 3.244 MB / 1.436 GB, free: 345.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.656, allocations: 4.031 kB / 1.436 GB, free: 345.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/2.67, allocations: 5.765 MB / 1.441 GB, free: 343.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003242/2.673, allocations: 0.9988 MB / 1.442 GB, free: 342.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/2.675, allocations: 47.67 kB / 1.442 GB, free: 342.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/2.679, allocations: 432 kB / 1.443 GB, free: 342.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/2.68, allocations: 138.8 kB / 1.443 GB, free: 342.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/2.68, allocations: 101.5 kB / 1.443 GB, free: 342.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.006819/2.687, allocations: 3.221 MB / 1.446 GB, free: 341.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/2.687, allocations: 0 / 1.446 GB, free: 341.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.009878/2.697, allocations: 2.71 MB / 1.449 GB, free: 340.7 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002801/2.7, allocations: 1.277 MB / 1.45 GB, free: 340.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01189/2.711, allocations: 5.31 MB / 1.455 GB, free: 337.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.712, allocations: 3.312 kB / 1.455 GB, free: 337.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/2.716, allocations: 1.742 MB / 1.457 GB, free: 336.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/2.732, allocations: 2.572 MB / 1.459 GB, free: 333.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/2.752, allocations: 11.44 MB / 1.471 GB, free: 322.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/2.755, allocations: 2.813 MB / 1.473 GB, free: 319.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005643/2.76, allocations: 1.12 MB / 1.474 GB, free: 318.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/2.761, allocations: 375.3 kB / 1.475 GB, free: 318 MB / 0.9669 GB Notification: Performance of SimCode: time 1.633e-06/2.761, allocations: 0 / 1.475 GB, free: 318 MB / 0.9669 GB Notification: Performance of Templates: time 0.1509/2.912, allocations: 108.4 MB / 1.581 GB, free: 210.7 MB / 0.9669 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)