Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001422/0.001422, allocations: 199.5 kB / 16.14 MB, free: 6.66 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.129/0.129, allocations: 12 MB / 302 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004504/0.0004504, allocations: 23.97 kB / 355 MB, free: 4.039 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.592/1.592, allocations: 268.1 MB / 0.6603 GB, free: 1.062 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 110.9 kB / 0.7794 GB, free: 32.85 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, allocations: 108.4 MB / 0.8852 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5313/0.6948, allocations: 240.6 MB / 1.12 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05264/0.7475, allocations: 48.9 MB / 1.168 GB, free: 14.32 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008121/0.7556, allocations: 268.2 kB / 1.168 GB, free: 14.21 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.008069/0.7637, allocations: 2.875 MB / 1.171 GB, free: 11.85 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.01919/0.783, allocations: 7.975 MB / 1.179 GB, free: 4.59 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.7957, allocations: 5.894 MB / 1.185 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02511/0.8209, allocations: 22.08 MB / 1.206 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007569/0.8285, allocations: 5.102 MB / 1.211 GB, free: 3.441 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.8402, allocations: 5.647 MB / 1.217 GB, free: 13.77 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007238/0.8475, allocations: 4.632 MB / 1.221 GB, free: 9.117 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009096/0.8484, allocations: 288 kB / 1.221 GB, free: 8.836 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007968/0.8564, allocations: 3.397 MB / 1.225 GB, free: 5.434 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.8578, allocations: 1.33 MB / 1.226 GB, free: 4.098 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.8617, allocations: 3.268 MB / 1.229 GB, free: 0.8125 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.8749, allocations: 11.64 MB / 1.241 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.875, allocations: 4 kB / 1.241 GB, free: 5.137 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.052e-06/0.875, allocations: 0 / 1.241 GB, free: 5.137 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0001653/0.8752, allocations: 0 / 1.241 GB, free: 5.137 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01284/0.888, allocations: 7.212 MB / 1.248 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8881, allocations: 8.031 kB / 1.248 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006197/0.8887, allocations: 489.4 kB / 1.248 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.8951, allocations: 1.331 MB / 1.249 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.9067, allocations: 6.161 MB / 1.255 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/0.9081, allocations: 0.4994 MB / 1.256 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006955/0.9089, allocations: 376 kB / 1.256 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00896/0.9178, allocations: 4.488 MB / 1.261 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/0.9179, allocations: 11.84 kB / 1.261 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.9183, allocations: 152 kB / 1.261 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.9184, allocations: 92.05 kB / 1.261 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.9271, allocations: 3.789 MB / 1.265 GB, free: 12.18 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02984/0.9569, allocations: 22.1 MB / 1.286 GB, free: 4.848 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.9632, allocations: 3.135 MB / 1.289 GB, free: 1.574 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/0.9663, allocations: 1.395 MB / 1.291 GB, free: 180 kB / 0.8732 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.01283/0.9792, allocations: 8.62 MB / 1.299 GB, free: 6.613 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003531/0.9827, allocations: 1.572 MB / 1.301 GB, free: 5.008 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001909/0.9846, allocations: 265.7 kB / 1.301 GB, free: 4.746 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=186): time 3.897e-06/0.9846, allocations: 0 / 1.301 GB, free: 4.746 MB / 0.8888 GB Notification: Performance of matching and sorting (n=186): time 0.01932/1.004, allocations: 5.63 MB / 1.306 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/1.004, allocations: 180.2 kB / 1.306 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/1.011, allocations: 4.745 MB / 1.311 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.012, allocations: 69.7 kB / 1.311 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.014, allocations: 2.64 MB / 1.314 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/1.015, allocations: 0.6276 MB / 1.314 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008774/1.016, allocations: 0.5436 MB / 1.315 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.016, allocations: 313 kB / 1.315 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.019, allocations: 1.257 MB / 1.316 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003689/1.022, allocations: 2.283 MB / 1.319 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.01/2.033, allocations: 89.72 MB / 1.406 GB, free: 201.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/2.033, allocations: 8.969 kB / 1.406 GB, free: 201.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.0102/2.043, allocations: 4.277 MB / 1.41 GB, free: 201 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/2.043, allocations: 79.88 kB / 1.411 GB, free: 200.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/2.043, allocations: 24.53 kB / 1.411 GB, free: 200.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/2.045, allocations: 0.6732 MB / 1.411 GB, free: 200.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/2.048, allocations: 0.6313 MB / 1.412 GB, free: 200.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/2.052, allocations: 3.067 MB / 1.415 GB, free: 198.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/2.056, allocations: 441.6 kB / 1.415 GB, free: 198.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/2.056, allocations: 141.8 kB / 1.415 GB, free: 198.6 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0051/2.062, allocations: 2.391 MB / 1.418 GB, free: 198.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003474/2.065, allocations: 2.226 MB / 1.42 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5627/2.628, allocations: 89.48 MB / 1.507 GB, free: 143.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.995e-05/2.628, allocations: 8 kB / 1.507 GB, free: 143.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.009909/2.638, allocations: 4.168 MB / 1.511 GB, free: 140.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/2.638, allocations: 78.08 kB / 1.511 GB, free: 140.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/2.638, allocations: 24 kB / 1.511 GB, free: 140.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/2.64, allocations: 0.648 MB / 1.512 GB, free: 140.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/2.642, allocations: 0.599 MB / 1.513 GB, free: 139.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/2.645, allocations: 1.858 MB / 1.514 GB, free: 137.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/2.65, allocations: 439.7 kB / 1.515 GB, free: 137.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/2.65, allocations: 138.8 kB / 1.515 GB, free: 137.4 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0009844/2.651, allocations: 0.5648 MB / 1.516 GB, free: 137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.652, allocations: 0.5059 MB / 1.516 GB, free: 136.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009566/2.662, allocations: 4.221 MB / 1.52 GB, free: 133.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/2.662, allocations: 26.61 kB / 1.52 GB, free: 133.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/2.662, allocations: 4 kB / 1.52 GB, free: 133.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006959/2.669, allocations: 3.053 MB / 1.523 GB, free: 131.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/2.688, allocations: 8.826 MB / 1.532 GB, free: 125.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/2.688, allocations: 6.531 kB / 1.532 GB, free: 125.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/2.689, allocations: 373.2 kB / 1.532 GB, free: 124.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/2.691, allocations: 0.6143 MB / 1.533 GB, free: 124.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/2.692, allocations: 65.45 kB / 1.533 GB, free: 124.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/2.696, allocations: 3.159 MB / 1.536 GB, free: 121.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.696, allocations: 5.781 kB / 1.536 GB, free: 121.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/2.708, allocations: 5.586 MB / 1.541 GB, free: 117.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/2.71, allocations: 0.9444 MB / 1.542 GB, free: 116.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/2.711, allocations: 44.31 kB / 1.542 GB, free: 116.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/2.715, allocations: 410.5 kB / 1.543 GB, free: 116.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/2.715, allocations: 132.4 kB / 1.543 GB, free: 116 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/2.716, allocations: 96.44 kB / 1.543 GB, free: 116 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00544/2.721, allocations: 3.226 MB / 1.546 GB, free: 113.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/2.721, allocations: 0 / 1.546 GB, free: 113.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006876/2.728, allocations: 2.71 MB / 1.549 GB, free: 111.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/2.74, allocations: 7.035 MB / 1.556 GB, free: 106.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01069/2.751, allocations: 5.163 MB / 1.561 GB, free: 102.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/2.751, allocations: 4 kB / 1.561 GB, free: 102.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003996/2.755, allocations: 1.673 MB / 1.562 GB, free: 101.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/2.766, allocations: 2.567 MB / 1.565 GB, free: 99.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1621/2.928, allocations: 48.3 MB / 1.612 GB, free: 51.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/2.931, allocations: 2.801 MB / 1.615 GB, free: 48.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005152/2.936, allocations: 1.12 MB / 1.616 GB, free: 47.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002803/2.939, allocations: 2.374 MB / 1.618 GB, free: 45.27 MB / 0.9825 GB Notification: Performance of SimCode: time 1.934e-06/2.939, allocations: 0 / 1.618 GB, free: 45.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.599/10.54, allocations: 148.7 MB / 1.763 GB, free: 10.41 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004587/10.54, allocations: 314.5 kB / 1.764 GB, free: 10.02 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.599/16.14, allocations: 3.625 kB / 1.764 GB, free: 10.02 MB / 1.092 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)