Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_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.00468/0.00468, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001126/0.001126, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1513/0.1513, allocations: 12.01 MB / 302.5 MB, free: 0.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004972/0.0004974, allocations: 31.94 kB / 355.6 MB, free: 3.695 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 1.659/1.659, allocations: 272.2 MB / 0.665 GB, free: 12.87 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003055/0.003055, allocations: 119.8 kB / 0.8927 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2271, allocations: 109.2 MB / 0.9994 GB, free: 13.88 MB / 0.7169 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.5706/0.7978, allocations: 217.6 MB / 1.212 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05723/0.8551, allocations: 45.36 MB / 1.256 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008338/0.8634, allocations: 266.5 kB / 1.256 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009014/0.8725, allocations: 3.137 MB / 1.259 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.8942, allocations: 7.741 MB / 1.267 GB, free: 9.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01499/0.9092, allocations: 6.686 MB / 1.274 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02194/0.9312, allocations: 16.66 MB / 1.29 GB, free: 1.867 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008634/0.9398, allocations: 5.915 MB / 1.296 GB, free: 11.86 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/0.953, allocations: 6.645 MB / 1.302 GB, free: 5.215 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007054/0.96, allocations: 4.493 MB / 1.306 GB, free: 0.7031 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.9613, allocations: 0.6523 MB / 1.307 GB, free: 52 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007745/0.9691, allocations: 3.706 MB / 1.311 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.9708, allocations: 1.628 MB / 1.312 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004666/0.9755, allocations: 3.488 MB / 1.316 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.9902, allocations: 11.31 MB / 1.327 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9902, allocations: 4 kB / 1.327 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9902, allocations: 0 / 1.327 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001354/0.9904, allocations: 0 / 1.327 GB, free: 11.86 MB / 0.9825 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.01086/1.001, allocations: 6.709 MB / 1.333 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.001, allocations: 12.03 kB / 1.333 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/1.006, allocations: 1.214 MB / 1.335 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009614/1.016, allocations: 5.723 MB / 1.34 GB, free: 14.02 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.016, allocations: 262.7 kB / 1.34 GB, free: 13.76 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/1.017, allocations: 359.9 kB / 1.341 GB, free: 13.41 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007298/1.024, allocations: 4.178 MB / 1.345 GB, free: 9.078 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/1.024, allocations: 7.938 kB / 1.345 GB, free: 9.07 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/1.024, allocations: 144 kB / 1.345 GB, free: 8.93 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/1.025, allocations: 83.94 kB / 1.345 GB, free: 8.848 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007047/1.032, allocations: 3.538 MB / 1.348 GB, free: 5.301 MB / 0.9982 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.02427/1.056, allocations: 20.03 MB / 1.368 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/1.061, allocations: 2.408 MB / 1.37 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/1.064, allocations: 1.456 MB / 1.372 GB, free: 12.36 MB / 1.029 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.01015/1.074, allocations: 8.298 MB / 1.38 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003079/1.077, allocations: 1.478 MB / 1.381 GB, free: 1.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 3.757e-06/1.077, allocations: 0 / 1.381 GB, free: 1.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01367/1.091, allocations: 5.007 MB / 1.386 GB, free: 12.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.091, allocations: 140.8 kB / 1.386 GB, free: 12.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/1.097, allocations: 4.394 MB / 1.391 GB, free: 8.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/1.098, allocations: 77.64 kB / 1.391 GB, free: 7.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.1, allocations: 2.401 MB / 1.393 GB, free: 5.555 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/1.1, allocations: 0.7047 MB / 1.394 GB, free: 4.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008154/1.101, allocations: 0.5481 MB / 1.394 GB, free: 4.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/1.101, allocations: 301.1 kB / 1.395 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.104, allocations: 1.239 MB / 1.396 GB, free: 2.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/1.107, allocations: 2.131 MB / 1.398 GB, free: 224 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04459/1.152, allocations: 10.36 MB / 1.408 GB, free: 5.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/1.152, allocations: 12 kB / 1.408 GB, free: 5.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009565/1.161, allocations: 4.192 MB / 1.412 GB, free: 1.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/1.161, allocations: 75.39 kB / 1.412 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/1.161, allocations: 24 kB / 1.412 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.163, allocations: 377.9 kB / 1.413 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/1.165, allocations: 0.6904 MB / 1.413 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/1.169, allocations: 4.318 MB / 1.417 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/1.172, allocations: 394.3 kB / 1.418 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/1.172, allocations: 143.9 kB / 1.418 GB, free: 10.99 MB / 1.076 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.004443/1.177, allocations: 2.335 MB / 1.42 GB, free: 8.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003218/1.18, allocations: 2.088 MB / 1.422 GB, free: 6.168 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04339/1.223, allocations: 10.14 MB / 1.432 GB, free: 11.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.231e-05/1.223, allocations: 8 kB / 1.432 GB, free: 11.65 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009233/1.233, allocations: 4.079 MB / 1.436 GB, free: 7.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/1.233, allocations: 83.33 kB / 1.436 GB, free: 7.426 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.233, allocations: 24 kB / 1.436 GB, free: 7.402 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/1.234, allocations: 357.5 kB / 1.437 GB, free: 7.047 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/1.236, allocations: 0.6513 MB / 1.437 GB, free: 6.395 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.238, allocations: 2.533 MB / 1.44 GB, free: 3.695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/1.242, allocations: 339.8 kB / 1.44 GB, free: 3.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/1.242, allocations: 139.9 kB / 1.44 GB, free: 3.223 MB / 1.092 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.0008285/1.243, allocations: 0.6008 MB / 1.441 GB, free: 2.598 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.244, allocations: 482 kB / 1.441 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3894/1.633, allocations: 4.238 MB / 1.445 GB, free: 373.4 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.633, allocations: 30.48 kB / 1.445 GB, free: 373.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.633, allocations: 1.453 kB / 1.445 GB, free: 373.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005729/1.639, allocations: 3.315 MB / 1.449 GB, free: 372.8 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/1.655, allocations: 8.87 MB / 1.457 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.655, allocations: 2.094 kB / 1.457 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/1.657, allocations: 472.6 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/1.658, allocations: 324 kB / 1.458 GB, free: 370.3 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/1.659, allocations: 72.55 kB / 1.458 GB, free: 370.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/1.662, allocations: 4.34 MB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.662, allocations: 2.562 kB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.674, allocations: 5.682 MB / 1.468 GB, free: 364.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.676, allocations: 0.9769 MB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.677, allocations: 51.22 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.679, allocations: 171 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.679, allocations: 146.5 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.68, allocations: 101.6 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004342/1.684, allocations: 2.984 MB / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/1.684, allocations: 3.469 kB / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005863/1.69, allocations: 2.671 MB / 1.475 GB, free: 362.2 MB / 1.092 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.002219/1.692, allocations: 1.362 MB / 1.476 GB, free: 362 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.703, allocations: 5.5 MB / 1.482 GB, free: 359.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.703, allocations: 1.031 kB / 1.482 GB, free: 359.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/1.707, allocations: 1.886 MB / 1.483 GB, free: 359.1 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009816/1.716, allocations: 2.64 MB / 1.486 GB, free: 358.6 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.731, allocations: 9.099 MB / 1.495 GB, free: 354.2 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/1.733, allocations: 2.708 MB / 1.498 GB, free: 353.2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004893/1.738, allocations: 1.175 MB / 1.499 GB, free: 352.9 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.739, allocations: 391.9 kB / 1.499 GB, free: 352.9 MB / 1.092 GB Notification: Performance of SimCode: time 6.91e-07/1.739, allocations: 3.922 kB / 1.499 GB, free: 352.9 MB / 1.092 GB Notification: Performance of Templates: time 0.1311/1.87, allocations: 109.8 MB / 1.606 GB, free: 258.7 MB / 1.092 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)