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/AixLib 1.3.1-development/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AixLib with version 1.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo) Running command: translateModel(AixLib.Fluid.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo): time 1.656/1.656, allocations: 268.7 MB / 284.5 MB, free: 2.648 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 177.2 kB / 341.4 MB, free: 0.7422 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 0.6065 GB, free: 216 kB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 102.8 kB / 0.7103 GB, free: 5.074 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo): time 0.3152/0.3152, allocations: 11.77 MB / 0.8254 GB, free: 63.85 MB / 0.5887 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004667/0.0004665, allocations: 32.62 kB / 0.9319 GB, free: 14.7 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:16-9:38:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:40-9:62:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:64-9:86:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:88-9:110:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:112-9:134:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:135-9:157:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 91.86 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4476, allocations: 108.3 MB / 1.157 GB, free: 157.7 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1754/0.6231, allocations: 212.4 MB / 1.364 GB, free: 14.98 MB / 0.7918 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.6386, allocations: 10.92 MB / 1.375 GB, free: 4.047 MB / 0.7918 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.6412, allocations: 59.62 kB / 1.375 GB, free: 3.988 MB / 0.7918 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.6436, allocations: 0.7226 MB / 1.375 GB, free: 3.262 MB / 0.7918 GB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.65, allocations: 2.621 MB / 1.378 GB, free: 0.6328 MB / 0.7918 GB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.6544, allocations: 1.675 MB / 1.38 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.009398/0.6638, allocations: 8.783 MB / 1.388 GB, free: 6.168 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.6669, allocations: 2.207 MB / 1.39 GB, free: 3.91 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.6708, allocations: 2.054 MB / 1.392 GB, free: 1.848 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.6744, allocations: 1.883 MB / 1.394 GB, free: 15.96 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003936/0.6748, allocations: 116 kB / 1.394 GB, free: 15.85 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.6799, allocations: 2.681 MB / 1.397 GB, free: 13.16 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007939/0.6807, allocations: 0.6461 MB / 1.398 GB, free: 12.51 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.6824, allocations: 1.244 MB / 1.399 GB, free: 11.26 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.6882, allocations: 4.686 MB / 1.403 GB, free: 6.562 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6882, allocations: 4 kB / 1.403 GB, free: 6.559 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6882, allocations: 0 / 1.403 GB, free: 6.559 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.142e-05/0.6883, allocations: 0 / 1.403 GB, free: 6.559 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.005867/0.6942, allocations: 3.049 MB / 1.406 GB, free: 3.438 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6942, allocations: 8.031 kB / 1.406 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.6971, allocations: 0.5473 MB / 1.407 GB, free: 2.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.7011, allocations: 2.216 MB / 1.409 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.7013, allocations: 123.1 kB / 1.409 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.7015, allocations: 172 kB / 1.409 GB, free: 328 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3487/1.05, allocations: 2.302 MB / 1.412 GB, free: 226.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/1.05, allocations: 6.219 kB / 1.412 GB, free: 226.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/1.051, allocations: 68.09 kB / 1.412 GB, free: 226.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/1.051, allocations: 66.22 kB / 1.412 GB, free: 226.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/1.055, allocations: 2.044 MB / 1.414 GB, free: 226.2 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/1.066, allocations: 8.221 MB / 1.422 GB, free: 221.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/1.069, allocations: 1.386 MB / 1.423 GB, free: 220.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.07, allocations: 0.8682 MB / 1.424 GB, free: 220.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/1.071, allocations: 0.8936 MB / 1.425 GB, free: 219.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.072, allocations: 0.8563 MB / 1.426 GB, free: 219.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=111): time 3.015e-06/1.072, allocations: 0.9375 kB / 1.426 GB, free: 219.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=111): time 0.003923/1.076, allocations: 1.982 MB / 1.428 GB, free: 218.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.076, allocations: 100.6 kB / 1.428 GB, free: 218.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.079, allocations: 1.734 MB / 1.429 GB, free: 218 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.079, allocations: 52.73 kB / 1.429 GB, free: 217.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/1.08, allocations: 0.895 MB / 1.43 GB, free: 217.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/1.08, allocations: 401 kB / 1.431 GB, free: 216.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/1.081, allocations: 254.5 kB / 1.431 GB, free: 216.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/1.081, allocations: 361 kB / 1.431 GB, free: 216.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.082, allocations: 0.6291 MB / 1.432 GB, free: 216.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.083, allocations: 0.8807 MB / 1.433 GB, free: 215.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/1.098, allocations: 3.915 MB / 1.437 GB, free: 214.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.098, allocations: 5.75 kB / 1.437 GB, free: 214.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003518/1.101, allocations: 1.844 MB / 1.438 GB, free: 214 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/1.101, allocations: 34.95 kB / 1.438 GB, free: 214 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.101, allocations: 5.062 kB / 1.438 GB, free: 214 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/1.101, allocations: 11.56 kB / 1.438 GB, free: 214 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.103, allocations: 401.1 kB / 1.439 GB, free: 213.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004914/1.104, allocations: 1.201 MB / 1.44 GB, free: 212.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.106, allocations: 254.3 kB / 1.44 GB, free: 212.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.106, allocations: 54.41 kB / 1.44 GB, free: 212.6 MB / 0.823 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.002538/1.108, allocations: 1.448 MB / 1.442 GB, free: 212.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/1.11, allocations: 0.8779 MB / 1.443 GB, free: 211.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01434/1.124, allocations: 3.896 MB / 1.446 GB, free: 210.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.638e-06/1.124, allocations: 5.094 kB / 1.446 GB, free: 210.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003514/1.128, allocations: 1.841 MB / 1.448 GB, free: 209.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.128, allocations: 35.89 kB / 1.448 GB, free: 209.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.128, allocations: 5.344 kB / 1.448 GB, free: 209.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.128, allocations: 11.31 kB / 1.448 GB, free: 209.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.129, allocations: 364.4 kB / 1.449 GB, free: 209.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/1.129, allocations: 15.7 kB / 1.449 GB, free: 209.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.131, allocations: 225.5 kB / 1.449 GB, free: 209.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.131, allocations: 51.92 kB / 1.449 GB, free: 209.7 MB / 0.823 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.0006197/1.132, allocations: 430.8 kB / 1.449 GB, free: 209.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.132, allocations: 194.7 kB / 1.449 GB, free: 209.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/1.136, allocations: 1.65 MB / 1.451 GB, free: 208.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.136, allocations: 12.69 kB / 1.451 GB, free: 208.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.136, allocations: 0 / 1.451 GB, free: 208.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/1.138, allocations: 1.549 MB / 1.453 GB, free: 208 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00691/1.145, allocations: 3.809 MB / 1.456 GB, free: 206.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.145, allocations: 3.562 kB / 1.456 GB, free: 206.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.146, allocations: 307.8 kB / 1.457 GB, free: 206.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/1.146, allocations: 12.33 kB / 1.457 GB, free: 206.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/1.146, allocations: 33.17 kB / 1.457 GB, free: 206.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004146/1.147, allocations: 1.188 MB / 1.458 GB, free: 204.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.147, allocations: 5 kB / 1.458 GB, free: 204.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02827/1.175, allocations: 13.45 MB / 1.471 GB, free: 196.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.176, allocations: 455.7 kB / 1.471 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/1.177, allocations: 32.97 kB / 1.471 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.178, allocations: 174.8 kB / 1.472 GB, free: 195.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.178, allocations: 92.83 kB / 1.472 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.179, allocations: 51.97 kB / 1.472 GB, free: 195.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001659/1.18, allocations: 1.216 MB / 1.473 GB, free: 194.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.18, allocations: 0 / 1.473 GB, free: 194.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005287/1.186, allocations: 1.752 MB / 1.475 GB, free: 192.7 MB / 0.823 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.0008577/1.186, allocations: 399 kB / 1.475 GB, free: 192.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004294/1.191, allocations: 2.51 MB / 1.477 GB, free: 189.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.191, allocations: 4.438 kB / 1.477 GB, free: 189.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.192, allocations: 0.7509 MB / 1.478 GB, free: 189.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/1.197, allocations: 1.179 MB / 1.479 GB, free: 188.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/1.204, allocations: 6.155 MB / 1.485 GB, free: 182 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.206, allocations: 1.893 MB / 1.487 GB, free: 180 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002778/1.209, allocations: 0.9157 MB / 1.488 GB, free: 179.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/1.209, allocations: 155.4 kB / 1.488 GB, free: 179 MB / 0.823 GB Notification: Performance of SimCode: time 8.22e-07/1.209, allocations: 3.938 kB / 1.488 GB, free: 179 MB / 0.823 GB Notification: Performance of Templates: time 0.05499/1.264, allocations: 45.17 MB / 1.532 GB, free: 134.4 MB / 0.823 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)