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-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.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.001015/0.001015, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001059/0.001059, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.05623/0.05623, allocations: 12.03 MB / 302.8 MB, free: 3.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005502/0.0005499, allocations: 23.95 kB / 355.8 MB, free: 14.05 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.972/1.972, allocations: 272.3 MB / 0.6652 GB, free: 18.42 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 107.4 kB / 0.7851 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2032, allocations: 109.2 MB / 0.8917 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5448/0.7481, allocations: 212.1 MB / 1.099 GB, free: 9.977 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.7647, allocations: 10.75 MB / 1.109 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.7674, allocations: 67.56 kB / 1.109 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.7701, allocations: 0.7539 MB / 1.11 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.7776, allocations: 2.617 MB / 1.113 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.7823, allocations: 1.711 MB / 1.114 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008832/0.7912, allocations: 6.636 MB / 1.121 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/0.7952, allocations: 2.647 MB / 1.123 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005983/0.8012, allocations: 2.503 MB / 1.126 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/0.8052, allocations: 2.007 MB / 1.128 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007176/0.806, allocations: 248 kB / 1.128 GB, free: 12.1 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.8115, allocations: 2.635 MB / 1.131 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.8128, allocations: 0.7829 MB / 1.131 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.8149, allocations: 1.42 MB / 1.133 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004696/0.8196, allocations: 3.692 MB / 1.136 GB, free: 3.547 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8197, allocations: 0 / 1.136 GB, free: 3.547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8197, allocations: 0 / 1.136 GB, free: 3.547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.199e-05/0.8197, allocations: 0 / 1.136 GB, free: 3.547 MB / 0.795 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.006196/0.8259, allocations: 3.053 MB / 1.139 GB, free: 432 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.826, allocations: 12.03 kB / 1.139 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.8292, allocations: 0.5473 MB / 1.14 GB, free: 15.86 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.8331, allocations: 2.197 MB / 1.142 GB, free: 13.61 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8333, allocations: 127.1 kB / 1.142 GB, free: 13.48 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.8336, allocations: 171.9 kB / 1.142 GB, free: 13.32 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.8376, allocations: 2.31 MB / 1.145 GB, free: 10.96 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.8377, allocations: 4 kB / 1.145 GB, free: 10.95 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.8379, allocations: 68 kB / 1.145 GB, free: 10.89 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/0.838, allocations: 67.02 kB / 1.145 GB, free: 10.82 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.8416, allocations: 2.046 MB / 1.147 GB, free: 8.77 MB / 0.8107 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.01149/0.8531, allocations: 8.224 MB / 1.155 GB, free: 76 kB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.8555, allocations: 1.389 MB / 1.156 GB, free: 14.66 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.857, allocations: 0.8625 MB / 1.157 GB, free: 13.8 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009832/0.858, allocations: 0.8878 MB / 1.158 GB, free: 12.73 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.8595, allocations: 0.8596 MB / 1.159 GB, free: 11.86 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=111): time 4.488e-06/0.8595, allocations: 4 kB / 1.159 GB, free: 11.85 MB / 0.8263 GB Notification: Performance of matching and sorting (n=111): time 0.004201/0.8638, allocations: 1.993 MB / 1.161 GB, free: 9.855 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.8639, allocations: 94.11 kB / 1.161 GB, free: 9.746 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.8664, allocations: 1.735 MB / 1.162 GB, free: 8.012 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.8666, allocations: 49.7 kB / 1.162 GB, free: 7.957 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/0.8674, allocations: 0.8929 MB / 1.163 GB, free: 7.051 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.8679, allocations: 398.3 kB / 1.164 GB, free: 6.656 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.8683, allocations: 249.1 kB / 1.164 GB, free: 6.406 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8684, allocations: 357.9 kB / 1.164 GB, free: 6.051 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.8695, allocations: 0.6266 MB / 1.165 GB, free: 5.422 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.8709, allocations: 0.8816 MB / 1.166 GB, free: 4.449 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.8861, allocations: 3.945 MB / 1.17 GB, free: 432 kB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.8861, allocations: 4 kB / 1.17 GB, free: 428 kB / 0.8263 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0036/0.8897, allocations: 1.847 MB / 1.171 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.8898, allocations: 35.58 kB / 1.171 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.8898, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.8899, allocations: 15.94 kB / 1.171 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.8917, allocations: 393.2 kB / 1.172 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007119/0.8924, allocations: 1.195 MB / 1.173 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.8946, allocations: 250.5 kB / 1.173 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.8948, allocations: 55.98 kB / 1.173 GB, free: 12.57 MB / 0.8419 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.002542/0.8974, allocations: 1.432 MB / 1.175 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.8987, allocations: 0.8821 MB / 1.175 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01459/0.9133, allocations: 3.908 MB / 1.179 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.365e-06/0.9134, allocations: 0 / 1.179 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.00384/0.9172, allocations: 1.845 MB / 1.181 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.9173, allocations: 33.7 kB / 1.181 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9173, allocations: 4 kB / 1.181 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9173, allocations: 12 kB / 1.181 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.9189, allocations: 370.5 kB / 1.182 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/0.9189, allocations: 19.92 kB / 1.182 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.9211, allocations: 226.9 kB / 1.182 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.9213, allocations: 55.92 kB / 1.182 GB, free: 3.613 MB / 0.8419 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.0006869/0.922, allocations: 416.5 kB / 1.182 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/0.9226, allocations: 189.8 kB / 1.182 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/0.9259, allocations: 1.655 MB / 1.184 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.9259, allocations: 8 kB / 1.184 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9259, allocations: 0 / 1.184 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/0.9283, allocations: 1.553 MB / 1.186 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.9348, allocations: 3.808 MB / 1.189 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9349, allocations: 4 kB / 1.189 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.9363, allocations: 308.2 kB / 1.19 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.9364, allocations: 8 kB / 1.19 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/0.9365, allocations: 33.86 kB / 1.19 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/0.9371, allocations: 1.188 MB / 1.191 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9371, allocations: 8.188 kB / 1.191 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.9412, allocations: 2.518 MB / 1.193 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.9422, allocations: 454.4 kB / 1.194 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.9425, allocations: 35.92 kB / 1.194 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.944, allocations: 173.7 kB / 1.194 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.9442, allocations: 84.83 kB / 1.194 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.9443, allocations: 47.97 kB / 1.194 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00174/0.9461, allocations: 1.223 MB / 1.195 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9461, allocations: 0 / 1.195 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002737/0.9488, allocations: 1.103 MB / 1.196 GB, free: 4.559 MB / 0.8575 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.0009213/0.9498, allocations: 402.4 kB / 1.197 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006366/0.9561, allocations: 3.162 MB / 1.2 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.9562, allocations: 12.34 kB / 1.2 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.9577, allocations: 0.7393 MB / 1.2 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/0.9635, allocations: 1.202 MB / 1.202 GB, free: 15.18 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/0.9721, allocations: 5.388 MB / 1.207 GB, free: 9.73 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.9735, allocations: 1.813 MB / 1.209 GB, free: 7.887 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.9742, allocations: 159.4 kB / 1.209 GB, free: 7.734 MB / 0.8732 GB Notification: Performance of SimCode: time 1.382e-06/0.9742, allocations: 0 / 1.209 GB, free: 7.734 MB / 0.8732 GB Notification: Performance of Templates: time 0.07163/1.046, allocations: 59.41 MB / 1.267 GB, free: 12.57 MB / 0.9357 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)