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.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 197.7 kB / 16.53 MB, free: 6.656 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.1544/0.1544, allocations: 12.01 MB / 302.4 MB, free: 0.9023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005278/0.0005278, allocations: 31.94 kB / 355.5 MB, free: 3.777 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.717/1.717, allocations: 272.2 MB / 0.6648 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.00195, allocations: 112.4 kB / 0.785 GB, free: 31.41 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 109.1 MB / 0.8916 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6352/0.8081, allocations: 217.6 MB / 1.104 GB, free: 27.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04897/0.8571, allocations: 45.35 MB / 1.148 GB, free: 12.41 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008273/0.8654, allocations: 263.5 kB / 1.149 GB, free: 12.32 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.007535/0.8729, allocations: 3.143 MB / 1.152 GB, free: 9.641 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.01893/0.8919, allocations: 7.757 MB / 1.159 GB, free: 3.34 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.9059, allocations: 6.64 MB / 1.166 GB, free: 14.19 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.01904/0.925, allocations: 16.64 MB / 1.182 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007912/0.9329, allocations: 5.916 MB / 1.188 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.9448, allocations: 6.461 MB / 1.194 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.9512, allocations: 4.497 MB / 1.199 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.9522, allocations: 0.6484 MB / 1.199 GB, free: 14.28 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007995/0.9602, allocations: 3.71 MB / 1.203 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.9617, allocations: 1.616 MB / 1.204 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003689/0.9654, allocations: 3.488 MB / 1.208 GB, free: 5.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.9781, allocations: 11.19 MB / 1.219 GB, free: 10.22 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9781, allocations: 0 / 1.219 GB, free: 10.22 MB / 0.8107 GB Notification: Performance of FrontEnd: time 3.297e-06/0.9781, allocations: 0 / 1.219 GB, free: 10.22 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.000103/0.9782, allocations: 3.938 kB / 1.219 GB, free: 10.22 MB / 0.8107 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.01066/0.9889, allocations: 6.717 MB / 1.225 GB, free: 3.398 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.989, allocations: 12.03 kB / 1.225 GB, free: 3.387 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005376/0.9895, allocations: 455.9 kB / 1.226 GB, free: 2.93 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/0.9948, allocations: 1.21 MB / 1.227 GB, free: 1.711 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008691/1.004, allocations: 5.487 MB / 1.232 GB, free: 12.15 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/1.005, allocations: 435 kB / 1.233 GB, free: 11.72 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004805/1.005, allocations: 355.9 kB / 1.233 GB, free: 11.38 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007413/1.013, allocations: 4.186 MB / 1.237 GB, free: 7.039 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/1.013, allocations: 7.938 kB / 1.237 GB, free: 7.031 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/1.013, allocations: 147.9 kB / 1.237 GB, free: 6.887 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/1.013, allocations: 80 kB / 1.237 GB, free: 6.809 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007738/1.021, allocations: 3.569 MB / 1.241 GB, free: 3.23 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.02486/1.046, allocations: 20.2 MB / 1.261 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005231/1.051, allocations: 2.44 MB / 1.263 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.054, allocations: 1.462 MB / 1.264 GB, free: 10.09 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 evalFunc (simulation): time 0.01019/1.064, allocations: 8.306 MB / 1.272 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003225/1.068, allocations: 1.485 MB / 1.274 GB, free: 15.39 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=207): time 3.467e-06/1.068, allocations: 0 / 1.274 GB, free: 15.39 MB / 0.8732 GB Notification: Performance of matching and sorting (n=207): time 0.01463/1.082, allocations: 5.086 MB / 1.279 GB, free: 10.23 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.082, allocations: 140.8 kB / 1.279 GB, free: 10.06 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/1.088, allocations: 4.394 MB / 1.283 GB, free: 5.688 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.088, allocations: 69.7 kB / 1.283 GB, free: 5.613 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.091, allocations: 2.409 MB / 1.286 GB, free: 3.188 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006533/1.091, allocations: 0.7047 MB / 1.286 GB, free: 2.473 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008218/1.092, allocations: 0.5442 MB / 1.287 GB, free: 1.922 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/1.092, allocations: 309.1 kB / 1.287 GB, free: 1.617 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/1.095, allocations: 1.243 MB / 1.288 GB, free: 376 kB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/1.099, allocations: 2.15 MB / 1.291 GB, free: 13.82 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04666/1.145, allocations: 10.45 MB / 1.301 GB, free: 3.012 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.145, allocations: 4 kB / 1.301 GB, free: 3.008 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0098/1.155, allocations: 4.216 MB / 1.305 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/1.155, allocations: 79.39 kB / 1.305 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/1.155, allocations: 24 kB / 1.305 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/1.157, allocations: 397.4 kB / 1.305 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/1.16, allocations: 0.6943 MB / 1.306 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/1.163, allocations: 4.331 MB / 1.31 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.167, allocations: 398.3 kB / 1.311 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/1.167, allocations: 143.9 kB / 1.311 GB, free: 8.441 MB / 0.9044 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.004871/1.172, allocations: 2.35 MB / 1.313 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003514/1.175, allocations: 2.111 MB / 1.315 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04698/1.222, allocations: 10.22 MB / 1.325 GB, free: 8.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.276e-05/1.222, allocations: 8 kB / 1.325 GB, free: 8.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009811/1.232, allocations: 4.118 MB / 1.329 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/1.232, allocations: 83.42 kB / 1.329 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/1.232, allocations: 20 kB / 1.329 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/1.233, allocations: 369.4 kB / 1.33 GB, free: 4.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/1.236, allocations: 0.6591 MB / 1.33 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/1.239, allocations: 2.547 MB / 1.333 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/1.242, allocations: 343.7 kB / 1.333 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.243, allocations: 136 kB / 1.333 GB, free: 0.4961 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: 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.0008683/1.243, allocations: 0.5988 MB / 1.334 GB, free: 15.87 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.245, allocations: 493.9 kB / 1.334 GB, free: 15.38 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009641/1.254, allocations: 4.276 MB / 1.338 GB, free: 11.09 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/1.254, allocations: 27.98 kB / 1.338 GB, free: 11.07 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.254, allocations: 0 / 1.338 GB, free: 11.07 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007058/1.261, allocations: 3.352 MB / 1.342 GB, free: 7.578 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/1.281, allocations: 8.955 MB / 1.35 GB, free: 14.48 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.281, allocations: 0 / 1.35 GB, free: 14.48 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.283, allocations: 475.5 kB / 1.351 GB, free: 14.02 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.284, allocations: 345.4 kB / 1.351 GB, free: 13.68 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/1.285, allocations: 71.95 kB / 1.351 GB, free: 13.61 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/1.288, allocations: 4.358 MB / 1.356 GB, free: 9.016 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.288, allocations: 4 kB / 1.356 GB, free: 9.012 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.302, allocations: 5.723 MB / 1.361 GB, free: 3.168 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/1.304, allocations: 0.9667 MB / 1.362 GB, free: 2.176 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/1.304, allocations: 59.88 kB / 1.362 GB, free: 2.117 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.307, allocations: 179.7 kB / 1.362 GB, free: 1.941 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.307, allocations: 149.8 kB / 1.362 GB, free: 1.797 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.308, allocations: 99.92 kB / 1.363 GB, free: 1.699 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.004832/1.312, allocations: 2.985 MB / 1.365 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.312, allocations: 0 / 1.365 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006563/1.319, allocations: 2.67 MB / 1.368 GB, free: 12.06 MB / 0.9669 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.01671/1.336, allocations: 7.54 MB / 1.375 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.353, allocations: 5.917 MB / 1.381 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.353, allocations: 4 kB / 1.381 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/1.357, allocations: 1.895 MB / 1.383 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01158/1.369, allocations: 2.649 MB / 1.386 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3871/1.756, allocations: 44.19 MB / 1.429 GB, free: 343.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.759, allocations: 2.701 MB / 1.431 GB, free: 342.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00516/1.764, allocations: 1.178 MB / 1.433 GB, free: 342.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.766, allocations: 2.244 MB / 1.435 GB, free: 340.6 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/1.766, allocations: 0 / 1.435 GB, free: 340.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.347/4.113, allocations: 150 MB / 1.581 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.98/24.1, allocations: 15.22 kB / 1.581 GB, free: 211.1 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)