Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_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.001457/0.001457, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001128/0.001128, allocations: 187 kB / 17.34 MB, free: 5.754 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 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.06107/0.06107, allocations: 12.05 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004444/0.0004443, allocations: 27.97 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.979/1.979, allocations: 272.3 MB / 0.6657 GB, free: 18.48 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 119.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5313, allocations: 109.1 MB / 1 GB, free: 8.262 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.238/0.7693, allocations: 242.2 MB / 1.237 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5675/1.337, allocations: 48.7 MB / 1.284 GB, free: 47.82 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009746/1.347, allocations: 289.6 kB / 1.284 GB, free: 47.82 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.009699/1.356, allocations: 3.434 MB / 1.288 GB, free: 47.82 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.02292/1.379, allocations: 8.514 MB / 1.296 GB, free: 47.71 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01506/1.394, allocations: 6.463 MB / 1.302 GB, free: 47.55 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02507/1.42, allocations: 17.36 MB / 1.319 GB, free: 47.5 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/1.43, allocations: 6.293 MB / 1.326 GB, free: 46.61 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/1.446, allocations: 6.983 MB / 1.332 GB, free: 46.36 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008932/1.455, allocations: 4.696 MB / 1.337 GB, free: 45.52 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002199/1.457, allocations: 0.693 MB / 1.338 GB, free: 45.52 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/1.468, allocations: 3.766 MB / 1.341 GB, free: 45.45 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/1.471, allocations: 1.716 MB / 1.343 GB, free: 45.21 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.005985/1.477, allocations: 3.714 MB / 1.347 GB, free: 44.23 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/1.492, allocations: 12.01 MB / 1.358 GB, free: 41.7 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.492, allocations: 0 / 1.358 GB, free: 41.7 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.473e-06/1.492, allocations: 0 / 1.358 GB, free: 41.7 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002435/1.493, allocations: 2.812 kB / 1.358 GB, free: 41.7 MB / 0.9513 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.01475/1.507, allocations: 7.193 MB / 1.365 GB, free: 37.8 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/1.507, allocations: 11.28 kB / 1.365 GB, free: 37.8 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/1.514, allocations: 1.339 MB / 1.367 GB, free: 37.17 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.525, allocations: 6.208 MB / 1.373 GB, free: 34.79 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/1.525, allocations: 290.1 kB / 1.373 GB, free: 34.79 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/1.526, allocations: 374.2 kB / 1.373 GB, free: 34.79 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008225/1.534, allocations: 4.53 MB / 1.378 GB, free: 33.39 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/1.534, allocations: 11.62 kB / 1.378 GB, free: 33.39 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/1.535, allocations: 151.2 kB / 1.378 GB, free: 33.39 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/1.535, allocations: 94.59 kB / 1.378 GB, free: 33.38 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007397/1.542, allocations: 3.73 MB / 1.382 GB, free: 31.01 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 removeSimpleEquations (simulation): time 0.02414/1.566, allocations: 23 MB / 1.404 GB, free: 7.504 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/1.571, allocations: 3.01 MB / 1.407 GB, free: 4.367 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/1.574, allocations: 1.297 MB / 1.408 GB, free: 3.074 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.01207/1.586, allocations: 8.454 MB / 1.417 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003169/1.589, allocations: 1.468 MB / 1.418 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 3.677e-06/1.589, allocations: 4 kB / 1.418 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01762/1.607, allocations: 5.148 MB / 1.423 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/1.607, allocations: 179.5 kB / 1.423 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009779/1.617, allocations: 4.869 MB / 1.428 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.617, allocations: 73.7 kB / 1.428 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.62, allocations: 2.663 MB / 1.431 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007608/1.621, allocations: 0.6291 MB / 1.431 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/1.622, allocations: 0.5594 MB / 1.432 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/1.622, allocations: 305.1 kB / 1.432 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/1.625, allocations: 1.179 MB / 1.433 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/1.629, allocations: 2.252 MB / 1.435 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5818/2.211, allocations: 89.33 MB / 1.523 GB, free: 12.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/2.211, allocations: 8 kB / 1.523 GB, free: 12.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01119/2.222, allocations: 4.163 MB / 1.527 GB, free: 8.859 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/2.222, allocations: 85.25 kB / 1.527 GB, free: 8.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/2.222, allocations: 28 kB / 1.527 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/2.224, allocations: 0.6523 MB / 1.528 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/2.227, allocations: 0.6267 MB / 1.528 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/2.231, allocations: 3.038 MB / 1.531 GB, free: 4.375 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/2.235, allocations: 426.2 kB / 1.532 GB, free: 3.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/2.236, allocations: 147.9 kB / 1.532 GB, free: 3.812 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.005468/2.241, allocations: 2.318 MB / 1.534 GB, free: 1.496 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003905/2.245, allocations: 2.2 MB / 1.536 GB, free: 14.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5947/2.84, allocations: 89.06 MB / 1.623 GB, free: 5.848 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.607e-05/2.84, allocations: 8 kB / 1.623 GB, free: 5.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01145/2.852, allocations: 4.056 MB / 1.627 GB, free: 1.914 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/2.852, allocations: 83.38 kB / 1.627 GB, free: 1.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/2.852, allocations: 31.98 kB / 1.627 GB, free: 1.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/2.854, allocations: 0.6281 MB / 1.628 GB, free: 1.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/2.856, allocations: 0.5998 MB / 1.628 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/2.859, allocations: 1.833 MB / 1.63 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/2.864, allocations: 343.9 kB / 1.63 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/2.865, allocations: 140 kB / 1.631 GB, free: 14.25 MB / 1.186 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.001127/2.866, allocations: 0.5722 MB / 1.631 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/2.867, allocations: 0.5132 MB / 1.632 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/2.879, allocations: 4.026 MB / 1.636 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/2.879, allocations: 27.08 kB / 1.636 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/2.879, allocations: 0 / 1.636 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008036/2.887, allocations: 2.883 MB / 1.638 GB, free: 6.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/2.911, allocations: 8.818 MB / 1.647 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/2.911, allocations: 4.031 kB / 1.647 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/2.913, allocations: 373.4 kB / 1.647 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/2.915, allocations: 0.5983 MB / 1.648 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/2.915, allocations: 59.95 kB / 1.648 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/2.92, allocations: 3.126 MB / 1.651 GB, free: 9.168 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.92, allocations: 6.875 kB / 1.651 GB, free: 9.164 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/2.935, allocations: 5.615 MB / 1.657 GB, free: 3.488 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/2.937, allocations: 0.9704 MB / 1.658 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/2.939, allocations: 51.84 kB / 1.658 GB, free: 2.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/2.942, allocations: 175.8 kB / 1.658 GB, free: 2.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/2.943, allocations: 140.7 kB / 1.658 GB, free: 2.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/2.943, allocations: 92.06 kB / 1.658 GB, free: 2.043 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007128/2.95, allocations: 3.311 MB / 1.661 GB, free: 14.73 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.7e-07/2.95, allocations: 0 / 1.661 GB, free: 14.73 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008732/2.959, allocations: 2.724 MB / 1.664 GB, free: 12 MB / 1.217 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.003058/2.962, allocations: 1.313 MB / 1.665 GB, free: 10.81 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0117/2.974, allocations: 5.034 MB / 1.67 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/2.974, allocations: 4 kB / 1.67 GB, free: 5.918 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/2.978, allocations: 1.652 MB / 1.672 GB, free: 4.281 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/2.99, allocations: 2.651 MB / 1.674 GB, free: 1.875 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/3.009, allocations: 9.267 MB / 1.683 GB, free: 8.59 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/3.013, allocations: 2.789 MB / 1.686 GB, free: 5.77 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/3.014, allocations: 394.6 kB / 1.686 GB, free: 5.387 MB / 1.233 GB Notification: Performance of SimCode: time 5.21e-07/3.014, allocations: 0 / 1.686 GB, free: 5.387 MB / 1.233 GB Notification: Performance of Templates: time 0.6169/3.631, allocations: 215.3 MB / 1.897 GB, free: 436.3 MB / 1.279 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)