Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.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/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.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 194.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1724/0.1724, allocations: 12 MB / 302 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004481/0.0004481, allocations: 23.95 kB / 355 MB, free: 4.039 MB / 286.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.876/1.876, allocations: 272.2 MB / 0.6644 GB, free: 13.16 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 110.5 kB / 0.7841 GB, free: 31.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2003, allocations: 109.1 MB / 0.8907 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.6205/0.8209, allocations: 212.4 MB / 1.098 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.8362, allocations: 10.92 MB / 1.109 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.8393, allocations: 68.81 kB / 1.109 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.8416, allocations: 0.7207 MB / 1.11 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.8491, allocations: 2.628 MB / 1.112 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004807/0.854, allocations: 1.679 MB / 1.114 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009081/0.8631, allocations: 8.745 MB / 1.122 GB, free: 15.32 MB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.8661, allocations: 2.213 MB / 1.124 GB, free: 14.11 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.8703, allocations: 2.019 MB / 1.126 GB, free: 13.12 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.8739, allocations: 1.903 MB / 1.128 GB, free: 12.18 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.8742, allocations: 117.8 kB / 1.128 GB, free: 12.18 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.8798, allocations: 2.684 MB / 1.131 GB, free: 10.92 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.0007829/0.8806, allocations: 0.6403 MB / 1.132 GB, free: 10.49 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.8824, allocations: 1.248 MB / 1.133 GB, free: 9.734 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.8895, allocations: 4.681 MB / 1.137 GB, free: 6.926 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8895, allocations: 10.17 kB / 1.137 GB, free: 6.918 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8895, allocations: 0 / 1.137 GB, free: 6.918 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 7.138e-05/0.8896, allocations: 0 / 1.137 GB, free: 6.918 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.00626/0.8959, allocations: 3.048 MB / 1.14 GB, free: 4.793 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.8959, allocations: 14.38 kB / 1.14 GB, free: 4.789 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.8992, allocations: 0.548 MB / 1.141 GB, free: 4.535 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.9029, allocations: 2.205 MB / 1.143 GB, free: 3.043 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.903, allocations: 124.9 kB / 1.143 GB, free: 2.988 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.9033, allocations: 165.7 kB / 1.143 GB, free: 2.934 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.907, allocations: 2.308 MB / 1.146 GB, free: 1.59 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.907, allocations: 2.688 kB / 1.146 GB, free: 1.59 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.9072, allocations: 70.69 kB / 1.146 GB, free: 1.535 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.9073, allocations: 65.05 kB / 1.146 GB, free: 1.527 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.9107, allocations: 2.04 MB / 1.148 GB, free: 0.5117 MB / 0.7482 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.01242/0.9231, allocations: 8.233 MB / 1.156 GB, free: 8.879 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.9257, allocations: 1.395 MB / 1.157 GB, free: 7.461 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.9272, allocations: 0.8742 MB / 1.158 GB, free: 6.582 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.9282, allocations: 0.8891 MB / 1.159 GB, free: 5.516 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.9298, allocations: 0.8596 MB / 1.16 GB, free: 4.645 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 2.796e-06/0.9298, allocations: 0 / 1.16 GB, free: 4.645 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.004165/0.9339, allocations: 1.997 MB / 1.162 GB, free: 2.641 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.934, allocations: 94.11 kB / 1.162 GB, free: 2.531 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.9364, allocations: 1.731 MB / 1.163 GB, free: 0.8008 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.9365, allocations: 49.7 kB / 1.163 GB, free: 0.7461 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008835/0.9374, allocations: 0.8929 MB / 1.164 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.9378, allocations: 393.9 kB / 1.165 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.9382, allocations: 254.1 kB / 1.165 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9384, allocations: 357.9 kB / 1.165 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.9395, allocations: 0.6227 MB / 1.166 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.941, allocations: 0.8855 MB / 1.167 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/0.9561, allocations: 3.922 MB / 1.171 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9562, allocations: 4 kB / 1.171 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003533/0.9597, allocations: 1.843 MB / 1.172 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.9598, allocations: 33.7 kB / 1.172 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9598, allocations: 4 kB / 1.172 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9598, allocations: 15.94 kB / 1.172 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.9616, allocations: 396.6 kB / 1.173 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007246/0.9624, allocations: 1.196 MB / 1.174 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.9644, allocations: 266.7 kB / 1.174 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.9646, allocations: 51.94 kB / 1.174 GB, free: 5.379 MB / 0.7794 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002482/0.967, allocations: 1.445 MB / 1.176 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/0.9684, allocations: 0.8738 MB / 1.177 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01474/0.9832, allocations: 3.894 MB / 1.18 GB, free: 14.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.651e-06/0.9832, allocations: 4 kB / 1.18 GB, free: 14.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003448/0.9867, allocations: 1.835 MB / 1.182 GB, free: 13.13 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.9867, allocations: 37.7 kB / 1.182 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.9867, allocations: 4 kB / 1.182 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.9868, allocations: 12.44 kB / 1.182 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.9882, allocations: 363.5 kB / 1.183 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.9883, allocations: 19.88 kB / 1.183 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.9902, allocations: 231.8 kB / 1.183 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.9903, allocations: 51.92 kB / 1.183 GB, free: 12.42 MB / 0.795 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000575/0.9909, allocations: 436 kB / 1.183 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.9914, allocations: 189.7 kB / 1.183 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.9945, allocations: 1.641 MB / 1.185 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9946, allocations: 19.92 kB / 1.185 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9946, allocations: 0 / 1.185 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002425/0.997, allocations: 1.545 MB / 1.187 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006714/1.004, allocations: 3.812 MB / 1.19 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.004, allocations: 4 kB / 1.19 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.005, allocations: 308 kB / 1.191 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/1.005, allocations: 11.98 kB / 1.191 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/1.005, allocations: 35.98 kB / 1.191 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/1.006, allocations: 1.184 MB / 1.192 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.006, allocations: 7.938 kB / 1.192 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/1.01, allocations: 2.514 MB / 1.194 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009817/1.011, allocations: 454.4 kB / 1.195 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/1.012, allocations: 35.98 kB / 1.195 GB, free: 15.99 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.013, allocations: 171.5 kB / 1.195 GB, free: 15.82 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/1.013, allocations: 92.86 kB / 1.195 GB, free: 15.73 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.014, allocations: 51.97 kB / 1.195 GB, free: 15.68 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.002035/1.016, allocations: 1.219 MB / 1.196 GB, free: 14.47 MB / 0.8107 GB Notification: Performance of sort global known variables: time 4e-07/1.016, allocations: 0 / 1.196 GB, free: 14.47 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.003265/1.019, allocations: 1.107 MB / 1.197 GB, free: 13.36 MB / 0.8107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (dynamicHX.vol1[1].dynBal.U,dynamicHX.vol1[2].dynBal.U,dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[1].dynBal.mXi[1],dynamicHX.vol2[2].dynBal.U,dynamicHX.vol2[2].dynBal.mXi[1],dynamicHX.heatCapacitor[1].T,dynamicHX.heatCapacitor[2].T,THeaOut1.T,THeaOut2.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.000915/1.02, allocations: 410.4 kB / 1.198 GB, free: 12.98 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.005228/1.025, allocations: 2.5 MB / 1.2 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.025, allocations: 448 / 1.2 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.027, allocations: 0.7561 MB / 1.201 GB, free: 9.695 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/1.033, allocations: 1.167 MB / 1.202 GB, free: 8.547 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/1.041, allocations: 5.379 MB / 1.207 GB, free: 3.109 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.043, allocations: 1.849 MB / 1.209 GB, free: 1.227 MB / 0.8107 GB Notification: Performance of simCode: alias equations: time 0.002999/1.046, allocations: 0.8972 MB / 1.21 GB, free: 332 kB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/1.046, allocations: 143.4 kB / 1.21 GB, free: 192 kB / 0.8107 GB Notification: Performance of SimCode: time 1.052e-06/1.046, allocations: 0 / 1.21 GB, free: 192 kB / 0.8107 GB Notification: Performance of Templates: time 0.06276/1.109, allocations: 40.78 MB / 1.25 GB, free: 7.949 MB / 0.8575 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)