Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001004/0.001003, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1513/0.1513, allocations: 12 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.0004802/0.0004802, allocations: 23.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.77/1.77, allocations: 268.1 MB / 0.6604 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 108.7 kB / 0.7796 GB, free: 32.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1839, allocations: 108.4 MB / 0.8854 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5196/0.7035, allocations: 215.6 MB / 1.096 GB, free: 29.86 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04501/0.7486, allocations: 44.99 MB / 1.14 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007552/0.7562, allocations: 241.5 kB / 1.14 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006206/0.7624, allocations: 2.748 MB / 1.143 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.7786, allocations: 7.229 MB / 1.15 GB, free: 14.42 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.7922, allocations: 6.188 MB / 1.156 GB, free: 9.797 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.01924/0.8115, allocations: 16.79 MB / 1.172 GB, free: 12.34 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007672/0.8192, allocations: 5.874 MB / 1.178 GB, free: 6.379 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/0.8322, allocations: 6.532 MB / 1.184 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/0.8388, allocations: 4.656 MB / 1.189 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.8404, allocations: 0.6523 MB / 1.19 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008605/0.849, allocations: 3.725 MB / 1.193 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.8512, allocations: 1.647 MB / 1.195 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004998/0.8562, allocations: 3.484 MB / 1.198 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.8688, allocations: 11.25 MB / 1.209 GB, free: 6.359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8688, allocations: 4 kB / 1.209 GB, free: 6.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8688, allocations: 0 / 1.209 GB, free: 6.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001018/0.8689, allocations: 0 / 1.209 GB, free: 6.355 MB / 0.795 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.01041/0.8794, allocations: 6.722 MB / 1.216 GB, free: 15.53 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.8794, allocations: 11.97 kB / 1.216 GB, free: 15.52 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005571/0.88, allocations: 463.8 kB / 1.216 GB, free: 15.05 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.8852, allocations: 1.21 MB / 1.217 GB, free: 13.84 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008864/0.8941, allocations: 5.688 MB / 1.223 GB, free: 8.074 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009886/0.8951, allocations: 427 kB / 1.223 GB, free: 7.656 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.8956, allocations: 360 kB / 1.224 GB, free: 7.305 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007675/0.9033, allocations: 4.181 MB / 1.228 GB, free: 2.988 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/0.9034, allocations: 15.91 kB / 1.228 GB, free: 2.973 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.9037, allocations: 143.9 kB / 1.228 GB, free: 2.832 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.9038, allocations: 80 kB / 1.228 GB, free: 2.754 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007631/0.9114, allocations: 3.585 MB / 1.232 GB, free: 15.16 MB / 0.8263 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.02493/0.9364, allocations: 19.72 MB / 1.251 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.9414, allocations: 2.485 MB / 1.253 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/0.9444, allocations: 1.478 MB / 1.255 GB, free: 6.445 MB / 0.8419 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.01063/0.9551, allocations: 8.306 MB / 1.263 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00324/0.9583, allocations: 1.512 MB / 1.264 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001607/0.96, allocations: 229.8 kB / 1.265 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 4.188e-06/0.96, allocations: 0 / 1.265 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01442/0.9744, allocations: 5.152 MB / 1.27 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.9745, allocations: 124.8 kB / 1.27 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/0.9807, allocations: 4.316 MB / 1.274 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.981, allocations: 73.7 kB / 1.274 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.983, allocations: 2.394 MB / 1.276 GB, free: 15.33 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/0.9837, allocations: 0.7162 MB / 1.277 GB, free: 14.61 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008389/0.9845, allocations: 0.552 MB / 1.278 GB, free: 14.05 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.9846, allocations: 301.1 kB / 1.278 GB, free: 13.75 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.9874, allocations: 1.266 MB / 1.279 GB, free: 12.48 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.9909, allocations: 2.151 MB / 1.281 GB, free: 9.941 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04792/1.039, allocations: 10.64 MB / 1.292 GB, free: 14.94 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.039, allocations: 4 kB / 1.292 GB, free: 14.94 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009305/1.048, allocations: 4.255 MB / 1.296 GB, free: 10.63 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.048, allocations: 79.38 kB / 1.296 GB, free: 10.54 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.048, allocations: 23.94 kB / 1.296 GB, free: 10.52 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/1.05, allocations: 459.2 kB / 1.296 GB, free: 10.07 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/1.053, allocations: 0.6982 MB / 1.297 GB, free: 9.367 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/1.057, allocations: 4.346 MB / 1.301 GB, free: 4.785 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/1.061, allocations: 420.5 kB / 1.302 GB, free: 4.371 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/1.061, allocations: 147.9 kB / 1.302 GB, free: 4.227 MB / 0.8888 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 = 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.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 = 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.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 = 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.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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004753/1.066, allocations: 2.362 MB / 1.304 GB, free: 1.863 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003484/1.069, allocations: 2.12 MB / 1.306 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04789/1.117, allocations: 10.41 MB / 1.316 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.725e-05/1.117, allocations: 8 kB / 1.316 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.009161/1.126, allocations: 4.145 MB / 1.32 GB, free: 388 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/1.126, allocations: 83.38 kB / 1.32 GB, free: 292 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/1.126, allocations: 20 kB / 1.32 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/1.128, allocations: 460.3 kB / 1.321 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.131, allocations: 0.6552 MB / 1.321 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.133, allocations: 2.554 MB / 1.324 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/1.137, allocations: 409.2 kB / 1.324 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.137, allocations: 136 kB / 1.324 GB, free: 11.9 MB / 0.92 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 = 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.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 = 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.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 = 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.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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0008992/1.138, allocations: 0.6141 MB / 1.325 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.139, allocations: 482 kB / 1.326 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009611/1.149, allocations: 4.378 MB / 1.33 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/1.149, allocations: 27.98 kB / 1.33 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.149, allocations: 4 kB / 1.33 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006916/1.156, allocations: 3.434 MB / 1.333 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/1.174, allocations: 8.903 MB / 1.342 GB, free: 9.719 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.174, allocations: 0 / 1.342 GB, free: 9.719 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.177, allocations: 487.5 kB / 1.342 GB, free: 9.242 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.178, allocations: 349.4 kB / 1.343 GB, free: 8.895 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.178, allocations: 79.86 kB / 1.343 GB, free: 8.82 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/1.181, allocations: 4.309 MB / 1.347 GB, free: 4.281 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.181, allocations: 4 kB / 1.347 GB, free: 4.277 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.194, allocations: 5.825 MB / 1.353 GB, free: 14.33 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.196, allocations: 0.9397 MB / 1.354 GB, free: 13.36 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/1.197, allocations: 51.94 kB / 1.354 GB, free: 13.31 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/1.2, allocations: 391.3 kB / 1.354 GB, free: 12.93 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.2, allocations: 141.7 kB / 1.354 GB, free: 12.79 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.2, allocations: 111.9 kB / 1.354 GB, free: 12.68 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.004525/1.205, allocations: 2.923 MB / 1.357 GB, free: 9.777 MB / 0.9513 GB Notification: Performance of sort global known variables: time 3e-07/1.205, allocations: 0 / 1.357 GB, free: 9.777 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.006505/1.211, allocations: 2.666 MB / 1.36 GB, free: 7.105 MB / 0.9513 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 (214): * Single equations (assignments): 185 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01508/1.227, allocations: 7.56 MB / 1.367 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.243, allocations: 5.984 MB / 1.373 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.243, allocations: 4 kB / 1.373 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/1.247, allocations: 1.86 MB / 1.375 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/1.257, allocations: 2.655 MB / 1.377 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4769/1.734, allocations: 46.03 MB / 1.422 GB, free: 356.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003514/1.738, allocations: 2.707 MB / 1.425 GB, free: 355.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006025/1.744, allocations: 1.19 MB / 1.426 GB, free: 355.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003095/1.747, allocations: 2.244 MB / 1.428 GB, free: 354.1 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/1.747, allocations: 0 / 1.428 GB, free: 354.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.106/2.853, allocations: 148.5 MB / 1.573 GB, free: 225.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/2.854, allocations: 321.7 kB / 1.574 GB, free: 225.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.71/8.563, allocations: 3.609 kB / 1.574 GB, free: 225.5 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)