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/AixLib 1.3.1-development/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/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) 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 AixLib with version 1.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-development/package.mo): time 1.654/1.654, allocations: 268.7 MB / 284.5 MB, free: 2.648 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 186.1 kB / 341.4 MB, free: 0.7695 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 0.6065 GB, free: 228 kB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108.4 kB / 0.7103 GB, free: 5.094 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo): time 0.4074/0.4074, allocations: 11.77 MB / 0.8254 GB, free: 63.48 MB / 0.5887 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004122/0.0004122, allocations: 25.31 kB / 0.9319 GB, free: 14.74 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:16-9:38:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:40-9:62:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:64-9:86:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:88-9:110:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:112-9:134:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:135-9:157:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. Notification: Performance of FrontEnd - loaded program: time 0.003179/0.003179, allocations: 91.88 kB / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.5758, allocations: 108.3 MB / 1.157 GB, free: 157.3 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1614/0.7373, allocations: 216.2 MB / 1.368 GB, free: 11.14 MB / 0.7918 GB Notification: Performance of NFInst.instExpressions: time 0.6485/1.386, allocations: 45.51 MB / 1.412 GB, free: 31.61 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/1.4, allocations: 244.7 kB / 1.412 GB, free: 31.61 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01254/1.412, allocations: 2.646 MB / 1.415 GB, free: 31.61 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02993/1.442, allocations: 7.261 MB / 1.422 GB, free: 31.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01896/1.461, allocations: 6.089 MB / 1.428 GB, free: 31.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03769/1.499, allocations: 21.42 MB / 1.449 GB, free: 31.46 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01519/1.514, allocations: 4.811 MB / 1.454 GB, free: 30.63 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01821/1.533, allocations: 5.445 MB / 1.459 GB, free: 30.41 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/1.545, allocations: 4.452 MB / 1.463 GB, free: 29.62 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003297/1.549, allocations: 277.8 kB / 1.464 GB, free: 29.62 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.563, allocations: 3.365 MB / 1.467 GB, free: 29.55 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.004406/1.568, allocations: 1.266 MB / 1.468 GB, free: 29.32 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01315/1.581, allocations: 3.081 MB / 1.471 GB, free: 28.42 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.604, allocations: 10.97 MB / 1.482 GB, free: 24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.604, allocations: 0 / 1.482 GB, free: 24 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.946e-06/1.604, allocations: 2.312 kB / 1.482 GB, free: 24 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004119/1.604, allocations: 0 / 1.482 GB, free: 24 MB / 0.823 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.02077/1.625, allocations: 6.725 MB / 1.488 GB, free: 20.32 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.625, allocations: 11.53 kB / 1.488 GB, free: 20.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007237/1.632, allocations: 1.205 MB / 1.49 GB, free: 19.76 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.647, allocations: 5.689 MB / 1.495 GB, free: 17.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001162/1.648, allocations: 439.4 kB / 1.496 GB, free: 17.51 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.649, allocations: 352.9 kB / 1.496 GB, free: 17.51 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.662, allocations: 4.184 MB / 1.5 GB, free: 16.35 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/1.662, allocations: 9.75 kB / 1.5 GB, free: 16.34 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009809/1.663, allocations: 144.6 kB / 1.5 GB, free: 16.34 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.476e-05/1.663, allocations: 82.06 kB / 1.5 GB, free: 16.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009865/1.673, allocations: 3.588 MB / 1.504 GB, free: 15.56 MB / 0.823 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.03371/1.707, allocations: 19.72 MB / 1.523 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/1.713, allocations: 2.483 MB / 1.525 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/1.716, allocations: 1.474 MB / 1.527 GB, free: 11.36 MB / 0.8387 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.01476/1.731, allocations: 8.308 MB / 1.535 GB, free: 2.254 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003803/1.735, allocations: 1.518 MB / 1.536 GB, free: 0.7188 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002895/1.738, allocations: 261.7 kB / 1.537 GB, free: 472 kB / 0.8387 GB Notification: Performance of pre-optimization done (n=209): time 1.058e-05/1.738, allocations: 3.938 kB / 1.537 GB, free: 468 kB / 0.8387 GB Notification: Performance of matching and sorting (n=209): time 0.01644/1.754, allocations: 5.151 MB / 1.542 GB, free: 11.23 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/1.755, allocations: 132.8 kB / 1.542 GB, free: 11.08 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.765, allocations: 4.316 MB / 1.546 GB, free: 6.781 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.0007402/1.766, allocations: 73.7 kB / 1.546 GB, free: 6.703 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.769, allocations: 2.388 MB / 1.548 GB, free: 4.305 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.771, allocations: 0.7175 MB / 1.549 GB, free: 3.594 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/1.773, allocations: 0.5443 MB / 1.55 GB, free: 3.043 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.773, allocations: 305.1 kB / 1.55 GB, free: 2.742 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.776, allocations: 1.261 MB / 1.551 GB, free: 1.477 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/1.78, allocations: 2.147 MB / 1.553 GB, free: 14.96 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04598/1.826, allocations: 10.47 MB / 1.564 GB, free: 4.262 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-05/1.826, allocations: 8 kB / 1.564 GB, free: 4.254 MB / 0.8699 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01194/1.838, allocations: 4.234 MB / 1.568 GB, free: 104 kB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/1.838, allocations: 79.39 kB / 1.568 GB, free: 12 kB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/1.838, allocations: 20.05 kB / 1.568 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/1.84, allocations: 392.6 kB / 1.568 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/1.843, allocations: 0.7076 MB / 1.569 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/1.847, allocations: 4.158 MB / 1.573 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.852, allocations: 420.5 kB / 1.573 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006473/1.853, allocations: 143.9 kB / 1.573 GB, free: 10.03 MB / 0.8855 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.00583/1.859, allocations: 2.35 MB / 1.576 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003957/1.863, allocations: 2.114 MB / 1.578 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04529/1.908, allocations: 10.25 MB / 1.588 GB, free: 10.66 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.352e-05/1.908, allocations: 8 kB / 1.588 GB, free: 10.66 MB / 0.9012 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.01162/1.92, allocations: 4.135 MB / 1.592 GB, free: 6.602 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/1.92, allocations: 80.33 kB / 1.592 GB, free: 6.512 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-05/1.92, allocations: 20 kB / 1.592 GB, free: 6.492 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.921, allocations: 380 kB / 1.592 GB, free: 6.117 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/1.924, allocations: 0.6564 MB / 1.593 GB, free: 5.496 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/1.927, allocations: 2.376 MB / 1.595 GB, free: 2.984 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.933, allocations: 405.1 kB / 1.596 GB, free: 2.59 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009423/1.934, allocations: 143.9 kB / 1.596 GB, free: 2.449 MB / 0.9012 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.001946/1.936, allocations: 0.6041 MB / 1.596 GB, free: 1.863 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/1.938, allocations: 482 kB / 1.597 GB, free: 1.387 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/1.954, allocations: 4.316 MB / 1.601 GB, free: 13.09 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-05/1.954, allocations: 35.92 kB / 1.601 GB, free: 13.05 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.954, allocations: 0 / 1.601 GB, free: 13.05 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008233/1.962, allocations: 3.381 MB / 1.604 GB, free: 9.539 MB / 0.9168 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.03074/1.993, allocations: 8.945 MB / 1.613 GB, free: 500 kB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/1.993, allocations: 4 kB / 1.613 GB, free: 496 kB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.996, allocations: 475.6 kB / 1.614 GB, free: 40 kB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.997, allocations: 350.8 kB / 1.614 GB, free: 15.69 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/1.998, allocations: 71.95 kB / 1.614 GB, free: 15.62 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/2.002, allocations: 4.179 MB / 1.618 GB, free: 11.23 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.002, allocations: 4 kB / 1.618 GB, free: 11.23 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.134/2.136, allocations: 39.39 MB / 1.657 GB, free: 3.219 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003519/2.14, allocations: 0.9319 MB / 1.657 GB, free: 2.262 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/2.141, allocations: 48 kB / 1.658 GB, free: 2.215 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004509/2.146, allocations: 407.3 kB / 1.658 GB, free: 1.816 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/2.147, allocations: 148.6 kB / 1.658 GB, free: 1.672 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004492/2.147, allocations: 99.92 kB / 1.658 GB, free: 1.574 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.007349/2.154, allocations: 2.923 MB / 1.661 GB, free: 14.68 MB / 0.9793 GB Notification: Performance of sort global known variables: time 3.61e-07/2.154, allocations: 0 / 1.661 GB, free: 14.68 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.02484/2.179, allocations: 4.256 MB / 1.665 GB, free: 10.41 MB / 0.9793 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.003635/2.183, allocations: 1.303 MB / 1.666 GB, free: 9.242 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.197, allocations: 5.581 MB / 1.672 GB, free: 3.738 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/2.197, allocations: 4.188 kB / 1.672 GB, free: 3.734 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/2.202, allocations: 1.9 MB / 1.674 GB, free: 1.84 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/2.219, allocations: 2.556 MB / 1.676 GB, free: 15.37 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/2.248, allocations: 12.91 MB / 1.689 GB, free: 2.398 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004714/2.253, allocations: 2.795 MB / 1.692 GB, free: 15.57 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.007913/2.261, allocations: 1.242 MB / 1.693 GB, free: 14.43 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/2.263, allocations: 414.1 kB / 1.693 GB, free: 14.03 MB / 1.011 GB Notification: Performance of SimCode: time 1.082e-06/2.263, allocations: 0 / 1.693 GB, free: 14.03 MB / 1.011 GB Notification: Performance of Templates: time 0.681/2.944, allocations: 122 MB / 1.812 GB, free: 475.6 MB / 1.104 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (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 & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)