Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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-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.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_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.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 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.001013/0.001013, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.145/0.145, allocations: 12.02 MB / 302.4 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004891/0.0004891, allocations: 31.7 kB / 355.5 MB, free: 3.844 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.71/1.71, allocations: 272.2 MB / 0.6648 GB, free: 12.94 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00364/0.00364, allocations: 112.5 kB / 0.785 GB, free: 31.41 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2314, allocations: 109.2 MB / 0.8916 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.635/0.8665, allocations: 242.2 MB / 1.128 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06377/0.9303, allocations: 48.7 MB / 1.176 GB, free: 5.957 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009836/0.9401, allocations: 286.1 kB / 1.176 GB, free: 5.855 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.009473/0.9496, allocations: 3.429 MB / 1.179 GB, free: 2.66 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02244/0.9721, allocations: 8.519 MB / 1.188 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/0.987, allocations: 6.424 MB / 1.194 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02256/1.01, allocations: 17.33 MB / 1.211 GB, free: 2.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/1.02, allocations: 6.301 MB / 1.217 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/1.035, allocations: 6.776 MB / 1.224 GB, free: 5.184 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007849/1.043, allocations: 4.687 MB / 1.228 GB, free: 488 kB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.002215/1.045, allocations: 0.6954 MB / 1.229 GB, free: 15.78 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009677/1.055, allocations: 3.76 MB / 1.233 GB, free: 12.02 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.002563/1.057, allocations: 1.713 MB / 1.234 GB, free: 10.3 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.006475/1.064, allocations: 3.714 MB / 1.238 GB, free: 6.566 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/1.082, allocations: 11.87 MB / 1.249 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.082, allocations: 0 / 1.249 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/1.082, allocations: 0 / 1.249 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002987/1.082, allocations: 0 / 1.249 GB, free: 10.66 MB / 0.8419 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.01647/1.098, allocations: 7.204 MB / 1.256 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.098, allocations: 12.03 kB / 1.256 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/1.1, allocations: 481.4 kB / 1.257 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006988/1.107, allocations: 1.342 MB / 1.258 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.119, allocations: 5.958 MB / 1.264 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001483/1.121, allocations: 0.4916 MB / 1.265 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/1.122, allocations: 380 kB / 1.265 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.133, allocations: 4.549 MB / 1.269 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-05/1.133, allocations: 11.88 kB / 1.269 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006333/1.134, allocations: 155.9 kB / 1.269 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/1.134, allocations: 88 kB / 1.27 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009564/1.143, allocations: 3.777 MB / 1.273 GB, free: 1.82 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.03295/1.176, allocations: 23.22 MB / 1.296 GB, free: 9.344 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/1.182, allocations: 3.032 MB / 1.299 GB, free: 6.176 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/1.185, allocations: 1.313 MB / 1.3 GB, free: 4.863 MB / 0.8888 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.01238/1.198, allocations: 8.471 MB / 1.308 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003292/1.201, allocations: 1.482 MB / 1.31 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=184): time 4.398e-06/1.201, allocations: 0 / 1.31 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=184): time 0.01844/1.22, allocations: 5.258 MB / 1.315 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.22, allocations: 183.5 kB / 1.315 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009188/1.229, allocations: 4.86 MB / 1.32 GB, free: 15.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004041/1.229, allocations: 69.7 kB / 1.32 GB, free: 15.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/1.232, allocations: 2.675 MB / 1.323 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/1.233, allocations: 0.6278 MB / 1.323 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/1.234, allocations: 0.5633 MB / 1.324 GB, free: 11.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.234, allocations: 305.1 kB / 1.324 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/1.237, allocations: 1.195 MB / 1.325 GB, free: 10.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/1.241, allocations: 2.268 MB / 1.327 GB, free: 7.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9095/2.151, allocations: 89.43 MB / 1.415 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/2.151, allocations: 7.688 kB / 1.415 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009465/2.16, allocations: 4.211 MB / 1.419 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/2.16, allocations: 84.33 kB / 1.419 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/2.16, allocations: 27.39 kB / 1.419 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/2.163, allocations: 0.6711 MB / 1.42 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/2.165, allocations: 0.6321 MB / 1.42 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/2.168, allocations: 3.072 MB / 1.423 GB, free: 363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/2.172, allocations: 436.5 kB / 1.424 GB, free: 363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/2.172, allocations: 149.2 kB / 1.424 GB, free: 363 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.004354/2.176, allocations: 2.33 MB / 1.426 GB, free: 362.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002896/2.179, allocations: 2.227 MB / 1.428 GB, free: 361.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5478/2.727, allocations: 89.16 MB / 1.515 GB, free: 285.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.91e-05/2.727, allocations: 8 kB / 1.515 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.009135/2.736, allocations: 4.101 MB / 1.519 GB, free: 281.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/2.736, allocations: 88.33 kB / 1.519 GB, free: 281.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/2.736, allocations: 32 kB / 1.52 GB, free: 281.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/2.738, allocations: 0.6499 MB / 1.52 GB, free: 280.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/2.74, allocations: 0.6045 MB / 1.521 GB, free: 280.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/2.743, allocations: 1.869 MB / 1.523 GB, free: 278.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/2.746, allocations: 353.6 kB / 1.523 GB, free: 278.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/2.747, allocations: 152 kB / 1.523 GB, free: 278 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: 123 * 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 (300): * Single equations (assignments): 292 * 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,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008217/2.748, allocations: 0.5601 MB / 1.524 GB, free: 277.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.749, allocations: 0.5073 MB / 1.524 GB, free: 277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009509/2.758, allocations: 4.077 MB / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/2.758, allocations: 35.92 kB / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/2.758, allocations: 4 kB / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006993/2.765, allocations: 2.928 MB / 1.531 GB, free: 269.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/2.783, allocations: 8.939 MB / 1.54 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/2.783, allocations: 0 / 1.54 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/2.785, allocations: 383.7 kB / 1.54 GB, free: 260.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/2.787, allocations: 0.6145 MB / 1.541 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/2.787, allocations: 67.97 kB / 1.541 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/2.791, allocations: 3.144 MB / 1.544 GB, free: 256.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.791, allocations: 11.88 kB / 1.544 GB, free: 256.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/2.804, allocations: 5.72 MB / 1.549 GB, free: 250.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/2.806, allocations: 0.9746 MB / 1.55 GB, free: 249.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000898/2.807, allocations: 43.91 kB / 1.55 GB, free: 249.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/2.81, allocations: 185.5 kB / 1.551 GB, free: 249.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/2.81, allocations: 142.2 kB / 1.551 GB, free: 249.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/2.81, allocations: 95.94 kB / 1.551 GB, free: 249.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00455/2.815, allocations: 3.311 MB / 1.554 GB, free: 246.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/2.815, allocations: 0 / 1.554 GB, free: 246.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005943/2.82, allocations: 2.722 MB / 1.557 GB, free: 243.5 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,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/2.832, allocations: 7.086 MB / 1.564 GB, free: 236.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01245/2.845, allocations: 5.346 MB / 1.569 GB, free: 231.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/2.845, allocations: 7.656 kB / 1.569 GB, free: 231.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/2.849, allocations: 1.667 MB / 1.57 GB, free: 229.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00955/2.858, allocations: 2.656 MB / 1.573 GB, free: 227.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05594/2.914, allocations: 46.6 MB / 1.619 GB, free: 176.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/2.916, allocations: 2.804 MB / 1.621 GB, free: 173.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004731/2.921, allocations: 1.113 MB / 1.622 GB, free: 172.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/2.924, allocations: 2.366 MB / 1.625 GB, free: 170.4 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/2.924, allocations: 0 / 1.625 GB, free: 170.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.338/5.262, allocations: 153.5 MB / 1.775 GB, free: 18.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/24.21, allocations: 448 / 1.775 GB, free: 18.33 MB / 0.9825 GB (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)