Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, 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.001178/0.001178, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1389/0.1389, allocations: 12.01 MB / 302 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000469/0.000469, allocations: 23.97 kB / 355 MB, free: 4.062 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.668/1.668, allocations: 268.1 MB / 0.6603 GB, free: 1.051 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 112.8 kB / 0.7794 GB, free: 32.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 108.4 MB / 0.8852 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5085/0.6715, allocations: 216.2 MB / 1.096 GB, free: 30.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04414/0.7156, allocations: 45.53 MB / 1.141 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007895/0.7236, allocations: 243.7 kB / 1.141 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006834/0.7304, allocations: 2.644 MB / 1.144 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/0.7468, allocations: 7.266 MB / 1.151 GB, free: 13.9 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/0.7602, allocations: 6.09 MB / 1.157 GB, free: 9.293 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02225/0.7824, allocations: 21.35 MB / 1.178 GB, free: 6.996 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006909/0.7894, allocations: 4.795 MB / 1.182 GB, free: 2.113 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.8, allocations: 5.395 MB / 1.187 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006701/0.8068, allocations: 4.449 MB / 1.192 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000994/0.8078, allocations: 276 kB / 1.192 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007958/0.8157, allocations: 3.373 MB / 1.195 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.8171, allocations: 1.264 MB / 1.197 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.821, allocations: 3.078 MB / 1.2 GB, free: 220 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.8337, allocations: 10.97 MB / 1.21 GB, free: 5.211 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8338, allocations: 4 kB / 1.21 GB, free: 5.207 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8338, allocations: 0 / 1.21 GB, free: 5.207 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001949/0.834, allocations: 0 / 1.21 GB, free: 5.207 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01114/0.8451, allocations: 6.725 MB / 1.217 GB, free: 14.38 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8452, allocations: 12.03 kB / 1.217 GB, free: 14.36 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005332/0.8457, allocations: 451.9 kB / 1.217 GB, free: 13.91 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/0.8511, allocations: 1.21 MB / 1.219 GB, free: 12.69 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/0.8603, allocations: 5.693 MB / 1.224 GB, free: 6.926 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009717/0.8613, allocations: 435 kB / 1.225 GB, free: 6.5 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/0.8617, allocations: 355.9 kB / 1.225 GB, free: 6.152 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/0.8692, allocations: 4.179 MB / 1.229 GB, free: 1.84 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.8692, allocations: 7.938 kB / 1.229 GB, free: 1.832 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.8696, allocations: 143.9 kB / 1.229 GB, free: 1.691 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.8696, allocations: 80 kB / 1.229 GB, free: 1.613 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007404/0.877, allocations: 3.601 MB / 1.233 GB, free: 14 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.02521/0.9023, allocations: 19.71 MB / 1.252 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005186/0.9075, allocations: 2.481 MB / 1.254 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.9104, allocations: 1.474 MB / 1.256 GB, free: 5.309 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.921, allocations: 8.329 MB / 1.264 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003206/0.9242, allocations: 1.512 MB / 1.265 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001634/0.9259, allocations: 257.8 kB / 1.266 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 6.001e-06/0.9259, allocations: 0 / 1.266 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01399/0.9399, allocations: 5.144 MB / 1.271 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.94, allocations: 140.8 kB / 1.271 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006714/0.9467, allocations: 4.3 MB / 1.275 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.9469, allocations: 73.7 kB / 1.275 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.949, allocations: 2.398 MB / 1.277 GB, free: 14.15 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.000664/0.9496, allocations: 0.7085 MB / 1.278 GB, free: 13.43 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008507/0.9505, allocations: 0.5481 MB / 1.279 GB, free: 12.88 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.9506, allocations: 305.1 kB / 1.279 GB, free: 12.57 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.9533, allocations: 1.262 MB / 1.28 GB, free: 11.3 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/0.9567, allocations: 2.147 MB / 1.282 GB, free: 8.773 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04569/1.002, allocations: 10.48 MB / 1.292 GB, free: 13.93 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/1.002, allocations: 4 kB / 1.292 GB, free: 13.92 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008899/1.011, allocations: 4.231 MB / 1.297 GB, free: 9.641 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/1.011, allocations: 79.39 kB / 1.297 GB, free: 9.551 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/1.011, allocations: 24 kB / 1.297 GB, free: 9.527 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.013, allocations: 395 kB / 1.297 GB, free: 9.141 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.015, allocations: 0.7021 MB / 1.298 GB, free: 8.438 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/1.019, allocations: 4.157 MB / 1.302 GB, free: 4.051 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.022, allocations: 416.5 kB / 1.302 GB, free: 3.641 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/1.023, allocations: 143.9 kB / 1.302 GB, free: 3.5 MB / 0.8888 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004562/1.027, allocations: 2.374 MB / 1.305 GB, free: 1.125 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003278/1.031, allocations: 2.1 MB / 1.307 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04476/1.075, allocations: 10.25 MB / 1.317 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-05/1.075, allocations: 7.938 kB / 1.317 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.009023/1.084, allocations: 4.126 MB / 1.321 GB, free: 15.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/1.085, allocations: 82.36 kB / 1.321 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.085, allocations: 24.12 kB / 1.321 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.086, allocations: 383.9 kB / 1.321 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/1.088, allocations: 0.6552 MB / 1.322 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.09, allocations: 2.371 MB / 1.324 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.094, allocations: 413.1 kB / 1.325 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/1.095, allocations: 140 kB / 1.325 GB, free: 11.62 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.0008183/1.095, allocations: 0.5961 MB / 1.325 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.096, allocations: 493.9 kB / 1.326 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/1.106, allocations: 4.316 MB / 1.33 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/1.106, allocations: 35.98 kB / 1.33 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.106, allocations: 0 / 1.33 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006641/1.112, allocations: 3.379 MB / 1.333 GB, free: 2.637 MB / 0.92 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.02083/1.133, allocations: 8.944 MB / 1.342 GB, free: 9.5 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.133, allocations: 3.984 kB / 1.342 GB, free: 9.496 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.136, allocations: 475.6 kB / 1.343 GB, free: 9.031 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/1.137, allocations: 351.8 kB / 1.343 GB, free: 8.684 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.137, allocations: 71.95 kB / 1.343 GB, free: 8.613 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/1.141, allocations: 4.191 MB / 1.347 GB, free: 4.195 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.141, allocations: 0 / 1.347 GB, free: 4.195 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.152, allocations: 5.59 MB / 1.352 GB, free: 14.48 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.154, allocations: 0.9359 MB / 1.353 GB, free: 13.52 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009922/1.155, allocations: 48 kB / 1.353 GB, free: 13.47 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.159, allocations: 403.2 kB / 1.354 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.159, allocations: 157.7 kB / 1.354 GB, free: 12.92 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.16, allocations: 107.9 kB / 1.354 GB, free: 12.82 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.005072/1.165, allocations: 2.915 MB / 1.357 GB, free: 9.922 MB / 0.9513 GB Notification: Performance of sort global known variables: time 3.61e-07/1.165, allocations: 3.938 kB / 1.357 GB, free: 9.918 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.007406/1.172, allocations: 2.674 MB / 1.36 GB, free: 7.238 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01436/1.187, allocations: 7.308 MB / 1.367 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.198, allocations: 5.59 MB / 1.372 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.198, allocations: 0 / 1.372 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/1.202, allocations: 1.895 MB / 1.374 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/1.214, allocations: 2.542 MB / 1.376 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4308/1.644, allocations: 45.76 MB / 1.421 GB, free: 357.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/1.647, allocations: 2.709 MB / 1.424 GB, free: 356.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005052/1.652, allocations: 1.19 MB / 1.425 GB, free: 356.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.654, allocations: 2.24 MB / 1.427 GB, free: 354.9 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.654, allocations: 0 / 1.427 GB, free: 354.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.216/8.87, allocations: 145.1 MB / 1.569 GB, free: 230.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/8.87, allocations: 309.9 kB / 1.569 GB, free: 229.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.726/14.6, allocations: 4 kB / 1.569 GB, free: 229.8 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)