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.0008043/0.0008043, allocations: 92 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.0009696/0.0009695, 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.211/0.211, allocations: 12.02 MB / 303.1 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.0002263/0.0002268, allocations: 19.91 kB / 357.2 MB, free: 3.246 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.978/1.978, allocations: 266.8 MB / 0.6622 GB, free: 3.227 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000534/0.000534, allocations: 19.62 kB / 0.7826 GB, free: 32.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2762, allocations: 110.2 MB / 0.8902 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.7346/1.011, allocations: 223.3 MB / 1.108 GB, free: 36.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06965/1.081, allocations: 45.71 MB / 1.153 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/1.094, allocations: 247.9 kB / 1.153 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01057/1.105, allocations: 2.293 MB / 1.155 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02892/1.134, allocations: 6.72 MB / 1.162 GB, free: 15.39 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01642/1.15, allocations: 4.321 MB / 1.166 GB, free: 12.52 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.03144/1.182, allocations: 18.94 MB / 1.185 GB, free: 13.13 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/1.193, allocations: 4.314 MB / 1.189 GB, free: 8.758 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02113/1.215, allocations: 5.164 MB / 1.194 GB, free: 3.574 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/1.229, allocations: 4.192 MB / 1.198 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/1.231, allocations: 220 kB / 1.198 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/1.243, allocations: 2.399 MB / 1.201 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003209/1.246, allocations: 1.163 MB / 1.202 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004136/1.251, allocations: 1.397 MB / 1.203 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.268, allocations: 9.191 MB / 1.212 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/1.268, allocations: 0 / 1.212 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.028e-06/1.268, allocations: 0 / 1.212 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0005525/1.269, allocations: 4 kB / 1.212 GB, free: 0.9531 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.02115/1.29, allocations: 5.982 MB / 1.218 GB, free: 10.86 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.29, allocations: 8.031 kB / 1.218 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/1.297, allocations: 1.456 MB / 1.219 GB, free: 9.391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/1.314, allocations: 5.985 MB / 1.225 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001435/1.316, allocations: 0.5386 MB / 1.226 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/1.317, allocations: 372 kB / 1.226 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/1.329, allocations: 4.522 MB / 1.231 GB, free: 13.75 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.197e-05/1.329, allocations: 11.89 kB / 1.231 GB, free: 13.74 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/1.33, allocations: 152 kB / 1.231 GB, free: 13.59 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.662e-05/1.33, allocations: 91.94 kB / 1.231 GB, free: 13.5 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/1.34, allocations: 3.855 MB / 1.235 GB, free: 9.637 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.03741/1.377, allocations: 22.27 MB / 1.256 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/1.383, allocations: 3.213 MB / 1.259 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/1.386, allocations: 1.446 MB / 1.261 GB, free: 13.36 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.01347/1.4, allocations: 8.734 MB / 1.269 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003256/1.403, allocations: 1.615 MB / 1.271 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00228/1.405, allocations: 261.7 kB / 1.271 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=186): time 6.001e-06/1.405, allocations: 4 kB / 1.271 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=186): time 0.01843/1.424, allocations: 5.993 MB / 1.277 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.424, allocations: 188.1 kB / 1.277 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008041/1.432, allocations: 4.733 MB / 1.282 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004153/1.432, allocations: 77.61 kB / 1.282 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002502/1.435, allocations: 2.64 MB / 1.284 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008176/1.436, allocations: 0.6278 MB / 1.285 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.436, allocations: 48 kB / 1.285 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.436, allocations: 403.1 kB / 1.286 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/1.439, allocations: 1.239 MB / 1.287 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/1.443, allocations: 2.284 MB / 1.289 GB, free: 14.98 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.446, allocations: 1.559 MB / 1.29 GB, free: 13.41 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/1.446, allocations: 11.94 kB / 1.29 GB, free: 13.39 MB / 0.8732 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.009521/1.455, allocations: 4.276 MB / 1.295 GB, free: 9.086 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007979/1.456, allocations: 0.9077 MB / 1.296 GB, free: 7.82 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/1.456, allocations: 24 kB / 1.296 GB, free: 7.797 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/1.459, allocations: 0.7008 MB / 1.296 GB, free: 7.09 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/1.461, allocations: 0.6513 MB / 1.297 GB, free: 6.438 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/1.465, allocations: 3.118 MB / 1.3 GB, free: 3.223 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/1.47, allocations: 462.1 kB / 1.3 GB, free: 2.77 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/1.47, allocations: 147.9 kB / 1.301 GB, free: 2.625 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.47, allocations: 4 kB / 1.301 GB, free: 2.621 MB / 0.8732 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008031/1.478, allocations: 3.824 MB / 1.304 GB, free: 14.78 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/1.478, allocations: 35.97 kB / 1.304 GB, free: 14.74 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.48, allocations: 0.6761 MB / 1.305 GB, free: 14.06 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.483, allocations: 0.6123 MB / 1.306 GB, free: 13.45 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.486, allocations: 1.913 MB / 1.307 GB, free: 11.48 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/1.49, allocations: 452.6 kB / 1.308 GB, free: 11.04 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/1.491, allocations: 136 kB / 1.308 GB, free: 10.91 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.003316/1.494, allocations: 1.497 MB / 1.309 GB, free: 9.395 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.495, allocations: 0.5132 MB / 1.31 GB, free: 8.875 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009995/1.505, allocations: 4.338 MB / 1.314 GB, free: 4.559 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/1.505, allocations: 31.92 kB / 1.314 GB, free: 4.527 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.505, allocations: 4 kB / 1.314 GB, free: 4.523 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006982/1.512, allocations: 3.178 MB / 1.317 GB, free: 1.316 MB / 0.8888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.532, allocations: 9.041 MB / 1.326 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/1.532, allocations: 4.312 kB / 1.326 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.534, allocations: 387.5 kB / 1.327 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/1.536, allocations: 0.6522 MB / 1.327 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/1.536, allocations: 63.95 kB / 1.327 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/1.54, allocations: 3.071 MB / 1.33 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.54, allocations: 8.094 kB / 1.33 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.554, allocations: 5.747 MB / 1.336 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/1.558, allocations: 1.01 MB / 1.337 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.559, allocations: 44 kB / 1.337 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/1.563, allocations: 443.1 kB / 1.337 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.563, allocations: 129.8 kB / 1.337 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.564, allocations: 103.9 kB / 1.338 GB, free: 12.31 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007467/1.571, allocations: 3.204 MB / 1.341 GB, free: 9.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/1.571, allocations: 0 / 1.341 GB, free: 9.141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01179/1.583, allocations: 2.716 MB / 1.343 GB, free: 6.418 MB / 0.92 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.002918/1.586, allocations: 1.229 MB / 1.345 GB, free: 5.215 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.598, allocations: 5.242 MB / 1.35 GB, free: 15.94 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.598, allocations: 4 kB / 1.35 GB, free: 15.93 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003574/1.602, allocations: 1.623 MB / 1.351 GB, free: 14.29 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01554/1.617, allocations: 2.581 MB / 1.354 GB, free: 11.79 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.642, allocations: 10.93 MB / 1.364 GB, free: 0.8008 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/1.646, allocations: 2.805 MB / 1.367 GB, free: 13.96 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.006937/1.653, allocations: 1.129 MB / 1.368 GB, free: 12.9 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/1.655, allocations: 367.3 kB / 1.369 GB, free: 12.54 MB / 0.9513 GB Notification: Performance of SimCode: time 1.583e-06/1.655, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.9513 GB Notification: Performance of Templates: time 0.6057/2.261, allocations: 106.8 MB / 1.473 GB, free: 311.8 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)