Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.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/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.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",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.001366/0.001366, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00152/0.00152, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1524/0.1524, allocations: 12.02 MB / 302.1 MB, free: 0.8789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004745/0.0004745, allocations: 31.94 kB / 355.2 MB, free: 3.949 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.659/1.659, allocations: 268.1 MB / 0.6604 GB, free: 0.957 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 106.2 kB / 0.7796 GB, free: 32.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2019, allocations: 108.4 MB / 0.8854 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5575/0.7595, allocations: 239.9 MB / 1.12 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05388/0.8134, allocations: 48.32 MB / 1.167 GB, free: 15 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008724/0.8222, allocations: 263.3 kB / 1.167 GB, free: 14.9 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.008226/0.8304, allocations: 3.003 MB / 1.17 GB, free: 12.41 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.0215/0.8519, allocations: 7.939 MB / 1.178 GB, free: 5.543 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.8667, allocations: 5.99 MB / 1.184 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02256/0.8893, allocations: 17.51 MB / 1.201 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.8996, allocations: 6.264 MB / 1.207 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01502/0.9146, allocations: 6.847 MB / 1.214 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007936/0.9226, allocations: 4.862 MB / 1.218 GB, free: 11.98 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.9247, allocations: 0.6953 MB / 1.219 GB, free: 11.29 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009236/0.9339, allocations: 3.788 MB / 1.223 GB, free: 7.492 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.9364, allocations: 1.74 MB / 1.224 GB, free: 5.746 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.006708/0.9431, allocations: 3.725 MB / 1.228 GB, free: 2.004 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.9604, allocations: 11.95 MB / 1.24 GB, free: 6.02 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9605, allocations: 7.984 kB / 1.24 GB, free: 6.012 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9605, allocations: 0 / 1.24 GB, free: 6.012 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0001895/0.9607, allocations: 0 / 1.24 GB, free: 6.012 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01287/0.9736, allocations: 7.188 MB / 1.247 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9736, allocations: 12.03 kB / 1.247 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006385/0.9743, allocations: 485.4 kB / 1.247 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.9802, allocations: 1.335 MB / 1.249 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.9906, allocations: 6.174 MB / 1.255 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/0.992, allocations: 0.4955 MB / 1.255 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005952/0.9926, allocations: 372 kB / 1.255 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008506/1.001, allocations: 4.49 MB / 1.26 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.297e-05/1.001, allocations: 19.83 kB / 1.26 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/1.002, allocations: 152 kB / 1.26 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/1.002, allocations: 88 kB / 1.26 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/1.01, allocations: 3.793 MB / 1.264 GB, free: 13.06 MB / 0.8575 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.02705/1.037, allocations: 22.1 MB / 1.285 GB, free: 5.73 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/1.043, allocations: 3.134 MB / 1.288 GB, free: 2.457 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/1.046, allocations: 1.395 MB / 1.29 GB, free: 1.059 MB / 0.8732 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.01147/1.057, allocations: 8.613 MB / 1.298 GB, free: 7.504 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003382/1.061, allocations: 1.574 MB / 1.3 GB, free: 5.898 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001574/1.062, allocations: 233.7 kB / 1.3 GB, free: 5.668 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=186): time 3.927e-06/1.062, allocations: 4 kB / 1.3 GB, free: 5.664 MB / 0.8888 GB Notification: Performance of matching and sorting (n=186): time 0.02087/1.083, allocations: 5.941 MB / 1.306 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/1.083, allocations: 180.2 kB / 1.306 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/1.09, allocations: 4.749 MB / 1.311 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/1.09, allocations: 69.7 kB / 1.311 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.092, allocations: 2.64 MB / 1.313 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006072/1.093, allocations: 0.6316 MB / 1.314 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008436/1.094, allocations: 0.5435 MB / 1.314 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/1.094, allocations: 309.1 kB / 1.315 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/1.097, allocations: 1.257 MB / 1.316 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/1.1, allocations: 2.278 MB / 1.318 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9118/2.012, allocations: 89.9 MB / 1.406 GB, free: 368.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/2.012, allocations: 8.438 kB / 1.406 GB, free: 368.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.009061/2.021, allocations: 4.296 MB / 1.41 GB, free: 368 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/2.022, allocations: 83.42 kB / 1.41 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/2.022, allocations: 25.89 kB / 1.41 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/2.025, allocations: 0.8151 MB / 1.411 GB, free: 367.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/2.028, allocations: 0.6256 MB / 1.412 GB, free: 367.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/2.031, allocations: 3.113 MB / 1.415 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/2.035, allocations: 440.3 kB / 1.415 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/2.036, allocations: 139.7 kB / 1.415 GB, free: 365.7 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005062/2.041, allocations: 2.395 MB / 1.418 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003593/2.044, allocations: 2.225 MB / 1.42 GB, free: 364.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5353/2.58, allocations: 89.64 MB / 1.507 GB, free: 297.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.933e-05/2.58, allocations: 8 kB / 1.507 GB, free: 297.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.008167/2.588, allocations: 4.203 MB / 1.511 GB, free: 293.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/2.588, allocations: 79.39 kB / 1.511 GB, free: 293.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/2.588, allocations: 24 kB / 1.511 GB, free: 293.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002796/2.591, allocations: 0.7822 MB / 1.512 GB, free: 293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/2.593, allocations: 0.6006 MB / 1.513 GB, free: 292.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/2.595, allocations: 1.907 MB / 1.515 GB, free: 290.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/2.599, allocations: 429.3 kB / 1.515 GB, free: 290.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/2.599, allocations: 148 kB / 1.515 GB, free: 290 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (286): * Single equations (assignments): 278 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0008141/2.6, allocations: 0.5583 MB / 1.516 GB, free: 289.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/2.601, allocations: 0.5099 MB / 1.516 GB, free: 289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009312/2.61, allocations: 4.29 MB / 1.52 GB, free: 284.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/2.61, allocations: 23.98 kB / 1.52 GB, free: 284.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.61, allocations: 0 / 1.52 GB, free: 284.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007046/2.617, allocations: 3.122 MB / 1.524 GB, free: 281.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/2.636, allocations: 9.265 MB / 1.533 GB, free: 272.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/2.636, allocations: 8.031 kB / 1.533 GB, free: 272.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/2.638, allocations: 383.5 kB / 1.533 GB, free: 271.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/2.64, allocations: 0.6433 MB / 1.534 GB, free: 271.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/2.64, allocations: 63.95 kB / 1.534 GB, free: 271.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/2.644, allocations: 3.217 MB / 1.537 GB, free: 267.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.644, allocations: 4 kB / 1.537 GB, free: 267.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/2.656, allocations: 5.887 MB / 1.543 GB, free: 261.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/2.658, allocations: 0.9545 MB / 1.543 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008386/2.658, allocations: 44 kB / 1.543 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003947/2.662, allocations: 417.3 kB / 1.544 GB, free: 260.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/2.663, allocations: 133.8 kB / 1.544 GB, free: 260.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/2.663, allocations: 95.92 kB / 1.544 GB, free: 260.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004172/2.667, allocations: 3.228 MB / 1.547 GB, free: 257.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/2.667, allocations: 0 / 1.547 GB, free: 257.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006969/2.674, allocations: 2.709 MB / 1.55 GB, free: 254.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * 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 (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/2.686, allocations: 7.351 MB / 1.557 GB, free: 247.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01315/2.699, allocations: 5.557 MB / 1.563 GB, free: 241.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.699, allocations: 4 kB / 1.563 GB, free: 241.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/2.703, allocations: 1.754 MB / 1.564 GB, free: 240.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009968/2.713, allocations: 2.657 MB / 1.567 GB, free: 237.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1634/2.877, allocations: 48.69 MB / 1.614 GB, free: 185.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/2.88, allocations: 2.809 MB / 1.617 GB, free: 182.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005387/2.885, allocations: 1.128 MB / 1.618 GB, free: 181.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/2.888, allocations: 2.374 MB / 1.621 GB, free: 178.8 MB / 0.9825 GB Notification: Performance of SimCode: time 1.203e-06/2.888, allocations: 0 / 1.621 GB, free: 178.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9981/3.886, allocations: 152.4 MB / 1.769 GB, free: 27.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/3.886, allocations: 314.1 kB / 1.77 GB, free: 27.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.81/9.696, allocations: 0 / 1.77 GB, free: 27.34 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)