Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001538/0.001538, allocations: 198.1 kB / 16.14 MB, free: 6.703 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1575/0.1575, allocations: 12.01 MB / 302 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005204/0.0005206, allocations: 27.89 kB / 355 MB, free: 4.035 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.983/1.983, allocations: 268.1 MB / 0.6603 GB, free: 1.016 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 109.5 kB / 0.7793 GB, free: 32.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1778, allocations: 108.4 MB / 0.8852 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5583/0.7361, allocations: 212.4 MB / 1.093 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.749, allocations: 10.91 MB / 1.103 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.7513, allocations: 62.69 kB / 1.103 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.7532, allocations: 0.7196 MB / 1.104 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.7592, allocations: 2.619 MB / 1.107 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.763, allocations: 1.686 MB / 1.108 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006987/0.77, allocations: 8.746 MB / 1.117 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.7724, allocations: 2.207 MB / 1.119 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.7761, allocations: 2.024 MB / 1.121 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.7794, allocations: 1.885 MB / 1.123 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.7797, allocations: 120.9 kB / 1.123 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/0.7851, allocations: 2.691 MB / 1.125 GB, free: 14.99 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.0008155/0.7859, allocations: 0.6418 MB / 1.126 GB, free: 14.57 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.7877, allocations: 1.252 MB / 1.127 GB, free: 13.83 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.7935, allocations: 4.681 MB / 1.132 GB, free: 11.07 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7935, allocations: 0 / 1.132 GB, free: 11.07 MB / 0.7482 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7935, allocations: 0 / 1.132 GB, free: 11.07 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.7936, allocations: 0 / 1.132 GB, free: 11.07 MB / 0.7482 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.005612/0.7992, allocations: 3.056 MB / 1.135 GB, free: 8.957 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7992, allocations: 10.22 kB / 1.135 GB, free: 8.957 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.8024, allocations: 0.5516 MB / 1.135 GB, free: 8.699 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.8063, allocations: 2.215 MB / 1.138 GB, free: 7.246 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/0.8064, allocations: 122 kB / 1.138 GB, free: 7.195 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.8066, allocations: 160.4 kB / 1.138 GB, free: 7.145 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.8106, allocations: 2.31 MB / 1.14 GB, free: 5.805 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.8106, allocations: 7.188 kB / 1.14 GB, free: 5.801 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.8108, allocations: 63.31 kB / 1.14 GB, free: 5.754 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.8109, allocations: 69.58 kB / 1.14 GB, free: 5.742 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/0.8144, allocations: 2.045 MB / 1.142 GB, free: 4.73 MB / 0.7482 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.01138/0.8258, allocations: 8.223 MB / 1.15 GB, free: 13.54 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.8281, allocations: 1.393 MB / 1.152 GB, free: 12.12 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.8296, allocations: 0.8664 MB / 1.152 GB, free: 11.25 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/0.8306, allocations: 0.8892 MB / 1.153 GB, free: 10.18 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.8321, allocations: 0.8622 MB / 1.154 GB, free: 9.312 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 4.829e-06/0.8321, allocations: 3.984 kB / 1.154 GB, free: 9.309 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.004059/0.8362, allocations: 1.992 MB / 1.156 GB, free: 7.316 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.8363, allocations: 94.09 kB / 1.156 GB, free: 7.207 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.8386, allocations: 1.731 MB / 1.158 GB, free: 5.477 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.8387, allocations: 53.7 kB / 1.158 GB, free: 5.418 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/0.8395, allocations: 0.8919 MB / 1.159 GB, free: 4.516 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.8399, allocations: 394.9 kB / 1.159 GB, free: 4.133 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.8403, allocations: 252.8 kB / 1.159 GB, free: 3.883 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8404, allocations: 357.9 kB / 1.16 GB, free: 3.527 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.8416, allocations: 0.6227 MB / 1.16 GB, free: 2.898 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.843, allocations: 0.8841 MB / 1.161 GB, free: 1.93 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/0.8585, allocations: 3.931 MB / 1.165 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.8586, allocations: 4 kB / 1.165 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003822/0.8624, allocations: 1.852 MB / 1.167 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.8625, allocations: 35.11 kB / 1.167 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8625, allocations: 6.625 kB / 1.167 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.8625, allocations: 15.94 kB / 1.167 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.8643, allocations: 387.1 kB / 1.167 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007062/0.8651, allocations: 1.197 MB / 1.168 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.8672, allocations: 255.3 kB / 1.169 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.8673, allocations: 55.98 kB / 1.169 GB, free: 10.13 MB / 0.7794 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 * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 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 = max(0.0, 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 = max(0.0, 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.002499/0.8698, allocations: 1.446 MB / 1.17 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/0.8713, allocations: 0.8763 MB / 1.171 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01554/0.8868, allocations: 3.895 MB / 1.175 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/0.8869, allocations: 0 / 1.175 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003856/0.8907, allocations: 1.846 MB / 1.177 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.8908, allocations: 33.7 kB / 1.177 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8908, allocations: 4 kB / 1.177 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8908, allocations: 12 kB / 1.177 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.8924, allocations: 370 kB / 1.177 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.8924, allocations: 12 kB / 1.177 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.8945, allocations: 224.1 kB / 1.177 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.8946, allocations: 59.92 kB / 1.177 GB, free: 1.242 MB / 0.7794 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 * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 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 = max(0.0, 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 = max(0.0, 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.0005895/0.8952, allocations: 425 kB / 1.178 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/0.8958, allocations: 185.8 kB / 1.178 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.899, allocations: 1.66 MB / 1.18 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.8991, allocations: 12 kB / 1.18 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8991, allocations: 0 / 1.18 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/0.9015, allocations: 1.551 MB / 1.181 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/0.9087, allocations: 3.81 MB / 1.185 GB, free: 9.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.9088, allocations: 8 kB / 1.185 GB, free: 9.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.9103, allocations: 298 kB / 1.185 GB, free: 9.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.9103, allocations: 12.31 kB / 1.185 GB, free: 9.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.9104, allocations: 43.97 kB / 1.185 GB, free: 9.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006675/0.9111, allocations: 1.181 MB / 1.186 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.9111, allocations: 6.531 kB / 1.186 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.9156, allocations: 2.517 MB / 1.189 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.9168, allocations: 458.3 kB / 1.189 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/0.9173, allocations: 31.98 kB / 1.189 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.9191, allocations: 173 kB / 1.189 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.9193, allocations: 87.36 kB / 1.189 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.9195, allocations: 51.97 kB / 1.19 GB, free: 4.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002126/0.9216, allocations: 1.218 MB / 1.191 GB, free: 3.363 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9216, allocations: 4 kB / 1.191 GB, free: 3.359 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002971/0.9246, allocations: 1.115 MB / 1.192 GB, free: 2.242 MB / 0.795 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.0009056/0.9255, allocations: 390.6 kB / 1.192 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004893/0.9304, allocations: 2.506 MB / 1.195 GB, free: 15.42 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9304, allocations: 4.375 kB / 1.195 GB, free: 15.42 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.9319, allocations: 0.7593 MB / 1.195 GB, free: 14.69 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/0.9376, allocations: 1.171 MB / 1.196 GB, free: 13.54 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008392/0.946, allocations: 5.369 MB / 1.202 GB, free: 8.121 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.9477, allocations: 1.856 MB / 1.204 GB, free: 6.23 MB / 0.8107 GB Notification: Performance of simCode: alias equations: time 0.003054/0.9508, allocations: 0.8829 MB / 1.204 GB, free: 5.348 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.9513, allocations: 147.4 kB / 1.205 GB, free: 5.203 MB / 0.8107 GB Notification: Performance of SimCode: time 8.42e-07/0.9513, allocations: 4 kB / 1.205 GB, free: 5.199 MB / 0.8107 GB Notification: Performance of Templates: time 0.06511/1.016, allocations: 40.78 MB / 1.244 GB, free: 13.07 MB / 0.8575 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)