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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001169, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.1473/0.1473, allocations: 12.01 MB / 302 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004565/0.0004565, allocations: 31.92 kB / 355.1 MB, free: 4.09 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.65/1.65, allocations: 272.2 MB / 0.6644 GB, free: 13.16 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 110.9 kB / 0.7842 GB, free: 31.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1821, allocations: 109.2 MB / 0.8909 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5113/0.6935, allocations: 216.2 MB / 1.102 GB, free: 28.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04517/0.7387, allocations: 45.52 MB / 1.146 GB, free: 14.08 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00842/0.7471, allocations: 246.8 kB / 1.147 GB, free: 13.98 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.007901/0.755, allocations: 2.635 MB / 1.149 GB, free: 11.82 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/0.7733, allocations: 7.27 MB / 1.156 GB, free: 5.984 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.787, allocations: 6.095 MB / 1.162 GB, free: 1.359 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02233/0.8093, allocations: 21.34 MB / 1.183 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007607/0.817, allocations: 4.816 MB / 1.188 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.8277, allocations: 5.391 MB / 1.193 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.835, allocations: 4.457 MB / 1.197 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001418/0.8365, allocations: 276 kB / 1.198 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008657/0.8451, allocations: 3.361 MB / 1.201 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.8468, allocations: 1.268 MB / 1.202 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004019/0.8508, allocations: 3.082 MB / 1.205 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.8636, allocations: 10.97 MB / 1.216 GB, free: 12.74 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8636, allocations: 0 / 1.216 GB, free: 12.74 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8636, allocations: 0 / 1.216 GB, free: 12.74 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0001425/0.8638, allocations: 4 kB / 1.216 GB, free: 12.73 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.01125/0.875, allocations: 6.725 MB / 1.223 GB, free: 5.906 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8751, allocations: 8.031 kB / 1.223 GB, free: 5.898 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005534/0.8756, allocations: 455.9 kB / 1.223 GB, free: 5.441 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/0.8812, allocations: 1.206 MB / 1.224 GB, free: 4.227 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009946/0.8911, allocations: 5.694 MB / 1.23 GB, free: 14.46 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.8922, allocations: 435 kB / 1.23 GB, free: 14.03 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.8927, allocations: 348 kB / 1.23 GB, free: 13.69 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.9007, allocations: 4.183 MB / 1.235 GB, free: 9.371 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.9008, allocations: 7.906 kB / 1.235 GB, free: 9.363 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.9011, allocations: 143.9 kB / 1.235 GB, free: 9.223 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.9012, allocations: 87.94 kB / 1.235 GB, free: 9.137 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/0.9088, allocations: 3.589 MB / 1.238 GB, free: 5.539 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.0244/0.9332, allocations: 19.71 MB / 1.258 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/0.9384, allocations: 2.481 MB / 1.26 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.9414, allocations: 1.474 MB / 1.261 GB, free: 12.84 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.01067/0.9521, allocations: 8.313 MB / 1.27 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003201/0.9553, allocations: 1.52 MB / 1.271 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/0.9568, allocations: 253.8 kB / 1.271 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 3.597e-06/0.9568, allocations: 7.938 kB / 1.271 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01435/0.9712, allocations: 5.14 MB / 1.276 GB, free: 12.62 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.9713, allocations: 136.8 kB / 1.276 GB, free: 12.46 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/0.9773, allocations: 4.308 MB / 1.281 GB, free: 8.176 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.9776, allocations: 77.69 kB / 1.281 GB, free: 8.094 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.9797, allocations: 2.402 MB / 1.283 GB, free: 5.672 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.000693/0.9804, allocations: 0.7124 MB / 1.284 GB, free: 4.949 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/0.9813, allocations: 0.5442 MB / 1.284 GB, free: 4.398 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.9814, allocations: 309.1 kB / 1.285 GB, free: 4.094 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/0.9843, allocations: 1.262 MB / 1.286 GB, free: 2.824 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.9878, allocations: 2.151 MB / 1.288 GB, free: 292 kB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.049/1.037, allocations: 10.47 MB / 1.298 GB, free: 5.453 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/1.037, allocations: 8 kB / 1.298 GB, free: 5.445 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01021/1.047, allocations: 4.235 MB / 1.302 GB, free: 1.16 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/1.047, allocations: 79.39 kB / 1.302 GB, free: 1.07 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.047, allocations: 20 kB / 1.302 GB, free: 1.051 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.049, allocations: 385.6 kB / 1.303 GB, free: 0.668 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/1.052, allocations: 0.6982 MB / 1.303 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/1.055, allocations: 4.164 MB / 1.307 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.06, allocations: 420.5 kB / 1.308 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/1.06, allocations: 139.9 kB / 1.308 GB, free: 11.02 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.005173/1.065, allocations: 2.358 MB / 1.31 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003703/1.069, allocations: 2.112 MB / 1.312 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04848/1.117, allocations: 10.25 MB / 1.322 GB, free: 11.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.884e-05/1.118, allocations: 11.94 kB / 1.322 GB, free: 11.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.01036/1.128, allocations: 4.13 MB / 1.326 GB, free: 7.355 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/1.128, allocations: 79.33 kB / 1.326 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.128, allocations: 24 kB / 1.326 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.129, allocations: 366 kB / 1.327 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/1.132, allocations: 0.6553 MB / 1.327 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.134, allocations: 2.389 MB / 1.33 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.139, allocations: 409.1 kB / 1.33 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.139, allocations: 136 kB / 1.33 GB, free: 3.145 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 (314): * Single equations (assignments): 305 * 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.001059/1.14, allocations: 0.6074 MB / 1.331 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.142, allocations: 489.9 kB / 1.331 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.152, allocations: 4.317 MB / 1.336 GB, free: 13.71 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/1.152, allocations: 31.98 kB / 1.336 GB, free: 13.68 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.152, allocations: 0 / 1.336 GB, free: 13.68 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00701/1.159, allocations: 3.379 MB / 1.339 GB, free: 10.16 MB / 0.9357 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 postOpt removeSimpleEquations (simulation): time 0.02164/1.181, allocations: 8.948 MB / 1.348 GB, free: 1.02 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.181, allocations: 4 kB / 1.348 GB, free: 1.016 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.183, allocations: 483.5 kB / 1.348 GB, free: 0.543 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/1.184, allocations: 348.7 kB / 1.348 GB, free: 204 kB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/1.184, allocations: 67.95 kB / 1.349 GB, free: 136 kB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/1.188, allocations: 4.188 MB / 1.353 GB, free: 11.71 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.188, allocations: 4 kB / 1.353 GB, free: 11.71 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.2, allocations: 5.582 MB / 1.358 GB, free: 6.004 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/1.203, allocations: 0.9359 MB / 1.359 GB, free: 5.043 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.204, allocations: 48 kB / 1.359 GB, free: 4.996 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003683/1.207, allocations: 403.2 kB / 1.359 GB, free: 4.602 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/1.208, allocations: 153.7 kB / 1.36 GB, free: 4.449 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.208, allocations: 99.92 kB / 1.36 GB, free: 4.352 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.005343/1.213, allocations: 2.923 MB / 1.363 GB, free: 1.449 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.51e-07/1.213, allocations: 0 / 1.363 GB, free: 1.449 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.007819/1.221, allocations: 2.67 MB / 1.365 GB, free: 14.77 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 (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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01428/1.235, allocations: 7.334 MB / 1.372 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.247, allocations: 5.574 MB / 1.378 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.247, allocations: 4.875 kB / 1.378 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.251, allocations: 1.899 MB / 1.38 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/1.262, allocations: 2.537 MB / 1.382 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4723/1.735, allocations: 45.76 MB / 1.427 GB, free: 344.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.738, allocations: 2.703 MB / 1.429 GB, free: 344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005191/1.743, allocations: 1.18 MB / 1.431 GB, free: 344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/1.746, allocations: 2.244 MB / 1.433 GB, free: 342.2 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.746, allocations: 0 / 1.433 GB, free: 342.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.359/5.105, allocations: 145.2 MB / 1.575 GB, free: 218 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/5.105, allocations: 330.9 kB / 1.575 GB, free: 217.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.056/11.16, allocations: 3.516 kB / 1.575 GB, free: 217.6 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)