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: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_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.005527/0.005527, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001042/0.001042, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.1492/0.1492, allocations: 12.03 MB / 302.6 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005161/0.0005161, allocations: 39.86 kB / 355.7 MB, free: 3.664 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.792/1.792, allocations: 272.2 MB / 0.665 GB, free: 12.8 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 107.8 kB / 0.8923 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 109.2 MB / 0.9989 GB, free: 14.34 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.5733/0.7513, allocations: 217.7 MB / 1.211 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05998/0.8113, allocations: 45.34 MB / 1.256 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008036/0.8194, allocations: 262.5 kB / 1.256 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008532/0.828, allocations: 3.145 MB / 1.259 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02032/0.8483, allocations: 8.013 MB / 1.267 GB, free: 9.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01533/0.8637, allocations: 6.707 MB / 1.273 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02172/0.8854, allocations: 16.7 MB / 1.29 GB, free: 1.762 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009394/0.8948, allocations: 5.915 MB / 1.295 GB, free: 11.75 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.9088, allocations: 6.657 MB / 1.302 GB, free: 5.098 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007214/0.916, allocations: 4.497 MB / 1.306 GB, free: 0.582 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.9179, allocations: 0.6524 MB / 1.307 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009068/0.927, allocations: 3.71 MB / 1.311 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.9294, allocations: 1.628 MB / 1.312 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.005624/0.935, allocations: 3.477 MB / 1.316 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.9514, allocations: 11.35 MB / 1.327 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9514, allocations: 0 / 1.327 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9515, allocations: 0 / 1.327 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001761/0.9516, allocations: 0 / 1.327 GB, free: 11.71 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.01239/0.964, allocations: 6.92 MB / 1.333 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.9641, allocations: 12.03 kB / 1.333 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005746/0.9647, allocations: 455.9 kB / 1.334 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/0.9704, allocations: 1.241 MB / 1.335 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.981, allocations: 5.776 MB / 1.341 GB, free: 13.11 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.9812, allocations: 266.7 kB / 1.341 GB, free: 12.85 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.9817, allocations: 352 kB / 1.341 GB, free: 12.5 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/0.9896, allocations: 4.174 MB / 1.345 GB, free: 8.18 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.9897, allocations: 7.938 kB / 1.345 GB, free: 8.172 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.9901, allocations: 143.9 kB / 1.346 GB, free: 8.031 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.9901, allocations: 84 kB / 1.346 GB, free: 7.949 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007786/0.9979, allocations: 3.546 MB / 1.349 GB, free: 4.395 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.02503/1.023, allocations: 20.05 MB / 1.369 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005196/1.028, allocations: 2.415 MB / 1.371 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/1.031, allocations: 1.46 MB / 1.372 GB, free: 11.43 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.01074/1.042, allocations: 8.314 MB / 1.381 GB, free: 2.242 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003317/1.045, allocations: 1.469 MB / 1.382 GB, free: 0.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 5.48e-06/1.045, allocations: 3.984 kB / 1.382 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01504/1.06, allocations: 5.041 MB / 1.387 GB, free: 11.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.061, allocations: 128.8 kB / 1.387 GB, free: 11.47 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007184/1.068, allocations: 4.398 MB / 1.391 GB, free: 7.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/1.068, allocations: 81.64 kB / 1.391 GB, free: 7.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002224/1.07, allocations: 2.433 MB / 1.394 GB, free: 4.555 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/1.071, allocations: 0.7436 MB / 1.395 GB, free: 3.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008853/1.072, allocations: 0.5445 MB / 1.395 GB, free: 3.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/1.072, allocations: 301.1 kB / 1.395 GB, free: 2.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/1.075, allocations: 1.235 MB / 1.397 GB, free: 1.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/1.078, allocations: 2.138 MB / 1.399 GB, free: 15.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04818/1.127, allocations: 10.37 MB / 1.409 GB, free: 4.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/1.127, allocations: 4 kB / 1.409 GB, free: 4.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009594/1.136, allocations: 4.207 MB / 1.413 GB, free: 196 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/1.136, allocations: 79.39 kB / 1.413 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/1.136, allocations: 20 kB / 1.413 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/1.138, allocations: 377.5 kB / 1.413 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.141, allocations: 0.6865 MB / 1.414 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.144, allocations: 4.32 MB / 1.418 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.148, allocations: 404.7 kB / 1.419 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/1.148, allocations: 147.8 kB / 1.419 GB, free: 9.93 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.004868/1.153, allocations: 2.331 MB / 1.421 GB, free: 7.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003549/1.157, allocations: 2.096 MB / 1.423 GB, free: 5.105 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04836/1.205, allocations: 10.14 MB / 1.433 GB, free: 10.59 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.71e-05/1.205, allocations: 4 kB / 1.433 GB, free: 10.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009953/1.215, allocations: 4.109 MB / 1.437 GB, free: 6.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/1.215, allocations: 79.39 kB / 1.437 GB, free: 6.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.215, allocations: 20.88 kB / 1.437 GB, free: 6.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.216, allocations: 357.4 kB / 1.437 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.219, allocations: 0.6591 MB / 1.438 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/1.221, allocations: 2.53 MB / 1.441 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/1.225, allocations: 340.3 kB / 1.441 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/1.226, allocations: 136 kB / 1.441 GB, free: 2.141 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.0008884/1.226, allocations: 0.5986 MB / 1.442 GB, free: 1.516 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.228, allocations: 0.4968 MB / 1.442 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3975/1.625, allocations: 4.24 MB / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/1.625, allocations: 36.5 kB / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.625, allocations: 0 / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006181/1.631, allocations: 3.32 MB / 1.45 GB, free: 372.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.65, allocations: 8.872 MB / 1.458 GB, free: 369.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.65, allocations: 2.25 kB / 1.458 GB, free: 369.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.652, allocations: 460.7 kB / 1.459 GB, free: 369.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/1.653, allocations: 340.1 kB / 1.459 GB, free: 369.8 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.654, allocations: 74.03 kB / 1.459 GB, free: 369.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/1.657, allocations: 4.331 MB / 1.463 GB, free: 365.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.657, allocations: 1.969 kB / 1.463 GB, free: 365.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.671, allocations: 5.71 MB / 1.469 GB, free: 363.6 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.673, allocations: 0.9931 MB / 1.47 GB, free: 363.2 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/1.673, allocations: 51.08 kB / 1.47 GB, free: 363.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.676, allocations: 180.3 kB / 1.47 GB, free: 363.1 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/1.676, allocations: 145.3 kB / 1.47 GB, free: 363.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.676, allocations: 106.5 kB / 1.47 GB, free: 363.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004572/1.681, allocations: 2.981 MB / 1.473 GB, free: 362 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.681, allocations: 0 / 1.473 GB, free: 362 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006289/1.687, allocations: 2.706 MB / 1.476 GB, free: 361.6 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.01495/1.702, allocations: 7.517 MB / 1.483 GB, free: 358.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.714, allocations: 5.511 MB / 1.489 GB, free: 356.5 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.714, allocations: 0 / 1.489 GB, free: 356.5 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00412/1.718, allocations: 1.889 MB / 1.49 GB, free: 355.7 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.729, allocations: 2.64 MB / 1.493 GB, free: 355.1 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/1.782, allocations: 34.83 MB / 1.527 GB, free: 337 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/1.784, allocations: 2.706 MB / 1.53 GB, free: 334.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00458/1.789, allocations: 1.182 MB / 1.531 GB, free: 333.2 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/1.791, allocations: 2.249 MB / 1.533 GB, free: 331 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.791, allocations: 0 / 1.533 GB, free: 331 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/1.964, allocations: 147.4 MB / 1.677 GB, free: 185 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/23.72, allocations: 11.88 kB / 1.677 GB, free: 185 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file AixLib_latest_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_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)