Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.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.MixingVolumes.Examples.HydraulicSeparator,fileNamePrefix="AixLib_latest_AixLib_Fluid_MixingVolumes_Examples_HydraulicSeparator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator,fileNamePrefix="AixLib_latest_AixLib_Fluid_MixingVolumes_Examples_HydraulicSeparator",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.005202/0.005202, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.001199/0.001199, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.05386/0.05386, allocations: 12.04 MB / 302.6 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006161/0.0006161, allocations: 35.88 kB / 355.7 MB, free: 13.97 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.835/1.835, allocations: 272.3 MB / 0.665 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 119.8 kB / 0.8924 GB, free: 15.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6296, allocations: 109.1 MB / 0.999 GB, free: 7.832 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator): time 0.1366/0.7663, allocations: 136.7 MB / 1.132 GB, free: 7.535 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.06659/0.8329, allocations: 43.73 MB / 1.175 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00626/0.8392, allocations: 163.1 kB / 1.175 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007101/0.8463, allocations: 2.105 MB / 1.177 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02179/0.8681, allocations: 6.785 MB / 1.184 GB, free: 2.59 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.02437/0.8925, allocations: 9.479 MB / 1.193 GB, free: 9.121 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.01963/0.9122, allocations: 12.97 MB / 1.206 GB, free: 12.13 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007414/0.9196, allocations: 3.81 MB / 1.21 GB, free: 8.25 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.9312, allocations: 4.932 MB / 1.214 GB, free: 3.312 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00833/0.9396, allocations: 4.438 MB / 1.219 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.9419, allocations: 0.4922 MB / 1.219 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.9577, allocations: 5.927 MB / 1.225 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003675/0.9614, allocations: 1.737 MB / 1.227 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007324/0.9688, allocations: 2.769 MB / 1.229 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02132/0.9901, allocations: 10.59 MB / 1.24 GB, free: 9.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9901, allocations: 0 / 1.24 GB, free: 9.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9902, allocations: 0 / 1.24 GB, free: 9.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002889/0.9904, allocations: 0 / 1.24 GB, free: 9.289 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01742/1.008, allocations: 5.963 MB / 1.246 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/1.008, allocations: 8.031 kB / 1.246 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001564/1.01, allocations: 421.6 kB / 1.246 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/1.012, allocations: 0.5446 MB / 1.247 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009167/1.022, allocations: 4.009 MB / 1.251 GB, free: 14.19 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/1.022, allocations: 280.9 kB / 1.251 GB, free: 13.9 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009533/1.023, allocations: 295.8 kB / 1.251 GB, free: 13.61 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009535/1.032, allocations: 4.578 MB / 1.256 GB, free: 8.867 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.065e-05/1.032, allocations: 7.938 kB / 1.256 GB, free: 8.859 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005965/1.033, allocations: 120 kB / 1.256 GB, free: 8.742 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003879/1.033, allocations: 309.4 kB / 1.256 GB, free: 8.438 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/1.042, allocations: 4.332 MB / 1.26 GB, free: 4.094 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.5512/1.593, allocations: 20.2 MB / 1.28 GB, free: 248.2 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005838/1.599, allocations: 2.935 MB / 1.283 GB, free: 247.9 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/1.602, allocations: 1.574 MB / 1.284 GB, free: 247.4 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/1.617, allocations: 8.643 MB / 1.293 GB, free: 241 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/1.617, allocations: 62.88 kB / 1.293 GB, free: 241 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001723/1.618, allocations: 282.8 kB / 1.293 GB, free: 240.9 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=192): time 5.911e-06/1.618, allocations: 0 / 1.293 GB, free: 240.9 MB / 0.9513 GB Notification: Performance of matching and sorting (n=204): time 0.04218/1.661, allocations: 11.71 MB / 1.305 GB, free: 236 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.661, allocations: 187.1 kB / 1.305 GB, free: 235.8 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007339/1.668, allocations: 4.09 MB / 1.309 GB, free: 233.7 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0004039/1.669, allocations: 65.83 kB / 1.309 GB, free: 233.7 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.67, allocations: 2.042 MB / 1.311 GB, free: 231.9 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007693/1.671, allocations: 0.7215 MB / 1.311 GB, free: 231.3 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.672, allocations: 0.5948 MB / 1.312 GB, free: 230.9 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/1.672, allocations: 309.1 kB / 1.312 GB, free: 230.6 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/1.674, allocations: 1.279 MB / 1.314 GB, free: 229.9 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/1.676, allocations: 2.147 MB / 1.316 GB, free: 228.2 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08559/1.761, allocations: 16.68 MB / 1.332 GB, free: 220.2 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/1.762, allocations: 11 kB / 1.332 GB, free: 220.2 MB / 0.9513 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007197/1.769, allocations: 4.362 MB / 1.336 GB, free: 216.3 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.769, allocations: 16 kB / 1.336 GB, free: 216.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/1.769, allocations: 28 kB / 1.336 GB, free: 216.3 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/1.782, allocations: 2.307 MB / 1.339 GB, free: 214.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.785, allocations: 0.6045 MB / 1.339 GB, free: 213.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/1.788, allocations: 2.038 MB / 1.341 GB, free: 211.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/1.791, allocations: 127.8 kB / 1.341 GB, free: 211.3 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.791, allocations: 155.9 kB / 1.341 GB, free: 211.1 MB / 0.9513 GB Warning: Assuming fixed start value for the following 8 variables: hydraulicSeparator.secondaryFlow.mediums[1].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryFlow.mediums[2].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryReturn.mediums[1].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryReturn.mediums[2].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.volume2.dynBal.U:VARIABLE(start = hydraulicSeparator.volume2.dynBal.fluidVolume * hydraulicSeparator.volume2.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume2.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume2.dynBal.Medium.setState_pTX(hydraulicSeparator.volume2.dynBal.p_start, 293.15, {})) + 20.0 * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real hydraulicSeparator.volume1.dynBal.U:VARIABLE(start = hydraulicSeparator.volume1.dynBal.fluidVolume * hydraulicSeparator.volume1.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume1.dynBal.Medium.setState_pTX(hydraulicSeparator.volume1.dynBal.p_start, 293.15, {})) + 20.0 * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real heatSource.dynBal.U:VARIABLE(start = heatSource.dynBal.fluidVolume * heatSource.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSource.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSource.dynBal.Medium.setState_pTX(heatSource.dynBal.p_start, heatSource.dynBal.T_start, {})) + (heatSource.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real heatSink.dynBal.U:VARIABLE(start = heatSink.dynBal.fluidVolume * heatSink.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSink.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSink.dynBal.Medium.setState_pTX(heatSink.dynBal.p_start, heatSink.dynBal.T_start, {})) + (heatSink.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003347/1.795, allocations: 2.259 MB / 1.344 GB, free: 208.9 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001985/1.797, allocations: 2.126 MB / 1.346 GB, free: 206.4 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05791/1.855, allocations: 11.96 MB / 1.357 GB, free: 194.3 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-05/1.855, allocations: 8 kB / 1.357 GB, free: 194.3 MB / 0.9513 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.006881/1.862, allocations: 4.232 MB / 1.361 GB, free: 190.1 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.862, allocations: 16 kB / 1.361 GB, free: 190.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/1.862, allocations: 37.92 kB / 1.362 GB, free: 190.1 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/1.874, allocations: 2.078 MB / 1.364 GB, free: 188 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.877, allocations: 0.6071 MB / 1.364 GB, free: 187.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.879, allocations: 1.847 MB / 1.366 GB, free: 185.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.882, allocations: 131.9 kB / 1.366 GB, free: 185.4 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/1.883, allocations: 155.9 kB / 1.366 GB, free: 185.3 MB / 0.9513 GB Warning: Assuming fixed start value for the following 8 variables: hydraulicSeparator.secondaryFlow.mediums[1].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryFlow.mediums[2].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryReturn.mediums[1].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.secondaryReturn.mediums[2].T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real [2] hydraulicSeparator.volume2.dynBal.U:VARIABLE(start = hydraulicSeparator.volume2.dynBal.fluidVolume * hydraulicSeparator.volume2.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume2.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume2.dynBal.Medium.setState_pTX(hydraulicSeparator.volume2.dynBal.p_start, 293.15, {})) + 20.0 * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real hydraulicSeparator.volume1.dynBal.U:VARIABLE(start = hydraulicSeparator.volume1.dynBal.fluidVolume * hydraulicSeparator.volume1.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.hydraulicSeparator.volume1.dynBal.Medium.setState_pTX(hydraulicSeparator.volume1.dynBal.p_start, 293.15, {})) + 20.0 * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real heatSource.dynBal.U:VARIABLE(start = heatSource.dynBal.fluidVolume * heatSource.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSource.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSource.dynBal.Medium.setState_pTX(heatSource.dynBal.p_start, heatSource.dynBal.T_start, {})) + (heatSource.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real heatSink.dynBal.U:VARIABLE(start = heatSink.dynBal.fluidVolume * heatSink.dynBal.rho_start * AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSink.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.heatSink.dynBal.Medium.setState_pTX(heatSink.dynBal.p_start, heatSink.dynBal.T_start, {})) + (heatSink.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 2 (booleanExpression1.y,booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 323 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0009133/1.884, allocations: 491.8 kB / 1.367 GB, free: 184.8 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009148/1.885, allocations: 399 kB / 1.367 GB, free: 184.4 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/1.891, allocations: 4.497 MB / 1.371 GB, free: 179.9 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.891, allocations: 31.98 kB / 1.371 GB, free: 179.9 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.891, allocations: 4 kB / 1.371 GB, free: 179.9 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/1.895, allocations: 3.197 MB / 1.375 GB, free: 176.6 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.907, allocations: 7.712 MB / 1.382 GB, free: 168.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.907, allocations: 0 / 1.382 GB, free: 168.8 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.908, allocations: 355.6 kB / 1.382 GB, free: 168.5 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006567/1.915, allocations: 1.554 MB / 1.384 GB, free: 167 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.915, allocations: 75.97 kB / 1.384 GB, free: 166.9 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/1.918, allocations: 2.274 MB / 1.386 GB, free: 164.6 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.918, allocations: 6.625 kB / 1.386 GB, free: 164.6 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007216/1.925, allocations: 5.527 MB / 1.392 GB, free: 159 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.927, allocations: 0.8586 MB / 1.393 GB, free: 158.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/1.928, allocations: 52 kB / 1.393 GB, free: 158 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.929, allocations: 113.4 kB / 1.393 GB, free: 157.9 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/1.93, allocations: 165.9 kB / 1.393 GB, free: 157.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.93, allocations: 119.9 kB / 1.393 GB, free: 157.6 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.003208/1.933, allocations: 2.76 MB / 1.396 GB, free: 154.9 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.71e-07/1.933, allocations: 3.938 kB / 1.396 GB, free: 154.9 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.0064/1.939, allocations: 2.712 MB / 1.398 GB, free: 152.4 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (hydraulicSeparator.secondaryFlow.mediums[1].T,hydraulicSeparator.secondaryFlow.mediums[2].T,hydraulicSeparator.secondaryReturn.mediums[1].T,hydraulicSeparator.secondaryReturn.mediums[2].T,hydraulicSeparator.volume2.dynBal.U,hydraulicSeparator.volume1.dynBal.U,heatSource.dynBal.U,heatSink.dynBal.U,temperatureMixedTop.T,temperatureBottom.T,temperatureMixedBottom.T,temperatureTop.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/1.95, allocations: 7.968 MB / 1.406 GB, free: 144.9 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.009231/1.959, allocations: 5.411 MB / 1.411 GB, free: 139.5 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.96, allocations: 0.6562 kB / 1.411 GB, free: 139.5 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.962, allocations: 1.657 MB / 1.413 GB, free: 137.8 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007414/1.969, allocations: 1.711 MB / 1.415 GB, free: 136.3 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/2.014, allocations: 34.03 MB / 1.448 GB, free: 101.4 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/2.016, allocations: 2.67 MB / 1.451 GB, free: 98.72 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.004035/2.02, allocations: 1.487 MB / 1.452 GB, free: 97.29 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/2.022, allocations: 1.858 MB / 1.454 GB, free: 95.43 MB / 0.9513 GB Notification: Performance of SimCode: time 7.11e-07/2.022, allocations: 8 kB / 1.454 GB, free: 95.42 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1858/2.208, allocations: 136 MB / 1.587 GB, free: 8.426 MB / 0.9982 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.6/22.81, allocations: 15.72 kB / 1.587 GB, free: 8.418 MB / 0.9982 GB (rm -f AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.pipe ; mkfifo AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.pipe >> ../files/AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.sim & python3 -m fmpy simulate --output-file AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator_res.csv --start-time 0 --stop-time 20000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8 AixLib_latest_AixLib_Fluid_MixingVolumes_Examples_HydraulicSeparator.fmu > AixLib_latest_AixLib.Fluid.MixingVolumes.Examples.HydraulicSeparator.pipe 2>&1)