Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00687/0.00687, allocations: 103.7 kB / 15.74 MB, free: 5.988 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: 190.1 kB / 16.67 MB, free: 5.914 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05331/0.05331, allocations: 12.04 MB / 302.6 MB, free: 3.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004544/0.0004544, allocations: 27.95 kB / 355.6 MB, free: 13.93 MB / 302.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.392/1.392, allocations: 268.3 MB / 0.6611 GB, free: 2.559 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 111.8 kB / 0.8873 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5004, allocations: 108.4 MB / 0.9931 GB, free: 11.88 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHeaPri.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1945/0.695, allocations: 217.6 MB / 1.206 GB, free: 12.06 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.05815/0.7531, allocations: 45.35 MB / 1.25 GB, free: 14.61 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009806/0.763, allocations: 262.5 kB / 1.25 GB, free: 14.35 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.009004/0.772, allocations: 3.141 MB / 1.253 GB, free: 11.19 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.7927, allocations: 7.744 MB / 1.261 GB, free: 3.414 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.8097, allocations: 6.684 MB / 1.267 GB, free: 12.78 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.524/1.334, allocations: 16.64 MB / 1.284 GB, free: 45.46 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/1.344, allocations: 5.915 MB / 1.289 GB, free: 44.7 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01518/1.359, allocations: 6.652 MB / 1.296 GB, free: 44.66 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009298/1.368, allocations: 4.495 MB / 1.3 GB, free: 44.21 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002224/1.371, allocations: 0.6511 MB / 1.301 GB, free: 44.21 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/1.382, allocations: 3.711 MB / 1.305 GB, free: 44.21 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/1.385, allocations: 1.631 MB / 1.306 GB, free: 43.98 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.005046/1.39, allocations: 3.484 MB / 1.31 GB, free: 43.07 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/1.404, allocations: 11.3 MB / 1.321 GB, free: 42.04 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.404, allocations: 2.188 kB / 1.321 GB, free: 42.04 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.593e-06/1.404, allocations: 0 / 1.321 GB, free: 42.04 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.000198/1.405, allocations: 0 / 1.321 GB, free: 42.04 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.0146/1.419, allocations: 6.718 MB / 1.327 GB, free: 39.08 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.419, allocations: 11.41 kB / 1.327 GB, free: 39.08 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005302/1.425, allocations: 1.205 MB / 1.328 GB, free: 38.73 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/1.434, allocations: 5.735 MB / 1.334 GB, free: 37.7 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.435, allocations: 267.8 kB / 1.334 GB, free: 37.69 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/1.435, allocations: 353.3 kB / 1.335 GB, free: 37.68 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/1.443, allocations: 4.177 MB / 1.339 GB, free: 37.19 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.638e-05/1.443, allocations: 6.938 kB / 1.339 GB, free: 37.19 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/1.444, allocations: 139.6 kB / 1.339 GB, free: 37.19 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/1.444, allocations: 82.41 kB / 1.339 GB, free: 37.19 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007073/1.451, allocations: 3.542 MB / 1.342 GB, free: 37.13 MB / 0.9513 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.02586/1.477, allocations: 20.01 MB / 1.362 GB, free: 28.6 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/1.481, allocations: 2.405 MB / 1.364 GB, free: 28.52 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/1.484, allocations: 1.465 MB / 1.366 GB, free: 28.5 MB / 0.9513 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.009387/1.493, allocations: 8.306 MB / 1.374 GB, free: 22.83 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002607/1.496, allocations: 1.474 MB / 1.375 GB, free: 22.39 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.409e-06/1.496, allocations: 0 / 1.375 GB, free: 22.39 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01309/1.509, allocations: 5.015 MB / 1.38 GB, free: 20.89 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/1.509, allocations: 135.2 kB / 1.38 GB, free: 20.76 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/1.517, allocations: 4.392 MB / 1.384 GB, free: 19.76 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0005191/1.518, allocations: 71.58 kB / 1.385 GB, free: 19.73 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/1.52, allocations: 2.406 MB / 1.387 GB, free: 18.82 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/1.521, allocations: 0.7077 MB / 1.388 GB, free: 18.3 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007913/1.521, allocations: 0.5475 MB / 1.388 GB, free: 18.2 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.393e-05/1.521, allocations: 301.1 kB / 1.388 GB, free: 17.9 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.524, allocations: 1.232 MB / 1.39 GB, free: 17.69 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/1.527, allocations: 2.131 MB / 1.392 GB, free: 16.41 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04362/1.57, allocations: 10.37 MB / 1.402 GB, free: 8.922 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/1.57, allocations: 4 kB / 1.402 GB, free: 8.918 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009054/1.579, allocations: 4.185 MB / 1.406 GB, free: 5.555 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/1.579, allocations: 79.39 kB / 1.406 GB, free: 5.465 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/1.579, allocations: 20 kB / 1.406 GB, free: 5.445 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.581, allocations: 389.4 kB / 1.406 GB, free: 5.059 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.583, allocations: 0.6853 MB / 1.407 GB, free: 4.41 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/1.586, allocations: 4.312 MB / 1.411 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.59, allocations: 394.2 kB / 1.412 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/1.59, allocations: 143.9 kB / 1.412 GB, free: 15.36 MB / 0.9669 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004927/1.595, allocations: 2.335 MB / 1.414 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003295/1.598, allocations: 2.091 MB / 1.416 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04465/1.643, allocations: 10.14 MB / 1.426 GB, free: 156 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.842e-05/1.643, allocations: 11.94 kB / 1.426 GB, free: 144 kB / 0.9669 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.008883/1.652, allocations: 4.076 MB / 1.43 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.652, allocations: 83.38 kB / 1.43 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.652, allocations: 20 kB / 1.43 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.653, allocations: 369.1 kB / 1.43 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.656, allocations: 0.6573 MB / 1.431 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/1.658, allocations: 2.521 MB / 1.434 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/1.662, allocations: 327.8 kB / 1.434 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/1.662, allocations: 136 kB / 1.434 GB, free: 7.938 MB / 0.9825 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0009353/1.663, allocations: 0.6112 MB / 1.435 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.664, allocations: 493.9 kB / 1.435 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008891/1.673, allocations: 4.235 MB / 1.439 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.673, allocations: 31.98 kB / 1.439 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.673, allocations: 0 / 1.439 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006142/1.679, allocations: 3.315 MB / 1.442 GB, free: 15.16 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/1.699, allocations: 8.875 MB / 1.451 GB, free: 6.219 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.699, allocations: 0 / 1.451 GB, free: 6.219 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.701, allocations: 474.2 kB / 1.452 GB, free: 5.777 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/1.702, allocations: 337.4 kB / 1.452 GB, free: 5.441 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.703, allocations: 71.95 kB / 1.452 GB, free: 5.371 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/1.706, allocations: 4.329 MB / 1.456 GB, free: 0.8281 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.706, allocations: 4 kB / 1.456 GB, free: 0.8242 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/1.719, allocations: 5.675 MB / 1.462 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002938/1.722, allocations: 0.9628 MB / 1.463 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.723, allocations: 55.92 kB / 1.463 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/1.726, allocations: 175.8 kB / 1.463 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.727, allocations: 149.3 kB / 1.463 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.727, allocations: 107.9 kB / 1.463 GB, free: 9.574 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005337/1.732, allocations: 2.987 MB / 1.466 GB, free: 6.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.056e-06/1.732, allocations: 0 / 1.466 GB, free: 6.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008172/1.74, allocations: 2.676 MB / 1.469 GB, free: 3.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002713/1.743, allocations: 1.333 MB / 1.47 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.755, allocations: 5.514 MB / 1.475 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.755, allocations: 3.938 kB / 1.475 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004114/1.759, allocations: 1.882 MB / 1.477 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/1.77, allocations: 2.634 MB / 1.48 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.786, allocations: 9.085 MB / 1.489 GB, free: 0 / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/1.789, allocations: 2.706 MB / 1.491 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.005863/1.795, allocations: 1.193 MB / 1.492 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.796, allocations: 390.5 kB / 1.493 GB, free: 11.8 MB / 1.045 GB Notification: Performance of SimCode: time 1.142e-06/1.796, allocations: 0 / 1.493 GB, free: 11.8 MB / 1.045 GB Notification: Performance of Templates: time 0.1649/1.961, allocations: 108 MB / 1.598 GB, free: 1.414 MB / 1.139 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)