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.005404/0.005404, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001513/0.001513, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06138/0.06138, allocations: 12.04 MB / 302.6 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006803/0.0006803, allocations: 31.88 kB / 355.7 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.906/1.906, allocations: 272.3 MB / 0.6651 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003081/0.003081, allocations: 111.8 kB / 0.8924 GB, free: 15.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4538, allocations: 109.1 MB / 0.999 GB, free: 7.812 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.235/0.6888, allocations: 214.8 MB / 1.209 GB, free: 8.887 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7053, allocations: 10.83 MB / 1.219 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.707, allocations: 63.62 kB / 1.219 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.7092, allocations: 0.8617 MB / 1.22 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.7157, allocations: 2.792 MB / 1.223 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.7202, allocations: 1.861 MB / 1.225 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008183/0.7284, allocations: 6.617 MB / 1.231 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.732, allocations: 2.685 MB / 1.234 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.737, allocations: 2.475 MB / 1.236 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.7402, allocations: 1.922 MB / 1.238 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005389/0.7408, allocations: 252 kB / 1.238 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.746, allocations: 2.553 MB / 1.241 GB, free: 7.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.7471, allocations: 0.7829 MB / 1.242 GB, free: 7.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.7492, allocations: 1.408 MB / 1.243 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007226/0.7564, allocations: 4.761 MB / 1.248 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7565, allocations: 3.938 kB / 1.248 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7565, allocations: 0 / 1.248 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.886e-05/0.7565, allocations: 0 / 1.248 GB, free: 0.8906 MB / 0.92 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.006466/0.763, allocations: 3.136 MB / 1.251 GB, free: 13.68 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7631, allocations: 8.031 kB / 1.251 GB, free: 13.67 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/0.7634, allocations: 244.1 kB / 1.251 GB, free: 13.42 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.7666, allocations: 0.5566 MB / 1.251 GB, free: 12.86 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/0.7708, allocations: 2.233 MB / 1.254 GB, free: 10.57 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.771, allocations: 127.1 kB / 1.254 GB, free: 10.45 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.7713, allocations: 167.9 kB / 1.254 GB, free: 10.29 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.7756, allocations: 2.31 MB / 1.256 GB, free: 7.926 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.7757, allocations: 3.984 kB / 1.256 GB, free: 7.922 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.7759, allocations: 68 kB / 1.256 GB, free: 7.855 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.776, allocations: 71.02 kB / 1.256 GB, free: 7.785 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.78, allocations: 2.046 MB / 1.258 GB, free: 5.734 MB / 0.9357 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.01239/0.7924, allocations: 8.301 MB / 1.266 GB, free: 12.96 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.7949, allocations: 1.387 MB / 1.268 GB, free: 11.54 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.7966, allocations: 0.8703 MB / 1.269 GB, free: 10.67 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.7977, allocations: 0.8828 MB / 1.27 GB, free: 9.605 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.7993, allocations: 0.8652 MB / 1.27 GB, free: 8.727 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 2.625e-06/0.7994, allocations: 3.938 kB / 1.27 GB, free: 8.723 MB / 0.9513 GB Notification: Performance of matching and sorting (n=111): time 0.004363/0.8037, allocations: 2.006 MB / 1.272 GB, free: 6.719 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.8038, allocations: 94.11 kB / 1.272 GB, free: 6.605 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.8064, allocations: 1.778 MB / 1.274 GB, free: 4.828 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.8065, allocations: 53.69 kB / 1.274 GB, free: 4.77 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.8075, allocations: 0.9062 MB / 1.275 GB, free: 3.852 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.8079, allocations: 416.5 kB / 1.275 GB, free: 3.441 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.8083, allocations: 250.8 kB / 1.276 GB, free: 3.191 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.8085, allocations: 361.9 kB / 1.276 GB, free: 2.832 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.8098, allocations: 0.6304 MB / 1.277 GB, free: 2.199 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.8113, allocations: 0.8816 MB / 1.278 GB, free: 1.227 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3613/1.173, allocations: 3.905 MB / 1.281 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.173, allocations: 1.344 kB / 1.281 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0035/1.176, allocations: 1.858 MB / 1.283 GB, free: 265.1 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.176, allocations: 41.8 kB / 1.283 GB, free: 265.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.176, allocations: 4.625 kB / 1.283 GB, free: 265.1 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/1.176, allocations: 11.44 kB / 1.283 GB, free: 265.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.178, allocations: 386.8 kB / 1.284 GB, free: 265.1 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004683/1.179, allocations: 1.198 MB / 1.285 GB, free: 263.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.18, allocations: 193.7 kB / 1.285 GB, free: 263.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.18, allocations: 50.38 kB / 1.285 GB, free: 263.8 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002575/1.183, allocations: 1.459 MB / 1.286 GB, free: 263.3 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/1.184, allocations: 0.884 MB / 1.287 GB, free: 262.9 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0133/1.198, allocations: 3.882 MB / 1.291 GB, free: 261.4 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/1.198, allocations: 1.562 kB / 1.291 GB, free: 261.4 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003132/1.201, allocations: 1.854 MB / 1.293 GB, free: 260.6 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.201, allocations: 38.11 kB / 1.293 GB, free: 260.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.201, allocations: 7.281 kB / 1.293 GB, free: 260.5 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.201, allocations: 10.41 kB / 1.293 GB, free: 260.5 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.202, allocations: 364.9 kB / 1.293 GB, free: 260.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/1.202, allocations: 10.44 kB / 1.293 GB, free: 260.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.204, allocations: 168.4 kB / 1.293 GB, free: 260.4 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.204, allocations: 53.27 kB / 1.294 GB, free: 260.4 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.0005268/1.204, allocations: 438.4 kB / 1.294 GB, free: 260 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/1.205, allocations: 198.2 kB / 1.294 GB, free: 260 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/1.208, allocations: 1.654 MB / 1.296 GB, free: 259.1 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.208, allocations: 15.38 kB / 1.296 GB, free: 259.1 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.208, allocations: 0 / 1.296 GB, free: 259.1 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/1.21, allocations: 1.55 MB / 1.297 GB, free: 258.2 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/1.215, allocations: 3.845 MB / 1.301 GB, free: 255.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.215, allocations: 2.156 kB / 1.301 GB, free: 255.8 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.217, allocations: 312 kB / 1.301 GB, free: 255.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/1.217, allocations: 10.95 kB / 1.301 GB, free: 255.7 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/1.217, allocations: 33.05 kB / 1.301 GB, free: 255.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003348/1.217, allocations: 1.185 MB / 1.303 GB, free: 254.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.217, allocations: 8.062 kB / 1.303 GB, free: 254.5 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/1.221, allocations: 2.535 MB / 1.305 GB, free: 253.1 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/1.221, allocations: 474 kB / 1.305 GB, free: 252.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/1.222, allocations: 29.06 kB / 1.305 GB, free: 252.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.223, allocations: 93.78 kB / 1.306 GB, free: 252.7 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.223, allocations: 87.42 kB / 1.306 GB, free: 252.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/1.223, allocations: 52 kB / 1.306 GB, free: 252.6 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001513/1.225, allocations: 1.254 MB / 1.307 GB, free: 252 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.61e-07/1.225, allocations: 0 / 1.307 GB, free: 252 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002127/1.227, allocations: 1.133 MB / 1.308 GB, free: 251.8 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.004056/1.231, allocations: 3.383 MB / 1.311 GB, free: 249.8 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.003977/1.235, allocations: 2.52 MB / 1.314 GB, free: 248.6 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.235, allocations: 2.469 kB / 1.314 GB, free: 248.6 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/1.236, allocations: 0.7529 MB / 1.315 GB, free: 248.2 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.241, allocations: 1.206 MB / 1.316 GB, free: 247.6 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.26, allocations: 16.31 MB / 1.332 GB, free: 231.5 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009746/1.261, allocations: 1.856 MB / 1.333 GB, free: 229.6 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.002083/1.263, allocations: 0.8738 MB / 1.334 GB, free: 228.7 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/1.264, allocations: 0.7883 MB / 1.335 GB, free: 228 MB / 0.9513 GB Notification: Performance of SimCode: time 8.92e-07/1.264, allocations: 0 / 1.335 GB, free: 228 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08151/1.345, allocations: 59.73 MB / 1.393 GB, free: 168.9 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/16.11, allocations: 2.109 kB / 1.393 GB, free: 168.9 MB / 0.9513 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)