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.004398/0.004398, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001252/0.001252, allocations: 194.1 kB / 16.68 MB, free: 6.352 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.1521/0.1521, allocations: 12.02 MB / 302.6 MB, free: 0.8828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.00072/0.00072, allocations: 27.94 kB / 355.7 MB, free: 3.684 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.858/1.858, allocations: 272.2 MB / 0.665 GB, free: 12.86 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003257/0.003257, allocations: 115.8 kB / 0.8923 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.192, allocations: 109.2 MB / 0.9989 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5789/0.771, allocations: 217.6 MB / 1.211 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0647/0.8357, allocations: 45.35 MB / 1.256 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007499/0.8432, allocations: 262.5 kB / 1.256 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.007552/0.8508, allocations: 3.129 MB / 1.259 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01937/0.8702, allocations: 7.747 MB / 1.267 GB, free: 9.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.8856, allocations: 6.69 MB / 1.273 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02265/0.9083, allocations: 16.66 MB / 1.289 GB, free: 2.098 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008244/0.9166, allocations: 5.919 MB / 1.295 GB, free: 12.09 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.9297, allocations: 6.485 MB / 1.302 GB, free: 5.602 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007174/0.9369, allocations: 4.489 MB / 1.306 GB, free: 1.094 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.938, allocations: 0.6523 MB / 1.307 GB, free: 452 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008784/0.9468, allocations: 3.71 MB / 1.31 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.9487, allocations: 1.635 MB / 1.312 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004463/0.9531, allocations: 3.481 MB / 1.315 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.9687, allocations: 11.34 MB / 1.326 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9687, allocations: 0 / 1.326 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9687, allocations: 0 / 1.326 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.576e-05/0.9688, allocations: 0 / 1.326 GB, free: 12.22 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.0117/0.9805, allocations: 6.924 MB / 1.333 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9806, allocations: 12.03 kB / 1.333 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006193/0.9812, allocations: 459.8 kB / 1.333 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/0.9868, allocations: 1.245 MB / 1.335 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.9972, allocations: 5.772 MB / 1.34 GB, free: 13.61 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.9975, allocations: 270.6 kB / 1.341 GB, free: 13.35 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.998, allocations: 359.9 kB / 1.341 GB, free: 13 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008312/1.006, allocations: 4.166 MB / 1.345 GB, free: 8.68 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.242e-05/1.006, allocations: 7.938 kB / 1.345 GB, free: 8.672 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/1.007, allocations: 143.9 kB / 1.345 GB, free: 8.531 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/1.007, allocations: 84 kB / 1.345 GB, free: 8.449 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008435/1.015, allocations: 3.546 MB / 1.349 GB, free: 4.895 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.02789/1.043, allocations: 20.05 MB / 1.368 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0056/1.049, allocations: 2.408 MB / 1.371 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/1.052, allocations: 1.464 MB / 1.372 GB, free: 11.93 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.011/1.063, allocations: 8.31 MB / 1.38 GB, free: 2.746 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003483/1.067, allocations: 1.469 MB / 1.382 GB, free: 1.254 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 3.496e-06/1.067, allocations: 4 kB / 1.382 GB, free: 1.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01566/1.082, allocations: 5.041 MB / 1.386 GB, free: 12.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.083, allocations: 124.8 kB / 1.387 GB, free: 11.97 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006749/1.089, allocations: 4.398 MB / 1.391 GB, free: 7.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.09, allocations: 77.7 kB / 1.391 GB, free: 7.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.092, allocations: 2.433 MB / 1.393 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008479/1.093, allocations: 0.7436 MB / 1.394 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/1.094, allocations: 0.5445 MB / 1.395 GB, free: 3.758 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.094, allocations: 305.1 kB / 1.395 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.097, allocations: 1.235 MB / 1.396 GB, free: 2.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/1.101, allocations: 2.142 MB / 1.398 GB, free: 15.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04999/1.151, allocations: 10.36 MB / 1.408 GB, free: 4.953 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/1.151, allocations: 8 kB / 1.408 GB, free: 4.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01011/1.161, allocations: 4.219 MB / 1.412 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/1.162, allocations: 75.39 kB / 1.413 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/1.162, allocations: 24 kB / 1.413 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/1.163, allocations: 378.1 kB / 1.413 GB, free: 200 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/1.166, allocations: 0.6903 MB / 1.414 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/1.17, allocations: 4.317 MB / 1.418 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/1.174, allocations: 403.1 kB / 1.418 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.174, allocations: 151.9 kB / 1.418 GB, free: 10.41 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.005199/1.179, allocations: 2.327 MB / 1.421 GB, free: 8.082 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003991/1.183, allocations: 2.092 MB / 1.423 GB, free: 5.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0489/1.232, allocations: 10.14 MB / 1.433 GB, free: 11.09 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-05/1.232, allocations: 4 kB / 1.433 GB, free: 11.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01013/1.242, allocations: 4.109 MB / 1.437 GB, free: 6.93 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/1.242, allocations: 83.3 kB / 1.437 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/1.242, allocations: 20 kB / 1.437 GB, free: 6.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/1.243, allocations: 365.4 kB / 1.437 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/1.246, allocations: 0.6553 MB / 1.438 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/1.249, allocations: 2.53 MB / 1.44 GB, free: 3.105 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.253, allocations: 336.3 kB / 1.44 GB, free: 2.773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/1.253, allocations: 140 kB / 1.441 GB, free: 2.637 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.000932/1.254, allocations: 0.6025 MB / 1.441 GB, free: 2.008 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.255, allocations: 0.4968 MB / 1.442 GB, free: 1.508 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3623/1.617, allocations: 4.244 MB / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/1.617, allocations: 26.73 kB / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.617, allocations: 1.75 kB / 1.446 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006201/1.624, allocations: 3.325 MB / 1.449 GB, free: 372.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.641, allocations: 8.866 MB / 1.458 GB, free: 370.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.641, allocations: 4.875 kB / 1.458 GB, free: 370.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.643, allocations: 464.2 kB / 1.458 GB, free: 370.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/1.644, allocations: 337.5 kB / 1.458 GB, free: 370 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/1.644, allocations: 72.36 kB / 1.459 GB, free: 370 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/1.647, allocations: 4.335 MB / 1.463 GB, free: 366 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.648, allocations: 5.625 kB / 1.463 GB, free: 366 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.661, allocations: 5.711 MB / 1.468 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.663, allocations: 0.9983 MB / 1.469 GB, free: 363.4 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005793/1.663, allocations: 51 kB / 1.469 GB, free: 363.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.666, allocations: 172.8 kB / 1.47 GB, free: 363.4 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.666, allocations: 146.5 kB / 1.47 GB, free: 363.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.666, allocations: 102.1 kB / 1.47 GB, free: 363.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004515/1.671, allocations: 2.989 MB / 1.473 GB, free: 362.2 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.671, allocations: 0 / 1.473 GB, free: 362.2 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005872/1.677, allocations: 2.703 MB / 1.475 GB, free: 361.9 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.01478/1.691, allocations: 7.517 MB / 1.483 GB, free: 358.8 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.703, allocations: 5.501 MB / 1.488 GB, free: 356.7 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.703, allocations: 3.562 kB / 1.488 GB, free: 356.7 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00409/1.707, allocations: 1.878 MB / 1.49 GB, free: 355.9 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/1.717, allocations: 2.642 MB / 1.492 GB, free: 355.4 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05278/1.77, allocations: 34.84 MB / 1.526 GB, free: 337.6 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.772, allocations: 2.709 MB / 1.529 GB, free: 334.9 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004425/1.776, allocations: 1.179 MB / 1.53 GB, free: 333.8 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.779, allocations: 2.241 MB / 1.532 GB, free: 331.6 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/1.779, allocations: 3.938 kB / 1.532 GB, free: 331.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/1.952, allocations: 147.4 MB / 1.676 GB, free: 185.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.3/24.25, allocations: 18.05 kB / 1.676 GB, free: 185.6 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)