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-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108 kB / 16.41 MB, free: 6.027 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.001334/0.001334, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05473/0.05473, allocations: 12.04 MB / 303.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000594/0.0005941, allocations: 27.88 kB / 356.3 MB, free: 13.98 MB / 302.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.482/1.482, allocations: 268.2 MB / 0.6617 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 111.8 kB / 0.888 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5463, allocations: 108.4 MB / 0.9938 GB, free: 1.094 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.817/1.363, allocations: 242.2 MB / 1.23 GB, free: 47.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.06162/1.425, allocations: 48.69 MB / 1.278 GB, free: 47.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/1.438, allocations: 289.3 kB / 1.278 GB, free: 47.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009567/1.447, allocations: 3.431 MB / 1.282 GB, free: 47.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02322/1.47, allocations: 8.509 MB / 1.29 GB, free: 46.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01556/1.486, allocations: 6.464 MB / 1.296 GB, free: 46.51 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02247/1.509, allocations: 17.38 MB / 1.313 GB, free: 41.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008919/1.518, allocations: 6.307 MB / 1.319 GB, free: 38.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/1.532, allocations: 6.968 MB / 1.326 GB, free: 34.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00751/1.54, allocations: 4.693 MB / 1.331 GB, free: 32.31 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/1.541, allocations: 0.6964 MB / 1.331 GB, free: 32.31 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009311/1.55, allocations: 3.771 MB / 1.335 GB, free: 30.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/1.552, allocations: 1.712 MB / 1.337 GB, free: 28.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004437/1.556, allocations: 3.715 MB / 1.34 GB, free: 24.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.572, allocations: 12 MB / 1.352 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.572, allocations: 0 / 1.352 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/1.572, allocations: 0 / 1.352 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001637/1.572, allocations: 0 / 1.352 GB, free: 13.12 MB / 0.9044 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.01164/1.584, allocations: 7.196 MB / 1.359 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.584, allocations: 12.03 kB / 1.359 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/1.589, allocations: 1.338 MB / 1.36 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00888/1.598, allocations: 6.205 MB / 1.366 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/1.598, allocations: 291.1 kB / 1.367 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004893/1.599, allocations: 372 kB / 1.367 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008274/1.607, allocations: 4.536 MB / 1.372 GB, free: 9.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.257e-05/1.607, allocations: 11.88 kB / 1.372 GB, free: 8.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/1.608, allocations: 152 kB / 1.372 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/1.608, allocations: 95.94 kB / 1.372 GB, free: 8.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/1.615, allocations: 3.734 MB / 1.375 GB, free: 5.008 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 preOpt removeSimpleEquations (simulation): time 0.02688/1.642, allocations: 23 MB / 1.398 GB, free: 12.95 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/1.648, allocations: 2.999 MB / 1.401 GB, free: 9.812 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/1.65, allocations: 1.297 MB / 1.402 GB, free: 8.52 MB / 0.9513 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.01124/1.662, allocations: 8.462 MB / 1.41 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003056/1.665, allocations: 1.466 MB / 1.412 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 3.707e-06/1.665, allocations: 0 / 1.412 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01686/1.682, allocations: 5.15 MB / 1.417 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.682, allocations: 179.5 kB / 1.417 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006747/1.688, allocations: 4.86 MB / 1.422 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003188/1.689, allocations: 69.7 kB / 1.422 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00236/1.691, allocations: 2.676 MB / 1.424 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006618/1.692, allocations: 0.624 MB / 1.425 GB, free: 0 / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/1.693, allocations: 0.5615 MB / 1.426 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/1.693, allocations: 305.1 kB / 1.426 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/1.695, allocations: 1.168 MB / 1.427 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/1.699, allocations: 2.255 MB / 1.429 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.564/2.263, allocations: 89.33 MB / 1.516 GB, free: 1.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-05/2.263, allocations: 8 kB / 1.516 GB, free: 1.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01123/2.274, allocations: 4.16 MB / 1.52 GB, free: 13.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/2.274, allocations: 83.38 kB / 1.521 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/2.274, allocations: 32.06 kB / 1.521 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/2.277, allocations: 0.6651 MB / 1.521 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/2.279, allocations: 0.6201 MB / 1.522 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/2.283, allocations: 3.035 MB / 1.525 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/2.287, allocations: 418.2 kB / 1.525 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004683/2.287, allocations: 148 kB / 1.525 GB, free: 8.59 MB / 1.076 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005302/2.293, allocations: 2.313 MB / 1.528 GB, free: 6.277 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003571/2.296, allocations: 2.207 MB / 1.53 GB, free: 3.586 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5652/2.862, allocations: 89.06 MB / 1.617 GB, free: 10.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.262e-05/2.862, allocations: 11.94 kB / 1.617 GB, free: 10.46 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01029/2.872, allocations: 4.059 MB / 1.621 GB, free: 6.375 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/2.872, allocations: 83.38 kB / 1.621 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/2.872, allocations: 28 kB / 1.621 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/2.874, allocations: 0.6247 MB / 1.621 GB, free: 5.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/2.876, allocations: 0.6122 MB / 1.622 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/2.879, allocations: 1.831 MB / 1.624 GB, free: 3.129 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/2.883, allocations: 342.2 kB / 1.624 GB, free: 2.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/2.884, allocations: 143.9 kB / 1.624 GB, free: 2.652 MB / 1.17 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (300): * Single equations (assignments): 292 * 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.001145/2.885, allocations: 0.5702 MB / 1.625 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/2.887, allocations: 0.5054 MB / 1.625 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/2.897, allocations: 4.037 MB / 1.629 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/2.897, allocations: 23.98 kB / 1.629 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/2.898, allocations: 0 / 1.629 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007643/2.905, allocations: 2.882 MB / 1.632 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/2.928, allocations: 8.834 MB / 1.641 GB, free: 1.676 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/2.928, allocations: 4 kB / 1.641 GB, free: 1.672 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/2.929, allocations: 369.8 kB / 1.641 GB, free: 1.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001999/2.931, allocations: 0.5972 MB / 1.642 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/2.932, allocations: 59.95 kB / 1.642 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/2.936, allocations: 3.118 MB / 1.645 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.936, allocations: 4 kB / 1.645 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/2.95, allocations: 5.635 MB / 1.65 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/2.953, allocations: 0.9704 MB / 1.651 GB, free: 6.73 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/2.954, allocations: 44 kB / 1.651 GB, free: 6.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/2.957, allocations: 179.8 kB / 1.651 GB, free: 6.512 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/2.958, allocations: 129.8 kB / 1.652 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/2.958, allocations: 91.94 kB / 1.652 GB, free: 6.293 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006239/2.964, allocations: 3.311 MB / 1.655 GB, free: 2.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.01e-07/2.964, allocations: 0 / 1.655 GB, free: 2.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01162/2.976, allocations: 2.728 MB / 1.658 GB, free: 252 kB / 1.201 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 (170): * Single equations (assignments): 150 * 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.00346/2.979, allocations: 1.312 MB / 1.659 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01284/2.992, allocations: 5.034 MB / 1.664 GB, free: 9.977 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.992, allocations: 8.188 kB / 1.664 GB, free: 9.969 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004598/2.997, allocations: 1.642 MB / 1.665 GB, free: 8.305 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01404/3.011, allocations: 2.656 MB / 1.668 GB, free: 5.914 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5729/3.584, allocations: 9.248 MB / 1.677 GB, free: 0.5088 GB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/3.588, allocations: 2.794 MB / 1.68 GB, free: 0.508 GB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/3.59, allocations: 389.6 kB / 1.68 GB, free: 0.508 GB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/3.59, allocations: 0 / 1.68 GB, free: 0.508 GB / 1.217 GB Notification: Performance of Templates: time 0.1815/3.771, allocations: 214.5 MB / 1.89 GB, free: 329.7 MB / 1.217 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (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 & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)