Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_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.00454/0.00454, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.001093/0.001093, allocations: 197.8 kB / 16.68 MB, free: 6.375 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.1501/0.1501, allocations: 12.02 MB / 302.6 MB, free: 0.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005221/0.0005221, allocations: 31.89 kB / 355.7 MB, free: 3.668 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/package.mo): time 1.702/1.702, allocations: 268.1 MB / 0.661 GB, free: 0.625 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 112 kB / 0.8868 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1803, allocations: 108.4 MB / 0.9926 GB, free: 4.281 MB / 0.7013 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.6273/0.8076, allocations: 214.8 MB / 1.202 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.8234, allocations: 10.82 MB / 1.213 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.8256, allocations: 67.62 kB / 1.213 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.8279, allocations: 0.889 MB / 1.214 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006813/0.8348, allocations: 2.928 MB / 1.217 GB, free: 15.12 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.8392, allocations: 1.872 MB / 1.218 GB, free: 13.27 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.007728/0.847, allocations: 6.631 MB / 1.225 GB, free: 6.621 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.8502, allocations: 2.694 MB / 1.228 GB, free: 3.879 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.8553, allocations: 2.534 MB / 1.23 GB, free: 1.344 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.8583, allocations: 1.922 MB / 1.232 GB, free: 15.42 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0005396/0.8588, allocations: 252 kB / 1.232 GB, free: 15.18 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.8638, allocations: 2.557 MB / 1.235 GB, free: 12.61 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0009665/0.8648, allocations: 0.7868 MB / 1.235 GB, free: 11.82 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.8667, allocations: 1.412 MB / 1.237 GB, free: 10.41 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.8733, allocations: 4.754 MB / 1.241 GB, free: 5.637 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8733, allocations: 0 / 1.241 GB, free: 5.637 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8734, allocations: 0 / 1.241 GB, free: 5.637 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 7.43e-05/0.8734, allocations: 4 kB / 1.241 GB, free: 5.633 MB / 0.8888 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.006626/0.8801, allocations: 3.135 MB / 1.245 GB, free: 2.422 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.8801, allocations: 12.03 kB / 1.245 GB, free: 2.41 MB / 0.8888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004089/0.8805, allocations: 240.1 kB / 1.245 GB, free: 2.164 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.884, allocations: 0.5644 MB / 1.245 GB, free: 1.598 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/0.8888, allocations: 2.233 MB / 1.248 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.8889, allocations: 119.1 kB / 1.248 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.8894, allocations: 167.9 kB / 1.248 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.8939, allocations: 2.314 MB / 1.25 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.894, allocations: 4 kB / 1.25 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.8942, allocations: 64 kB / 1.25 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.8942, allocations: 71.08 kB / 1.25 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.8985, allocations: 2.042 MB / 1.252 GB, free: 10.48 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.0124/0.9109, allocations: 8.304 MB / 1.26 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.9133, allocations: 1.39 MB / 1.262 GB, free: 292 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.9148, allocations: 0.8675 MB / 1.262 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009806/0.9158, allocations: 0.8867 MB / 1.263 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.9174, allocations: 0.8596 MB / 1.264 GB, free: 13.47 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 2.955e-06/0.9174, allocations: 0 / 1.264 GB, free: 13.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004213/0.9217, allocations: 2.01 MB / 1.266 GB, free: 11.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.9217, allocations: 90.11 kB / 1.266 GB, free: 11.35 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.9241, allocations: 1.781 MB / 1.268 GB, free: 9.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.9243, allocations: 57.67 kB / 1.268 GB, free: 9.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008019/0.9251, allocations: 0.9101 MB / 1.269 GB, free: 8.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.9255, allocations: 416.5 kB / 1.269 GB, free: 8.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.9259, allocations: 254.8 kB / 1.27 GB, free: 7.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9261, allocations: 353.9 kB / 1.27 GB, free: 7.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.9273, allocations: 0.6305 MB / 1.271 GB, free: 6.938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.9286, allocations: 0.8821 MB / 1.271 GB, free: 5.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/0.9436, allocations: 3.917 MB / 1.275 GB, free: 1.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9437, allocations: 0 / 1.275 GB, free: 1.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003623/0.9473, allocations: 1.852 MB / 1.277 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.9474, allocations: 39.56 kB / 1.277 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.9474, allocations: 11.94 kB / 1.277 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.9474, allocations: 8 kB / 1.277 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.9493, allocations: 393.5 kB / 1.277 GB, free: 15.65 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006979/0.95, allocations: 1.195 MB / 1.279 GB, free: 14.41 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.9517, allocations: 203 kB / 1.279 GB, free: 14.21 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.9518, allocations: 47.98 kB / 1.279 GB, free: 14.16 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.002409/0.9542, allocations: 1.463 MB / 1.28 GB, free: 12.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001357/0.9556, allocations: 0.8777 MB / 1.281 GB, free: 11.73 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01432/0.97, allocations: 3.884 MB / 1.285 GB, free: 7.758 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.48e-06/0.97, allocations: 0 / 1.285 GB, free: 7.758 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003568/0.9736, allocations: 1.844 MB / 1.287 GB, free: 5.898 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.9736, allocations: 37.7 kB / 1.287 GB, free: 5.855 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9736, allocations: 7.984 kB / 1.287 GB, free: 5.848 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9737, allocations: 12 kB / 1.287 GB, free: 5.836 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.9752, allocations: 363.9 kB / 1.287 GB, free: 5.48 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.9752, allocations: 15.94 kB / 1.287 GB, free: 5.465 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.9769, allocations: 176.7 kB / 1.287 GB, free: 5.293 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.977, allocations: 47.98 kB / 1.287 GB, free: 5.246 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: 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.000594/0.9776, allocations: 430.8 kB / 1.288 GB, free: 4.82 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.978, allocations: 198.8 kB / 1.288 GB, free: 4.625 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.9812, allocations: 1.652 MB / 1.29 GB, free: 2.965 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.9813, allocations: 8 kB / 1.29 GB, free: 2.957 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.9813, allocations: 7.938 kB / 1.29 GB, free: 2.949 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002474/0.9838, allocations: 1.553 MB / 1.291 GB, free: 1.328 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/0.9907, allocations: 3.857 MB / 1.295 GB, free: 13.38 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/0.9908, allocations: 384 / 1.295 GB, free: 13.38 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.9923, allocations: 303.6 kB / 1.295 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.9923, allocations: 8 kB / 1.295 GB, free: 13.07 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.9924, allocations: 35.98 kB / 1.295 GB, free: 13.04 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006372/0.993, allocations: 1.188 MB / 1.296 GB, free: 11.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9931, allocations: 4 kB / 1.296 GB, free: 11.8 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.9975, allocations: 2.545 MB / 1.299 GB, free: 9.199 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.9987, allocations: 467.4 kB / 1.299 GB, free: 8.723 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/0.9991, allocations: 28 kB / 1.299 GB, free: 8.695 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1, allocations: 95.88 kB / 1.299 GB, free: 8.602 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.001, allocations: 92.86 kB / 1.3 GB, free: 8.512 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.001, allocations: 51.97 kB / 1.3 GB, free: 8.461 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001812/1.003, allocations: 1.251 MB / 1.301 GB, free: 7.219 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.5e-07/1.003, allocations: 0 / 1.301 GB, free: 7.219 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002671/1.005, allocations: 1.135 MB / 1.302 GB, free: 6.082 MB / 0.9513 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.00527/1.011, allocations: 3.381 MB / 1.305 GB, free: 2.641 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.004822/1.015, allocations: 2.521 MB / 1.308 GB, free: 104 kB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.015, allocations: 4.438 kB / 1.308 GB, free: 96 kB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.017, allocations: 0.7433 MB / 1.308 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/1.022, allocations: 1.203 MB / 1.31 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.048, allocations: 16.31 MB / 1.325 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.049, allocations: 1.856 MB / 1.327 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002459/1.052, allocations: 0.8738 MB / 1.328 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.053, allocations: 0.7843 MB / 1.329 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/1.053, allocations: 0 / 1.329 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0965/1.149, allocations: 59.71 MB / 1.387 GB, free: 14.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.22, allocations: 3.938 kB / 1.387 GB, free: 14.74 MB / 1.045 GB (rm -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & python3 -m fmpy simulate --output-file AixLib_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_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)