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.001341/0.001341, allocations: 106.6 kB / 16.27 MB, free: 5.984 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.001516/0.001516, allocations: 189 kB / 17.2 MB, free: 5.609 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.0562/0.0562, allocations: 12.05 MB / 303.1 MB, free: 3.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004983/0.0004981, allocations: 31.95 kB / 356.2 MB, free: 14.08 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.862/1.862, allocations: 272.3 MB / 0.6655 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.002111, allocations: 111.5 kB / 0.7856 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1947, allocations: 109.2 MB / 0.8922 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5545/0.7492, allocations: 214.8 MB / 1.102 GB, free: 6.844 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7657, allocations: 10.83 MB / 1.113 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.7685, allocations: 71.62 kB / 1.113 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.7712, allocations: 0.8578 MB / 1.113 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007914/0.7792, allocations: 2.799 MB / 1.116 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.7841, allocations: 1.844 MB / 1.118 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008297/0.7924, allocations: 6.602 MB / 1.124 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003811/0.7963, allocations: 2.699 MB / 1.127 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.8019, allocations: 2.465 MB / 1.129 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003325/0.8053, allocations: 1.911 MB / 1.131 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007591/0.806, allocations: 252 kB / 1.132 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005611/0.8116, allocations: 2.549 MB / 1.134 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.8128, allocations: 0.7829 MB / 1.135 GB, free: 5.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.8157, allocations: 1.419 MB / 1.136 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007489/0.8232, allocations: 4.694 MB / 1.141 GB, free: 15.09 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8232, allocations: 4 kB / 1.141 GB, free: 15.09 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8232, allocations: 0 / 1.141 GB, free: 15.09 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0001146/0.8234, allocations: 0 / 1.141 GB, free: 15.09 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.007619/0.831, allocations: 3.05 MB / 1.144 GB, free: 11.97 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.831, allocations: 12.03 kB / 1.144 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.8346, allocations: 0.5434 MB / 1.144 GB, free: 11.41 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004328/0.8389, allocations: 2.118 MB / 1.146 GB, free: 9.238 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.8391, allocations: 119.1 kB / 1.146 GB, free: 9.121 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.8396, allocations: 160 kB / 1.147 GB, free: 8.965 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004763/0.8444, allocations: 2.313 MB / 1.149 GB, free: 6.602 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.8445, allocations: 4.797 kB / 1.149 GB, free: 6.598 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.8447, allocations: 68 kB / 1.149 GB, free: 6.531 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.8448, allocations: 75.08 kB / 1.149 GB, free: 6.457 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.849, allocations: 2.034 MB / 1.151 GB, free: 4.418 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.01316/0.8621, allocations: 8.362 MB / 1.159 GB, free: 11.59 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.8646, allocations: 1.385 MB / 1.161 GB, free: 10.18 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.8661, allocations: 0.8703 MB / 1.161 GB, free: 9.305 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.8672, allocations: 0.8878 MB / 1.162 GB, free: 8.234 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.8688, allocations: 0.8558 MB / 1.163 GB, free: 7.367 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=111): time 3.687e-06/0.8688, allocations: 0 / 1.163 GB, free: 7.367 MB / 0.8263 GB Notification: Performance of matching and sorting (n=111): time 0.004323/0.8731, allocations: 1.993 MB / 1.165 GB, free: 5.371 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.8732, allocations: 90.11 kB / 1.165 GB, free: 5.266 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.8762, allocations: 1.781 MB / 1.167 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.8764, allocations: 53.7 kB / 1.167 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.8773, allocations: 0.8929 MB / 1.168 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.8778, allocations: 398.3 kB / 1.168 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.8782, allocations: 250.8 kB / 1.168 GB, free: 1.871 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8784, allocations: 357.9 kB / 1.169 GB, free: 1.516 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.8796, allocations: 0.6304 MB / 1.169 GB, free: 0.8828 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.881, allocations: 0.8823 MB / 1.17 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/0.8959, allocations: 3.94 MB / 1.174 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.896, allocations: 4 kB / 1.174 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003946/0.8999, allocations: 1.844 MB / 1.176 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.9, allocations: 37.7 kB / 1.176 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.9, allocations: 4.547 kB / 1.176 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.9, allocations: 15.94 kB / 1.176 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.9018, allocations: 386.7 kB / 1.176 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007214/0.9025, allocations: 1.195 MB / 1.177 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.9043, allocations: 196.2 kB / 1.178 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.9044, allocations: 51.98 kB / 1.178 GB, free: 8.102 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 = 100000.0 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 = 100000.0 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]) + (2501014.5 + 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 = 100000.0 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) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 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.002479/0.9069, allocations: 1.458 MB / 1.179 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001342/0.9083, allocations: 0.8748 MB / 1.18 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01422/0.9225, allocations: 3.909 MB / 1.184 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/0.9226, allocations: 0 / 1.184 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003477/0.926, allocations: 1.835 MB / 1.186 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.9261, allocations: 38.34 kB / 1.186 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.9261, allocations: 8 kB / 1.186 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9261, allocations: 12 kB / 1.186 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.9276, allocations: 361.6 kB / 1.186 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.9276, allocations: 8 kB / 1.186 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.9292, allocations: 169 kB / 1.186 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.9293, allocations: 63.86 kB / 1.186 GB, free: 15.19 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 = 100000.0 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 = 100000.0 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]) + (2501014.5 + 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 = 100000.0 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) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 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.0005495/0.9299, allocations: 424.9 kB / 1.187 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.9303, allocations: 189.8 kB / 1.187 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.9334, allocations: 1.647 MB / 1.188 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.9335, allocations: 19.98 kB / 1.188 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9335, allocations: 0 / 1.188 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/0.9358, allocations: 1.549 MB / 1.19 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/0.9423, allocations: 3.851 MB / 1.194 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.9424, allocations: 4 kB / 1.194 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.9438, allocations: 308.8 kB / 1.194 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.9438, allocations: 8 kB / 1.194 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/0.9439, allocations: 35.98 kB / 1.194 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/0.9445, allocations: 1.192 MB / 1.195 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.9445, allocations: 11.38 kB / 1.195 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.9487, allocations: 2.522 MB / 1.198 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000976/0.9497, allocations: 462.4 kB / 1.198 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.95, allocations: 35.98 kB / 1.198 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.9513, allocations: 91.05 kB / 1.198 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.9515, allocations: 96.84 kB / 1.198 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/0.9516, allocations: 47.98 kB / 1.198 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001681/0.9533, allocations: 1.248 MB / 1.2 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9533, allocations: 0 / 1.2 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002468/0.9558, allocations: 1.134 MB / 1.201 GB, free: 76 kB / 0.8575 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.0008928/0.9567, allocations: 402.4 kB / 1.201 GB, free: 15.69 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.00605/0.9628, allocations: 3.163 MB / 1.204 GB, free: 12.51 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.9628, allocations: 448 / 1.204 GB, free: 12.5 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.9642, allocations: 0.7444 MB / 1.205 GB, free: 11.76 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/0.9694, allocations: 1.203 MB / 1.206 GB, free: 10.69 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/0.9764, allocations: 4.616 MB / 1.211 GB, free: 6.004 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.9777, allocations: 1.813 MB / 1.212 GB, free: 4.16 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.9783, allocations: 163.3 kB / 1.213 GB, free: 4.004 MB / 0.8732 GB Notification: Performance of SimCode: time 1.022e-06/0.9784, allocations: 0 / 1.213 GB, free: 4.004 MB / 0.8732 GB Notification: Performance of Templates: time 0.07014/1.048, allocations: 59.69 MB / 1.271 GB, free: 8.551 MB / 0.9357 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 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)