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.004675/0.004681, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001213/0.001213, allocations: 190 kB / 16.67 MB, free: 6.379 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.1531/0.1531, allocations: 12.01 MB / 302.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004716/0.0004716, allocations: 27.94 kB / 355.7 MB, free: 3.645 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.841/1.841, allocations: 272.2 MB / 0.665 GB, free: 12.83 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 115.8 kB / 0.8923 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2153, allocations: 109.2 MB / 0.9989 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6353/0.8507, allocations: 217.6 MB / 1.211 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06164/0.9124, allocations: 45.35 MB / 1.256 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008605/0.921, allocations: 266.4 kB / 1.256 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008444/0.9295, allocations: 3.137 MB / 1.259 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02136/0.9509, allocations: 7.735 MB / 1.267 GB, free: 9.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01578/0.9667, allocations: 6.692 MB / 1.273 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02201/0.9887, allocations: 16.65 MB / 1.289 GB, free: 2.07 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009669/0.9984, allocations: 5.922 MB / 1.295 GB, free: 12.05 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/1.013, allocations: 6.656 MB / 1.302 GB, free: 5.395 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007779/1.021, allocations: 4.497 MB / 1.306 GB, free: 0.8789 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001981/1.023, allocations: 0.6523 MB / 1.307 GB, free: 232 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009424/1.032, allocations: 3.706 MB / 1.31 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002333/1.035, allocations: 1.624 MB / 1.312 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00587/1.04, allocations: 3.484 MB / 1.315 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0159/1.056, allocations: 11.31 MB / 1.326 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.056, allocations: 0 / 1.326 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.256e-06/1.056, allocations: 4 kB / 1.326 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003185/1.057, allocations: 0 / 1.326 GB, free: 12.05 MB / 0.9825 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.01546/1.072, allocations: 6.705 MB / 1.333 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.072, allocations: 12.03 kB / 1.333 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/1.073, allocations: 463.9 kB / 1.333 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/1.08, allocations: 1.202 MB / 1.335 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.092, allocations: 5.732 MB / 1.34 GB, free: 13.74 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.092, allocations: 274.6 kB / 1.34 GB, free: 13.47 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007325/1.093, allocations: 351.9 kB / 1.341 GB, free: 13.12 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009146/1.102, allocations: 4.178 MB / 1.345 GB, free: 8.797 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/1.102, allocations: 7.938 kB / 1.345 GB, free: 8.789 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/1.102, allocations: 139.9 kB / 1.345 GB, free: 8.652 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/1.102, allocations: 84 kB / 1.345 GB, free: 8.57 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008103/1.111, allocations: 3.534 MB / 1.348 GB, free: 5.027 MB / 0.9982 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.03164/1.142, allocations: 20.02 MB / 1.368 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/1.148, allocations: 2.408 MB / 1.37 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/1.151, allocations: 1.456 MB / 1.372 GB, free: 12.1 MB / 1.029 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.01287/1.164, allocations: 8.306 MB / 1.38 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/1.168, allocations: 1.473 MB / 1.381 GB, free: 1.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 4.379e-06/1.168, allocations: 0 / 1.381 GB, free: 1.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01532/1.183, allocations: 5.019 MB / 1.386 GB, free: 12.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.183, allocations: 132.8 kB / 1.386 GB, free: 12.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008648/1.192, allocations: 4.394 MB / 1.391 GB, free: 7.785 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003304/1.192, allocations: 65.7 kB / 1.391 GB, free: 7.715 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002496/1.195, allocations: 2.405 MB / 1.393 GB, free: 5.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.196, allocations: 0.7047 MB / 1.394 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.197, allocations: 0.552 MB / 1.394 GB, free: 4.016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/1.197, allocations: 305.1 kB / 1.395 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/1.2, allocations: 1.231 MB / 1.396 GB, free: 2.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/1.204, allocations: 2.138 MB / 1.398 GB, free: 15.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04719/1.251, allocations: 10.37 MB / 1.408 GB, free: 5.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/1.251, allocations: 4 kB / 1.408 GB, free: 5.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01024/1.261, allocations: 4.176 MB / 1.412 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/1.261, allocations: 80.33 kB / 1.412 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.261, allocations: 20 kB / 1.412 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/1.262, allocations: 384.1 kB / 1.413 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.265, allocations: 0.6943 MB / 1.413 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/1.269, allocations: 4.327 MB / 1.417 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/1.273, allocations: 390.3 kB / 1.418 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/1.273, allocations: 143.9 kB / 1.418 GB, free: 10.71 MB / 1.076 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005204/1.278, allocations: 2.339 MB / 1.42 GB, free: 8.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003457/1.282, allocations: 2.088 MB / 1.422 GB, free: 5.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04682/1.329, allocations: 10.14 MB / 1.432 GB, free: 11.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-05/1.329, allocations: 8 kB / 1.432 GB, free: 11.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009995/1.339, allocations: 4.079 MB / 1.436 GB, free: 7.242 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/1.339, allocations: 79.38 kB / 1.436 GB, free: 7.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/1.339, allocations: 24 kB / 1.436 GB, free: 7.129 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.34, allocations: 365.8 kB / 1.437 GB, free: 6.766 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.342, allocations: 0.6474 MB / 1.437 GB, free: 6.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/1.345, allocations: 2.525 MB / 1.44 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.349, allocations: 331.8 kB / 1.44 GB, free: 3.102 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/1.349, allocations: 140 kB / 1.44 GB, free: 2.965 MB / 1.092 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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.0009746/1.35, allocations: 0.6065 MB / 1.441 GB, free: 2.332 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.352, allocations: 490 kB / 1.441 GB, free: 1.848 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.417/1.769, allocations: 4.243 MB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/1.769, allocations: 30.7 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.769, allocations: 1.125 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00597/1.775, allocations: 3.325 MB / 1.449 GB, free: 373 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.793, allocations: 8.867 MB / 1.457 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/1.793, allocations: 5.812 kB / 1.457 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.795, allocations: 455.9 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/1.796, allocations: 334.1 kB / 1.458 GB, free: 370.3 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/1.797, allocations: 73.56 kB / 1.458 GB, free: 370.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/1.8, allocations: 4.331 MB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.8, allocations: 2.516 kB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/1.816, allocations: 5.686 MB / 1.468 GB, free: 364.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/1.819, allocations: 0.9688 MB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.82, allocations: 51.41 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.823, allocations: 174.1 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.824, allocations: 141.5 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.824, allocations: 110.7 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005403/1.829, allocations: 2.981 MB / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.1e-07/1.829, allocations: 0 / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.007596/1.837, allocations: 2.679 MB / 1.475 GB, free: 362.2 MB / 1.092 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.01684/1.854, allocations: 7.476 MB / 1.482 GB, free: 359.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.867, allocations: 5.511 MB / 1.488 GB, free: 357 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.867, allocations: 3.188 kB / 1.488 GB, free: 357 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/1.872, allocations: 1.88 MB / 1.489 GB, free: 356.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/1.885, allocations: 2.651 MB / 1.492 GB, free: 355.7 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06919/1.954, allocations: 34.63 MB / 1.526 GB, free: 338.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.957, allocations: 2.706 MB / 1.528 GB, free: 335.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005797/1.963, allocations: 1.171 MB / 1.53 GB, free: 334.5 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003478/1.967, allocations: 2.245 MB / 1.532 GB, free: 332.3 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.967, allocations: 0 / 1.532 GB, free: 332.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/2.166, allocations: 149.6 MB / 1.678 GB, free: 184.2 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.86/25.02, allocations: 15.88 kB / 1.678 GB, free: 184.2 MB / 1.092 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)