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.3.2-development/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.000924/0.000924, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00104/0.00104, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1747/0.1747, allocations: 12.01 MB / 303 MB, free: 1.648 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003753/0.0003754, allocations: 15.97 kB / 357.1 MB, free: 3.168 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-development/package.mo): time 1.772/1.772, allocations: 268.6 MB / 0.6638 GB, free: 1.719 MB / 462.1 MB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005397/0.0005397, allocations: 21.91 kB / 0.7845 GB, free: 32.37 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1998, allocations: 110.5 MB / 0.8924 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.6124/0.8122, allocations: 178.6 MB / 1.067 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.8268, allocations: 10.02 MB / 1.077 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.8286, allocations: 61.41 kB / 1.077 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8307, allocations: 0.8236 MB / 1.077 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006725/0.8374, allocations: 2.527 MB / 1.08 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.842, allocations: 1.805 MB / 1.082 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005488/0.8475, allocations: 3.682 MB / 1.085 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.85, allocations: 1.831 MB / 1.087 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.8537, allocations: 1.746 MB / 1.089 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.8559, allocations: 1.177 MB / 1.09 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.8562, allocations: 89.75 kB / 1.09 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.8599, allocations: 1.237 MB / 1.091 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.8604, allocations: 0.5473 MB / 1.092 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009753/0.8614, allocations: 0.5111 MB / 1.092 GB, free: 22.08 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.8643, allocations: 3.288 MB / 1.095 GB, free: 21.86 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.8643, allocations: 0 / 1.095 GB, free: 21.86 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8643, allocations: 0 / 1.095 GB, free: 21.86 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 3.215e-05/0.8643, allocations: 1.859 kB / 1.095 GB, free: 21.86 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.00432/0.8687, allocations: 2.556 MB / 1.098 GB, free: 20.6 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.8687, allocations: 9.625 kB / 1.098 GB, free: 20.6 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.8716, allocations: 0.5508 MB / 1.099 GB, free: 20.47 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.875, allocations: 2.014 MB / 1.1 GB, free: 20.05 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/0.8751, allocations: 121.4 kB / 1.101 GB, free: 20.05 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.8753, allocations: 169 kB / 1.101 GB, free: 20.05 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.8789, allocations: 2.309 MB / 1.103 GB, free: 19.43 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.879, allocations: 9.391 kB / 1.103 GB, free: 19.43 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.8791, allocations: 67.69 kB / 1.103 GB, free: 19.43 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.8792, allocations: 68.7 kB / 1.103 GB, free: 19.42 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.8823, allocations: 2.077 MB / 1.105 GB, free: 19.01 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.009808/0.8921, allocations: 8.325 MB / 1.113 GB, free: 14.39 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.8941, allocations: 1.422 MB / 1.115 GB, free: 14.05 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.8948, allocations: 0.7193 MB / 1.115 GB, free: 13.27 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.8961, allocations: 0.8709 MB / 1.116 GB, free: 12.99 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=111): time 2.946e-06/0.8961, allocations: 9.719 kB / 1.116 GB, free: 12.98 MB / 0.7482 GB Notification: Performance of matching and sorting (n=111): time 0.003485/0.8996, allocations: 2.056 MB / 1.118 GB, free: 12.53 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.8997, allocations: 91.17 kB / 1.118 GB, free: 12.43 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.9016, allocations: 1.803 MB / 1.12 GB, free: 11.95 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.9017, allocations: 48.3 kB / 1.12 GB, free: 11.92 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.9022, allocations: 0.8999 MB / 1.121 GB, free: 11.52 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.9026, allocations: 405.9 kB / 1.121 GB, free: 11.23 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.9026, allocations: 23.47 kB / 1.121 GB, free: 11.23 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9028, allocations: 361.4 kB / 1.122 GB, free: 10.91 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.9038, allocations: 0.6331 MB / 1.122 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.9049, allocations: 0.8883 MB / 1.123 GB, free: 10.4 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.9061, allocations: 0.8273 MB / 1.124 GB, free: 10.23 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9061, allocations: 1.656 kB / 1.124 GB, free: 10.23 MB / 0.7482 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002773/0.9089, allocations: 1.876 MB / 1.126 GB, free: 9.793 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007122/0.9096, allocations: 2.032 MB / 1.128 GB, free: 7.652 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9096, allocations: 7.578 kB / 1.128 GB, free: 7.652 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.9097, allocations: 10.97 kB / 1.128 GB, free: 7.652 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.9114, allocations: 398.6 kB / 1.128 GB, free: 7.582 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006591/0.912, allocations: 1.195 MB / 1.129 GB, free: 6.402 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.9138, allocations: 281.1 kB / 1.13 GB, free: 6.262 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.914, allocations: 51.44 kB / 1.13 GB, free: 6.258 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.914, allocations: 6.75 kB / 1.13 GB, free: 6.258 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002528/0.9165, allocations: 1.696 MB / 1.131 GB, free: 5.945 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9165, allocations: 2.812 kB / 1.131 GB, free: 5.945 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.9165, allocations: 16.31 kB / 1.131 GB, free: 5.945 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.9179, allocations: 369.2 kB / 1.132 GB, free: 5.883 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.9179, allocations: 13.53 kB / 1.132 GB, free: 5.883 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9195, allocations: 268.9 kB / 1.132 GB, free: 5.758 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.9196, allocations: 52.05 kB / 1.132 GB, free: 5.754 MB / 0.7482 GB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * dynamicHX.vol1[2].dynBal.rho_start * 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.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001325/0.921, allocations: 0.9905 MB / 1.133 GB, free: 5.348 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.9212, allocations: 190.8 kB / 1.133 GB, free: 5.25 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.9239, allocations: 1.692 MB / 1.135 GB, free: 4.852 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.9239, allocations: 10.78 kB / 1.135 GB, free: 4.852 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.9239, allocations: 6.438 kB / 1.135 GB, free: 4.848 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.9261, allocations: 1.583 MB / 1.137 GB, free: 4.262 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006108/0.9322, allocations: 3.874 MB / 1.14 GB, free: 2.984 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.9323, allocations: 7.25 kB / 1.14 GB, free: 2.98 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.9339, allocations: 321.5 kB / 1.141 GB, free: 2.918 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.9339, allocations: 5.375 kB / 1.141 GB, free: 2.918 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.934, allocations: 38.14 kB / 1.141 GB, free: 2.914 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.9345, allocations: 1.19 MB / 1.142 GB, free: 1.73 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9345, allocations: 3.281 kB / 1.142 GB, free: 1.73 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.9384, allocations: 2.77 MB / 1.145 GB, free: 272 kB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9395, allocations: 483 kB / 1.145 GB, free: 15.86 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.9397, allocations: 37.5 kB / 1.145 GB, free: 15.85 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.9412, allocations: 186.7 kB / 1.145 GB, free: 15.68 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.9414, allocations: 88.28 kB / 1.145 GB, free: 15.61 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.9415, allocations: 51.84 kB / 1.145 GB, free: 15.57 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.001696/0.9432, allocations: 1.27 MB / 1.147 GB, free: 14.65 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9432, allocations: 0 / 1.147 GB, free: 14.65 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.002508/0.9457, allocations: 1.117 MB / 1.148 GB, free: 13.6 MB / 0.7638 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007721/0.9465, allocations: 397.2 kB / 1.148 GB, free: 13.26 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.004451/0.951, allocations: 2.557 MB / 1.151 GB, free: 11.37 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.951, allocations: 4.562 kB / 1.151 GB, free: 11.37 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.9524, allocations: 0.7802 MB / 1.151 GB, free: 10.82 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/0.9575, allocations: 1.153 MB / 1.152 GB, free: 9.852 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.9649, allocations: 5.401 MB / 1.158 GB, free: 4.914 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.9663, allocations: 1.895 MB / 1.16 GB, free: 3.16 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002599/0.9689, allocations: 0.8894 MB / 1.16 GB, free: 2.266 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.9693, allocations: 151.3 kB / 1.161 GB, free: 2.125 MB / 0.7638 GB Notification: Performance of SimCode: time 5.41e-07/0.9693, allocations: 1.859 kB / 1.161 GB, free: 2.125 MB / 0.7638 GB Notification: Performance of Templates: time 0.05989/1.029, allocations: 40.1 MB / 1.2 GB, free: 10.67 MB / 0.8107 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)