Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_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.001117/0.001117, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001338/0.001338, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2013/0.2013, allocations: 12.02 MB / 303.1 MB, free: 1.664 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000236/0.000236, allocations: 15.94 kB / 357.2 MB, free: 3.172 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 2.004/2.004, allocations: 270.9 MB / 0.6662 GB, free: 15.31 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005025, allocations: 14.31 kB / 0.7874 GB, free: 31.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 111 MB / 0.8958 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.7229/0.9673, allocations: 223.4 MB / 1.114 GB, free: 36.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05574/1.023, allocations: 45.72 MB / 1.159 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01463/1.038, allocations: 246.2 kB / 1.159 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/1.048, allocations: 2.298 MB / 1.161 GB, free: 15.17 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.02245/1.071, allocations: 6.717 MB / 1.168 GB, free: 9.82 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01527/1.086, allocations: 4.31 MB / 1.172 GB, free: 6.938 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.03052/1.116, allocations: 18.96 MB / 1.19 GB, free: 6 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/1.13, allocations: 4.318 MB / 1.195 GB, free: 1.625 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0142/1.145, allocations: 5.153 MB / 1.2 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009325/1.154, allocations: 4.196 MB / 1.204 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.003264/1.157, allocations: 220 kB / 1.204 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.168, allocations: 2.395 MB / 1.206 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003463/1.172, allocations: 1.167 MB / 1.207 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003989/1.176, allocations: 1.393 MB / 1.209 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.192, allocations: 9.199 MB / 1.218 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.192, allocations: 3.938 kB / 1.218 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/1.192, allocations: 0 / 1.218 GB, free: 9.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004514/1.192, allocations: 3.938 kB / 1.218 GB, free: 9.816 MB / 0.795 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.01807/1.21, allocations: 5.982 MB / 1.224 GB, free: 3.727 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.21, allocations: 8.031 kB / 1.224 GB, free: 3.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/1.217, allocations: 1.448 MB / 1.225 GB, free: 2.262 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/1.233, allocations: 5.996 MB / 1.231 GB, free: 12.2 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/1.234, allocations: 0.5386 MB / 1.231 GB, free: 11.66 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/1.236, allocations: 376 kB / 1.232 GB, free: 11.3 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.25, allocations: 4.515 MB / 1.236 GB, free: 6.617 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.25, allocations: 7.938 kB / 1.236 GB, free: 6.609 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.251, allocations: 151.9 kB / 1.236 GB, free: 6.461 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/1.252, allocations: 99.98 kB / 1.236 GB, free: 6.363 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/1.264, allocations: 3.852 MB / 1.24 GB, free: 2.504 MB / 0.8107 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.0406/1.305, allocations: 22.24 MB / 1.262 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006619/1.312, allocations: 3.224 MB / 1.265 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/1.315, allocations: 1.45 MB / 1.266 GB, free: 6.227 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 evalFunc (simulation): time 0.01471/1.33, allocations: 8.734 MB / 1.275 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003371/1.333, allocations: 1.612 MB / 1.276 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003289/1.336, allocations: 261.7 kB / 1.277 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=186): time 8.486e-06/1.336, allocations: 4 kB / 1.277 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=186): time 0.01972/1.356, allocations: 6.004 MB / 1.283 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.356, allocations: 180.2 kB / 1.283 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008415/1.365, allocations: 4.741 MB / 1.287 GB, free: 15.65 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0005722/1.365, allocations: 69.7 kB / 1.287 GB, free: 15.58 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002984/1.368, allocations: 2.644 MB / 1.29 GB, free: 12.91 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.369, allocations: 0.6239 MB / 1.291 GB, free: 12.28 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.37, allocations: 48 kB / 1.291 GB, free: 12.23 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.37, allocations: 407.1 kB / 1.291 GB, free: 11.83 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.373, allocations: 1.246 MB / 1.292 GB, free: 10.58 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/1.376, allocations: 2.28 MB / 1.295 GB, free: 7.84 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/1.38, allocations: 1.555 MB / 1.296 GB, free: 6.273 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.38, allocations: 4 kB / 1.296 GB, free: 6.27 MB / 0.8732 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01009/1.39, allocations: 4.285 MB / 1.3 GB, free: 1.953 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007673/1.391, allocations: 0.9032 MB / 1.301 GB, free: 0.6914 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/1.391, allocations: 24 kB / 1.301 GB, free: 0.668 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/1.393, allocations: 0.7056 MB / 1.302 GB, free: 15.95 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/1.396, allocations: 0.6435 MB / 1.302 GB, free: 15.31 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/1.399, allocations: 3.12 MB / 1.306 GB, free: 12.1 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/1.405, allocations: 474.3 kB / 1.306 GB, free: 11.63 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006794/1.406, allocations: 140 kB / 1.306 GB, free: 11.5 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.406, allocations: 7.938 kB / 1.306 GB, free: 11.49 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008573/1.414, allocations: 3.824 MB / 1.31 GB, free: 7.645 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.354e-05/1.415, allocations: 32.2 kB / 1.31 GB, free: 7.613 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/1.417, allocations: 0.6731 MB / 1.311 GB, free: 6.934 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.419, allocations: 0.6202 MB / 1.311 GB, free: 6.312 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/1.422, allocations: 1.91 MB / 1.313 GB, free: 4.352 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005034/1.427, allocations: 465.2 kB / 1.313 GB, free: 3.898 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004928/1.427, allocations: 136 kB / 1.314 GB, free: 3.766 MB / 0.8888 GB Warning: Assuming fixed start value for the following 4 variables: 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 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.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.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,$PRE.coolingDemand.nextEvent,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,$PRE.heatDemand.nextEvent,heatDemand.nextEvent,heatDemand.nextEventScaled) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.003759/1.431, allocations: 1.492 MB / 1.315 GB, free: 2.254 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/1.433, allocations: 0.5054 MB / 1.316 GB, free: 1.742 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.443, allocations: 4.341 MB / 1.32 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/1.443, allocations: 27.97 kB / 1.32 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.443, allocations: 7.891 kB / 1.32 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007309/1.451, allocations: 3.167 MB / 1.323 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.473, allocations: 9.041 MB / 1.332 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.473, allocations: 4 kB / 1.332 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.474, allocations: 391.8 kB / 1.332 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/1.476, allocations: 0.6495 MB / 1.333 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.477, allocations: 63.91 kB / 1.333 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/1.481, allocations: 3.075 MB / 1.336 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.481, allocations: 8 kB / 1.336 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/1.495, allocations: 5.747 MB / 1.341 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003755/1.498, allocations: 1.01 MB / 1.342 GB, free: 5.887 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.5, allocations: 47.95 kB / 1.342 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/1.504, allocations: 443.2 kB / 1.343 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/1.504, allocations: 129.8 kB / 1.343 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/1.505, allocations: 95.94 kB / 1.343 GB, free: 5.184 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007359/1.512, allocations: 3.204 MB / 1.346 GB, free: 2.012 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/1.512, allocations: 0 / 1.346 GB, free: 2.012 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01077/1.523, allocations: 2.72 MB / 1.349 GB, free: 15.28 MB / 0.9357 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 12,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002766/1.526, allocations: 1.225 MB / 1.35 GB, free: 14.09 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.538, allocations: 5.241 MB / 1.355 GB, free: 8.809 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.538, allocations: 4 kB / 1.355 GB, free: 8.805 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.004097/1.543, allocations: 1.62 MB / 1.357 GB, free: 7.164 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02119/1.564, allocations: 2.593 MB / 1.359 GB, free: 4.656 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.595, allocations: 10.93 MB / 1.37 GB, free: 9.652 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004548/1.599, allocations: 2.803 MB / 1.373 GB, free: 6.82 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.009024/1.608, allocations: 1.116 MB / 1.374 GB, free: 5.77 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.61, allocations: 375.2 kB / 1.374 GB, free: 5.402 MB / 0.9513 GB Notification: Performance of SimCode: time 2.835e-06/1.61, allocations: 0 / 1.374 GB, free: 5.402 MB / 0.9513 GB Notification: Performance of Templates: time 0.6463/2.256, allocations: 106.8 MB / 1.478 GB, free: 302.2 MB / 0.9669 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)