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-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.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-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: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003809/0.003809, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001013/0.001013, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1464/0.1464, allocations: 12.02 MB / 302.6 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005038/0.0005038, allocations: 23.95 kB / 355.7 MB, free: 3.719 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.722/1.722, allocations: 268.1 MB / 0.661 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 111.8 kB / 0.8868 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1743, allocations: 108.4 MB / 0.9926 GB, free: 4.355 MB / 0.7013 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.5429/0.7172, allocations: 217.6 MB / 1.205 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05742/0.7747, allocations: 45.33 MB / 1.249 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007165/0.7819, allocations: 266.5 kB / 1.25 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006709/0.7886, allocations: 3.161 MB / 1.253 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.8059, allocations: 8.006 MB / 1.261 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.8189, allocations: 6.712 MB / 1.267 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01765/0.8366, allocations: 16.7 MB / 1.283 GB, free: 10.7 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007638/0.8443, allocations: 5.92 MB / 1.289 GB, free: 4.691 MB / 0.9357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.8562, allocations: 6.656 MB / 1.296 GB, free: 14.04 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006343/0.8625, allocations: 4.497 MB / 1.3 GB, free: 9.52 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.8639, allocations: 0.6484 MB / 1.301 GB, free: 8.871 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007647/0.8715, allocations: 3.71 MB / 1.304 GB, free: 5.156 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.873, allocations: 1.628 MB / 1.306 GB, free: 3.523 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.003371/0.8763, allocations: 3.484 MB / 1.309 GB, free: 24 kB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.8886, allocations: 11.35 MB / 1.32 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8886, allocations: 0 / 1.32 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8886, allocations: 0 / 1.32 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-05/0.8887, allocations: 4 kB / 1.32 GB, free: 4.633 MB / 0.9669 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.01056/0.8992, allocations: 6.92 MB / 1.327 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8993, allocations: 8.031 kB / 1.327 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005795/0.8999, allocations: 463.8 kB / 1.328 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.9053, allocations: 1.241 MB / 1.329 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009507/0.9149, allocations: 5.774 MB / 1.334 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.9151, allocations: 266.7 kB / 1.335 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/0.9156, allocations: 352 kB / 1.335 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/0.9232, allocations: 4.17 MB / 1.339 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/0.9233, allocations: 11.89 kB / 1.339 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/0.9236, allocations: 147.9 kB / 1.339 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.9237, allocations: 84 kB / 1.339 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007723/0.9314, allocations: 3.53 MB / 1.343 GB, free: 13.34 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.02364/0.9551, allocations: 20.05 MB / 1.362 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/0.9602, allocations: 2.404 MB / 1.365 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.9634, allocations: 1.468 MB / 1.366 GB, free: 4.371 MB / 1.014 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.0099/0.9733, allocations: 8.314 MB / 1.374 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003259/0.9765, allocations: 1.473 MB / 1.376 GB, free: 9.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 4.879e-06/0.9766, allocations: 3.984 kB / 1.376 GB, free: 9.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01437/0.9909, allocations: 5.041 MB / 1.381 GB, free: 4.562 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.991, allocations: 132.8 kB / 1.381 GB, free: 4.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.9968, allocations: 4.398 MB / 1.385 GB, free: 28 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.997, allocations: 65.7 kB / 1.385 GB, free: 15.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/0.9991, allocations: 2.44 MB / 1.388 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006655/0.9997, allocations: 0.7475 MB / 1.388 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008399/1.001, allocations: 0.5484 MB / 1.389 GB, free: 12.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/1.001, allocations: 301.1 kB / 1.389 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/1.004, allocations: 1.231 MB / 1.39 GB, free: 10.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.007, allocations: 2.138 MB / 1.392 GB, free: 8.121 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04777/1.055, allocations: 10.35 MB / 1.402 GB, free: 13.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.055, allocations: 7.938 kB / 1.402 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.008706/1.064, allocations: 4.207 MB / 1.407 GB, free: 9.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/1.064, allocations: 79.39 kB / 1.407 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/1.064, allocations: 24 kB / 1.407 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/1.065, allocations: 381.8 kB / 1.407 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.068, allocations: 0.6942 MB / 1.408 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/1.071, allocations: 4.314 MB / 1.412 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.074, allocations: 411 kB / 1.412 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/1.075, allocations: 136 kB / 1.412 GB, free: 2.871 MB / 1.061 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.004502/1.079, allocations: 2.335 MB / 1.415 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003504/1.083, allocations: 2.096 MB / 1.417 GB, free: 14.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04601/1.129, allocations: 10.13 MB / 1.427 GB, free: 3.535 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-05/1.129, allocations: 8 kB / 1.427 GB, free: 3.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.008369/1.137, allocations: 4.097 MB / 1.431 GB, free: 15.38 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/1.137, allocations: 87.62 kB / 1.431 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.137, allocations: 24 kB / 1.431 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.138, allocations: 361.4 kB / 1.431 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.141, allocations: 0.6513 MB / 1.432 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.143, allocations: 2.534 MB / 1.434 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.146, allocations: 332.4 kB / 1.435 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.146, allocations: 140 kB / 1.435 GB, free: 11.09 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.000777/1.147, allocations: 0.6107 MB / 1.435 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/1.148, allocations: 0.5007 MB / 1.436 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009027/1.157, allocations: 4.25 MB / 1.44 GB, free: 5.691 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.157, allocations: 31.97 kB / 1.44 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.157, allocations: 0 / 1.44 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006894/1.164, allocations: 3.309 MB / 1.443 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3543/1.518, allocations: 8.868 MB / 1.452 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.518, allocations: 3.906 kB / 1.452 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.52, allocations: 466.9 kB / 1.452 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.521, allocations: 334.7 kB / 1.453 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.522, allocations: 74.02 kB / 1.453 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/1.525, allocations: 4.323 MB / 1.457 GB, free: 372.8 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.525, allocations: 9.312 kB / 1.457 GB, free: 372.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.537, allocations: 5.702 MB / 1.463 GB, free: 372.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.539, allocations: 0.9951 MB / 1.463 GB, free: 372 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/1.539, allocations: 56.95 kB / 1.464 GB, free: 372 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.542, allocations: 167.6 kB / 1.464 GB, free: 372 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.542, allocations: 154.2 kB / 1.464 GB, free: 372 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.542, allocations: 101.5 kB / 1.464 GB, free: 371.9 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004595/1.547, allocations: 2.985 MB / 1.467 GB, free: 370.8 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.71e-07/1.547, allocations: 1.031 kB / 1.467 GB, free: 370.8 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006419/1.553, allocations: 2.701 MB / 1.469 GB, free: 370.5 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.01449/1.568, allocations: 7.516 MB / 1.477 GB, free: 367.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.579, allocations: 5.517 MB / 1.482 GB, free: 365.5 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.579, allocations: 1.344 kB / 1.482 GB, free: 365.5 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.583, allocations: 1.878 MB / 1.484 GB, free: 364.7 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009731/1.593, allocations: 2.646 MB / 1.487 GB, free: 364.1 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05271/1.646, allocations: 34.82 MB / 1.521 GB, free: 348.3 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/1.647, allocations: 2.707 MB / 1.523 GB, free: 347.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004429/1.652, allocations: 1.18 MB / 1.524 GB, free: 346.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/1.654, allocations: 2.245 MB / 1.527 GB, free: 344.6 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.654, allocations: 0 / 1.527 GB, free: 344.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/1.817, allocations: 147.4 MB / 1.671 GB, free: 198.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/23.52, allocations: 10.06 kB / 1.671 GB, free: 198.6 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)