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: "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004959/0.004959, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001127/0.001127, allocations: 201 kB / 16.68 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1534/0.1534, allocations: 12.02 MB / 302.6 MB, free: 0.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005041/0.0005041, allocations: 31.88 kB / 355.7 MB, free: 3.699 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.728/1.728, allocations: 272.2 MB / 0.665 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 107.8 kB / 0.8923 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1923, allocations: 109.2 MB / 0.9989 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5924/0.7848, allocations: 214.8 MB / 1.209 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.7998, allocations: 10.83 MB / 1.219 GB, free: 10.25 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.8019, allocations: 75.56 kB / 1.219 GB, free: 10.17 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.8043, allocations: 0.8813 MB / 1.22 GB, free: 9.285 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.8115, allocations: 2.926 MB / 1.223 GB, free: 6.352 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.816, allocations: 1.873 MB / 1.225 GB, free: 4.492 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.007692/0.8237, allocations: 6.625 MB / 1.231 GB, free: 13.85 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.8273, allocations: 2.697 MB / 1.234 GB, free: 11.11 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005259/0.8326, allocations: 2.535 MB / 1.236 GB, free: 8.574 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.8361, allocations: 1.912 MB / 1.238 GB, free: 6.66 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.8369, allocations: 252 kB / 1.239 GB, free: 6.414 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.8424, allocations: 2.565 MB / 1.241 GB, free: 3.844 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.8435, allocations: 0.7868 MB / 1.242 GB, free: 3.055 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.8461, allocations: 1.408 MB / 1.243 GB, free: 1.641 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.8534, allocations: 4.757 MB / 1.248 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8534, allocations: 0 / 1.248 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8534, allocations: 0 / 1.248 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001071/0.8536, allocations: 0 / 1.248 GB, free: 12.87 MB / 0.9044 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.006981/0.8605, allocations: 3.143 MB / 1.251 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8606, allocations: 8.031 kB / 1.251 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004763/0.8611, allocations: 244.1 kB / 1.251 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.8644, allocations: 0.5605 MB / 1.252 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.8686, allocations: 2.235 MB / 1.254 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.8688, allocations: 123.1 kB / 1.254 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.8691, allocations: 168 kB / 1.254 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.8734, allocations: 2.31 MB / 1.256 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.8735, allocations: 4 kB / 1.256 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.8737, allocations: 68 kB / 1.256 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/0.8738, allocations: 67.08 kB / 1.257 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.8775, allocations: 2.046 MB / 1.258 GB, free: 1.715 MB / 0.9044 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.01185/0.8894, allocations: 8.304 MB / 1.267 GB, free: 8.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.8918, allocations: 1.391 MB / 1.268 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.8933, allocations: 0.8753 MB / 1.269 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/0.8943, allocations: 0.8867 MB / 1.27 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.8958, allocations: 0.8596 MB / 1.271 GB, free: 4.695 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 4.038e-06/0.8959, allocations: 0 / 1.271 GB, free: 4.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004183/0.9, allocations: 2.006 MB / 1.272 GB, free: 2.691 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.9001, allocations: 90.11 kB / 1.273 GB, free: 2.582 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.9029, allocations: 1.778 MB / 1.274 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.9031, allocations: 57.69 kB / 1.274 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/0.9039, allocations: 0.9103 MB / 1.275 GB, free: 15.82 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.9044, allocations: 416.5 kB / 1.276 GB, free: 15.41 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.9048, allocations: 254.8 kB / 1.276 GB, free: 15.15 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.905, allocations: 357.9 kB / 1.276 GB, free: 14.8 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.9062, allocations: 0.6265 MB / 1.277 GB, free: 14.17 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.9075, allocations: 0.8743 MB / 1.278 GB, free: 13.2 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/0.9228, allocations: 3.924 MB / 1.282 GB, free: 9.191 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9229, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003787/0.9266, allocations: 1.86 MB / 1.283 GB, free: 7.316 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.9267, allocations: 37.8 kB / 1.283 GB, free: 7.273 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.9268, allocations: 11.73 kB / 1.283 GB, free: 7.266 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.9268, allocations: 12 kB / 1.283 GB, free: 7.254 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.9286, allocations: 388.8 kB / 1.284 GB, free: 6.875 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007141/0.9293, allocations: 1.195 MB / 1.285 GB, free: 5.633 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.9312, allocations: 195 kB / 1.285 GB, free: 5.441 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.9314, allocations: 48 kB / 1.285 GB, free: 5.395 MB / 0.9357 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 = 1e5 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(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 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]) + (2.5010145e6 + 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 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) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 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.002673/0.934, allocations: 1.464 MB / 1.287 GB, free: 3.93 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001409/0.9355, allocations: 0.8739 MB / 1.287 GB, free: 2.969 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01454/0.95, allocations: 3.884 MB / 1.291 GB, free: 14.99 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/0.9501, allocations: 4 kB / 1.291 GB, free: 14.99 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003511/0.9536, allocations: 1.845 MB / 1.293 GB, free: 13.13 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.9536, allocations: 41.77 kB / 1.293 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9536, allocations: 8 kB / 1.293 GB, free: 13.07 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9537, allocations: 8 kB / 1.293 GB, free: 13.07 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.9551, allocations: 363.5 kB / 1.293 GB, free: 12.71 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.9552, allocations: 12 kB / 1.293 GB, free: 12.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.9569, allocations: 171.2 kB / 1.294 GB, free: 12.53 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.957, allocations: 51.98 kB / 1.294 GB, free: 12.48 MB / 0.9513 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 = 1e5 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(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 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]) + (2.5010145e6 + 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 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) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 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.0005678/0.9576, allocations: 447.5 kB / 1.294 GB, free: 12.04 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.958, allocations: 194.8 kB / 1.294 GB, free: 11.85 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.9611, allocations: 1.652 MB / 1.296 GB, free: 10.19 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.9611, allocations: 12 kB / 1.296 GB, free: 10.18 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9611, allocations: 3.938 kB / 1.296 GB, free: 10.17 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002369/0.9635, allocations: 1.549 MB / 1.297 GB, free: 8.551 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.9702, allocations: 3.853 MB / 1.301 GB, free: 4.602 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.9702, allocations: 7.984 kB / 1.301 GB, free: 4.594 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.9717, allocations: 307.9 kB / 1.302 GB, free: 4.293 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.9717, allocations: 8 kB / 1.302 GB, free: 4.285 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.9718, allocations: 31.98 kB / 1.302 GB, free: 4.254 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005506/0.9724, allocations: 1.188 MB / 1.303 GB, free: 3.02 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9724, allocations: 12.12 kB / 1.303 GB, free: 3.008 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.9765, allocations: 2.529 MB / 1.305 GB, free: 436 kB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.9775, allocations: 467.4 kB / 1.306 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/0.9778, allocations: 36 kB / 1.306 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.9793, allocations: 99.86 kB / 1.306 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.9795, allocations: 84.92 kB / 1.306 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.9796, allocations: 55.91 kB / 1.306 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00179/0.9814, allocations: 1.255 MB / 1.307 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9814, allocations: 0 / 1.307 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00257/0.984, allocations: 1.135 MB / 1.308 GB, free: 13.3 MB / 0.9669 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.005043/0.989, allocations: 3.371 MB / 1.312 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004766/0.9938, allocations: 2.509 MB / 1.314 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.9938, allocations: 1.75 kB / 1.314 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.9953, allocations: 0.7632 MB / 1.315 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/1.001, allocations: 1.193 MB / 1.316 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.026, allocations: 16.32 MB / 1.332 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.027, allocations: 1.848 MB / 1.334 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00252/1.03, allocations: 0.8816 MB / 1.334 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.031, allocations: 0.7883 MB / 1.335 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/1.031, allocations: 0 / 1.335 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09322/1.124, allocations: 59.72 MB / 1.394 GB, free: 6.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.43, allocations: 15.92 kB / 1.394 GB, free: 6.102 MB / 1.045 GB (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 & python3 -m fmpy simulate --output-file AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)