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: translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 106.7 kB / 16.35 MB, free: 5.824 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.001241/0.001241, allocations: 191 kB / 17.29 MB, free: 5.48 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.294/1.294, allocations: 222.9 MB / 241 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.05734/0.05734, allocations: 12.03 MB / 303.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005162/0.0005162, allocations: 27.95 kB / 356.3 MB, free: 13.99 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.914/1.914, allocations: 272.3 MB / 0.6657 GB, free: 18.41 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 111.8 kB / 0.7864 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 109.2 MB / 0.893 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5131/0.6983, allocations: 214.7 MB / 1.103 GB, free: 6.312 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.7134, allocations: 10.83 MB / 1.113 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.7154, allocations: 67.62 kB / 1.113 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.7175, allocations: 0.8617 MB / 1.114 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00676/0.7243, allocations: 2.795 MB / 1.117 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.7285, allocations: 1.863 MB / 1.119 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00696/0.7354, allocations: 6.62 MB / 1.125 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.7385, allocations: 2.691 MB / 1.128 GB, free: 12.64 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.7429, allocations: 2.472 MB / 1.13 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.7455, allocations: 1.922 MB / 1.132 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.7458, allocations: 248 kB / 1.132 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.7504, allocations: 2.553 MB / 1.135 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007836/0.7512, allocations: 0.7829 MB / 1.136 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.7528, allocations: 1.412 MB / 1.137 GB, free: 3.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005588/0.7584, allocations: 4.737 MB / 1.142 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7584, allocations: 0 / 1.142 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7585, allocations: 0 / 1.142 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.7585, allocations: 3.984 kB / 1.142 GB, free: 14.49 MB / 0.8107 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.005318/0.7638, allocations: 3.045 MB / 1.145 GB, free: 11.37 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.7639, allocations: 8.031 kB / 1.145 GB, free: 11.36 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.7669, allocations: 0.5551 MB / 1.145 GB, free: 10.8 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.771, allocations: 2.22 MB / 1.147 GB, free: 8.531 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.7711, allocations: 119.1 kB / 1.147 GB, free: 8.414 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.7715, allocations: 168 kB / 1.148 GB, free: 8.25 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/0.7754, allocations: 2.31 MB / 1.15 GB, free: 5.891 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.7755, allocations: 4 kB / 1.15 GB, free: 5.887 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.7756, allocations: 67.98 kB / 1.15 GB, free: 5.82 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.7757, allocations: 67.08 kB / 1.15 GB, free: 5.754 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.7792, allocations: 2.046 MB / 1.152 GB, free: 3.703 MB / 0.8107 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.01093/0.7901, allocations: 8.292 MB / 1.16 GB, free: 10.94 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.7924, allocations: 1.393 MB / 1.161 GB, free: 9.52 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.7938, allocations: 0.8625 MB / 1.162 GB, free: 8.656 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000984/0.7948, allocations: 0.8878 MB / 1.163 GB, free: 7.586 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/0.7963, allocations: 0.8575 MB / 1.164 GB, free: 6.719 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=111): time 2.635e-06/0.7963, allocations: 0 / 1.164 GB, free: 6.719 MB / 0.8263 GB Notification: Performance of matching and sorting (n=111): time 0.003921/0.8002, allocations: 1.993 MB / 1.166 GB, free: 4.723 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.8003, allocations: 94.09 kB / 1.166 GB, free: 4.613 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.8025, allocations: 1.781 MB / 1.168 GB, free: 2.832 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.8027, allocations: 49.7 kB / 1.168 GB, free: 2.777 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/0.8034, allocations: 0.8968 MB / 1.169 GB, free: 1.867 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.8038, allocations: 398.3 kB / 1.169 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.8042, allocations: 252 kB / 1.169 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8044, allocations: 357.9 kB / 1.17 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.8055, allocations: 0.6266 MB / 1.17 GB, free: 240 kB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.8068, allocations: 0.8867 MB / 1.171 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/0.8214, allocations: 3.92 MB / 1.175 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8214, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003338/0.8248, allocations: 1.849 MB / 1.177 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.8248, allocations: 33.7 kB / 1.177 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8248, allocations: 4 kB / 1.177 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.8249, allocations: 17.81 kB / 1.177 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8266, allocations: 389.2 kB / 1.177 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.8273, allocations: 1.203 MB / 1.178 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.8289, allocations: 187.9 kB / 1.179 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.829, allocations: 51.98 kB / 1.179 GB, free: 7.465 MB / 0.8419 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.002314/0.8313, allocations: 1.451 MB / 1.18 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00131/0.8327, allocations: 0.8822 MB / 1.181 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0144/0.8471, allocations: 3.884 MB / 1.185 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.215e-06/0.8471, allocations: 4 kB / 1.185 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003519/0.8506, allocations: 1.836 MB / 1.186 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.8507, allocations: 33.7 kB / 1.186 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8507, allocations: 8 kB / 1.187 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8507, allocations: 8 kB / 1.187 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.8522, allocations: 364 kB / 1.187 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.8523, allocations: 20.78 kB / 1.187 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.8539, allocations: 160.8 kB / 1.187 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.854, allocations: 55.92 kB / 1.187 GB, free: 14.58 MB / 0.8575 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.0005672/0.8546, allocations: 443.1 kB / 1.188 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.8551, allocations: 185.8 kB / 1.188 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.8583, allocations: 1.649 MB / 1.189 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.8583, allocations: 12 kB / 1.189 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8583, allocations: 4 kB / 1.189 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/0.8608, allocations: 1.549 MB / 1.191 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/0.8679, allocations: 3.85 MB / 1.195 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.8679, allocations: 8.031 kB / 1.195 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.8694, allocations: 307.8 kB / 1.195 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.8694, allocations: 8 kB / 1.195 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/0.8695, allocations: 31.98 kB / 1.195 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006059/0.8701, allocations: 1.191 MB / 1.196 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.8701, allocations: 4 kB / 1.196 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.8744, allocations: 2.524 MB / 1.199 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.8756, allocations: 454.4 kB / 1.199 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/0.876, allocations: 31.98 kB / 1.199 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.8775, allocations: 91.88 kB / 1.199 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.8777, allocations: 97.89 kB / 1.199 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.8778, allocations: 47.97 kB / 1.199 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001963/0.8798, allocations: 1.251 MB / 1.2 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8798, allocations: 0 / 1.2 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002826/0.8826, allocations: 1.13 MB / 1.202 GB, free: 15.46 MB / 0.8732 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.0009717/0.8836, allocations: 415.4 kB / 1.202 GB, free: 15.07 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.004752/0.8884, allocations: 2.517 MB / 1.204 GB, free: 12.54 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8884, allocations: 448 / 1.204 GB, free: 12.53 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.8899, allocations: 0.7561 MB / 1.205 GB, free: 11.78 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004865/0.8947, allocations: 1.198 MB / 1.206 GB, free: 10.7 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/0.9021, allocations: 4.574 MB / 1.211 GB, free: 6.062 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.9037, allocations: 1.848 MB / 1.213 GB, free: 4.18 MB / 0.8732 GB Notification: Performance of simCode: alias equations: time 0.002506/0.9062, allocations: 0.8735 MB / 1.213 GB, free: 3.309 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.9067, allocations: 155.4 kB / 1.214 GB, free: 3.16 MB / 0.8732 GB Notification: Performance of SimCode: time 6.61e-07/0.9067, allocations: 0 / 1.214 GB, free: 3.16 MB / 0.8732 GB Notification: Performance of Templates: time 0.06441/0.9711, allocations: 42.83 MB / 1.255 GB, free: 8.91 MB / 0.92 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)