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-master/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-master/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.001037/0.001043, allocations: 107.3 kB / 16.41 MB, free: 6.492 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.0009856/0.0009856, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05371/0.05371, allocations: 12.05 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004721/0.0004721, allocations: 23.95 kB / 356.3 MB, free: 13.98 MB / 302.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.791/1.791, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5127, allocations: 109.1 MB / 1 GB, free: 8.215 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.2036/0.7164, allocations: 217.6 MB / 1.213 GB, free: 6.172 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.06138/0.7778, allocations: 45.36 MB / 1.257 GB, free: 8.711 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008895/0.7867, allocations: 262.5 kB / 1.257 GB, free: 8.453 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.008869/0.7956, allocations: 3.145 MB / 1.26 GB, free: 5.289 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02061/0.8163, allocations: 7.736 MB / 1.268 GB, free: 13.52 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01523/0.8315, allocations: 6.689 MB / 1.274 GB, free: 6.871 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.504/1.336, allocations: 16.64 MB / 1.291 GB, free: 44.96 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009986/1.346, allocations: 5.915 MB / 1.296 GB, free: 44.16 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/1.362, allocations: 6.641 MB / 1.303 GB, free: 44.14 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008833/1.371, allocations: 4.496 MB / 1.307 GB, free: 43.6 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002467/1.374, allocations: 0.6515 MB / 1.308 GB, free: 43.6 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/1.385, allocations: 3.711 MB / 1.312 GB, free: 43.6 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003078/1.388, allocations: 1.627 MB / 1.313 GB, free: 43.37 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.007727/1.395, allocations: 3.484 MB / 1.317 GB, free: 42.46 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01824/1.414, allocations: 11.31 MB / 1.328 GB, free: 41.43 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.414, allocations: 0 / 1.328 GB, free: 41.43 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.274e-06/1.414, allocations: 0 / 1.328 GB, free: 41.43 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0003447/1.414, allocations: 0 / 1.328 GB, free: 41.43 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.0168/1.431, allocations: 6.712 MB / 1.334 GB, free: 38.47 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.431, allocations: 11.72 kB / 1.334 GB, free: 38.47 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/1.437, allocations: 1.213 MB / 1.335 GB, free: 38.11 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.45, allocations: 5.722 MB / 1.341 GB, free: 37.08 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/1.45, allocations: 267.9 kB / 1.341 GB, free: 37.07 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/1.451, allocations: 357.4 kB / 1.341 GB, free: 37.07 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.463, allocations: 4.176 MB / 1.346 GB, free: 36.58 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.463, allocations: 9.625 kB / 1.346 GB, free: 36.57 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009185/1.464, allocations: 141.7 kB / 1.346 GB, free: 36.57 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.464, allocations: 86.03 kB / 1.346 GB, free: 36.57 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008748/1.473, allocations: 3.537 MB / 1.349 GB, free: 36.52 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.02834/1.501, allocations: 20.01 MB / 1.369 GB, free: 27.99 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/1.506, allocations: 2.405 MB / 1.371 GB, free: 27.73 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/1.509, allocations: 1.464 MB / 1.373 GB, free: 27.51 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.0107/1.52, allocations: 8.311 MB / 1.381 GB, free: 21.61 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003184/1.523, allocations: 1.478 MB / 1.382 GB, free: 21.16 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 5.14e-06/1.523, allocations: 0 / 1.382 GB, free: 21.16 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01429/1.537, allocations: 5.013 MB / 1.387 GB, free: 19.67 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.537, allocations: 137.8 kB / 1.387 GB, free: 19.53 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/1.546, allocations: 4.393 MB / 1.391 GB, free: 17.92 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0005057/1.546, allocations: 76.7 kB / 1.392 GB, free: 17.87 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.549, allocations: 2.397 MB / 1.394 GB, free: 16.66 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.55, allocations: 0.7064 MB / 1.395 GB, free: 16.05 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/1.551, allocations: 0.5461 MB / 1.395 GB, free: 15.71 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/1.551, allocations: 305.1 kB / 1.395 GB, free: 15.41 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/1.554, allocations: 1.237 MB / 1.397 GB, free: 14.47 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/1.557, allocations: 2.133 MB / 1.399 GB, free: 11.96 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04365/1.601, allocations: 10.36 MB / 1.409 GB, free: 1.328 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/1.601, allocations: 12 kB / 1.409 GB, free: 1.316 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01089/1.612, allocations: 4.182 MB / 1.413 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/1.612, allocations: 81.73 kB / 1.413 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.612, allocations: 20 kB / 1.413 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.614, allocations: 385 kB / 1.413 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.617, allocations: 0.6898 MB / 1.414 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/1.62, allocations: 4.317 MB / 1.418 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/1.624, allocations: 394.2 kB / 1.419 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005181/1.625, allocations: 143.9 kB / 1.419 GB, free: 7.031 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.005694/1.631, allocations: 2.334 MB / 1.421 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003736/1.634, allocations: 2.088 MB / 1.423 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04563/1.68, allocations: 10.14 MB / 1.433 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-05/1.68, allocations: 4 kB / 1.433 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.0105/1.691, allocations: 4.078 MB / 1.437 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/1.691, allocations: 79.39 kB / 1.437 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/1.691, allocations: 23.98 kB / 1.437 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.692, allocations: 363.7 kB / 1.437 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.694, allocations: 0.6541 MB / 1.438 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.697, allocations: 2.525 MB / 1.441 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.701, allocations: 331.8 kB / 1.441 GB, free: 15.73 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/1.701, allocations: 144 kB / 1.441 GB, free: 15.59 MB / 0.9982 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.001165/1.703, allocations: 0.6023 MB / 1.442 GB, free: 15.01 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.704, allocations: 493.9 kB / 1.442 GB, free: 14.52 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.715, allocations: 4.231 MB / 1.446 GB, free: 10.3 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/1.715, allocations: 31.98 kB / 1.446 GB, free: 10.27 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.715, allocations: 3 kB / 1.446 GB, free: 10.27 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006817/1.721, allocations: 3.316 MB / 1.449 GB, free: 6.824 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.744, allocations: 8.872 MB / 1.458 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.744, allocations: 0 / 1.458 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/1.747, allocations: 463.4 kB / 1.459 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/1.748, allocations: 344.3 kB / 1.459 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/1.748, allocations: 75.94 kB / 1.459 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/1.752, allocations: 4.329 MB / 1.463 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.752, allocations: 8 kB / 1.463 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.766, allocations: 5.68 MB / 1.469 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/1.769, allocations: 0.9667 MB / 1.47 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.771, allocations: 51.94 kB / 1.47 GB, free: 1.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.774, allocations: 175.8 kB / 1.47 GB, free: 1.484 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.775, allocations: 141.2 kB / 1.47 GB, free: 1.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003886/1.775, allocations: 115.9 kB / 1.47 GB, free: 1.238 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.008282/1.783, allocations: 2.979 MB / 1.473 GB, free: 14.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.783, allocations: 0 / 1.473 GB, free: 14.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01101/1.794, allocations: 2.666 MB / 1.476 GB, free: 11.61 MB / 1.029 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.00328/1.798, allocations: 1.348 MB / 1.477 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.811, allocations: 5.511 MB / 1.482 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.811, allocations: 1.938 kB / 1.482 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00457/1.815, allocations: 1.883 MB / 1.484 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/1.829, allocations: 2.646 MB / 1.487 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.848, allocations: 9.23 MB / 1.496 GB, free: 7.496 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/1.852, allocations: 2.694 MB / 1.498 GB, free: 4.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/1.854, allocations: 414.5 kB / 1.499 GB, free: 4.371 MB / 1.045 GB Notification: Performance of SimCode: time 1.292e-06/1.854, allocations: 0 / 1.499 GB, free: 4.371 MB / 1.045 GB Notification: Performance of Templates: time 0.2481/2.102, allocations: 229.3 MB / 1.723 GB, free: 32 kB / 1.264 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)