Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0015/0.0015, allocations: 190.8 kB / 16.25 MB, free: 6.625 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.287/1.287, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1701/0.1701, allocations: 12.02 MB / 302.1 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004544/0.0004544, allocations: 31.97 kB / 355.2 MB, free: 4.012 MB / 286.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.779/1.779, allocations: 272.2 MB / 0.6645 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 111 kB / 0.7844 GB, free: 31.55 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1858, allocations: 109.2 MB / 0.891 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5806/0.7665, allocations: 212.1 MB / 1.098 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.7796, allocations: 10.76 MB / 1.109 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.7819, allocations: 61.91 kB / 1.109 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.7839, allocations: 0.7558 MB / 1.109 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005924/0.7898, allocations: 2.619 MB / 1.112 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.7936, allocations: 1.716 MB / 1.114 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00663/0.8002, allocations: 6.635 MB / 1.12 GB, free: 15.66 MB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.8038, allocations: 2.641 MB / 1.123 GB, free: 14.58 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.8096, allocations: 2.502 MB / 1.125 GB, free: 13.58 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.8135, allocations: 2.004 MB / 1.127 GB, free: 12.88 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.8149, allocations: 250.1 kB / 1.127 GB, free: 12.88 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007434/0.8223, allocations: 2.635 MB / 1.13 GB, free: 11.97 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.8237, allocations: 0.785 MB / 1.131 GB, free: 11.42 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.8265, allocations: 1.416 MB / 1.132 GB, free: 10.52 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.007371/0.8338, allocations: 4.808 MB / 1.137 GB, free: 7.625 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8339, allocations: 4 kB / 1.137 GB, free: 7.621 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8339, allocations: 0 / 1.137 GB, free: 7.621 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0001368/0.834, allocations: 2.719 kB / 1.137 GB, free: 7.621 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.007187/0.8412, allocations: 3.051 MB / 1.14 GB, free: 5.496 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8413, allocations: 11.91 kB / 1.14 GB, free: 5.492 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005605/0.8418, allocations: 242.9 kB / 1.14 GB, free: 5.309 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.8452, allocations: 0.5435 MB / 1.141 GB, free: 5.055 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.8493, allocations: 2.206 MB / 1.143 GB, free: 3.566 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.8494, allocations: 124.5 kB / 1.143 GB, free: 3.512 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.8498, allocations: 158.2 kB / 1.143 GB, free: 3.461 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.8539, allocations: 2.314 MB / 1.145 GB, free: 2.113 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.029e-05/0.854, allocations: 1.969 kB / 1.145 GB, free: 2.113 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.8542, allocations: 74.16 kB / 1.145 GB, free: 2.059 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-05/0.8543, allocations: 68.77 kB / 1.145 GB, free: 2.047 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.8579, allocations: 2.039 MB / 1.147 GB, free: 1.031 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.0113/0.8692, allocations: 8.223 MB / 1.155 GB, free: 10.28 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.8715, allocations: 1.397 MB / 1.157 GB, free: 8.859 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.873, allocations: 0.8753 MB / 1.158 GB, free: 7.98 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/0.874, allocations: 0.885 MB / 1.158 GB, free: 6.918 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.8755, allocations: 0.8596 MB / 1.159 GB, free: 6.047 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 2.976e-06/0.8756, allocations: 0 / 1.159 GB, free: 6.047 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.004016/0.8796, allocations: 1.997 MB / 1.161 GB, free: 4.043 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.8797, allocations: 94.11 kB / 1.161 GB, free: 3.934 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.8823, allocations: 1.727 MB / 1.163 GB, free: 2.207 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.8825, allocations: 53.7 kB / 1.163 GB, free: 2.148 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007808/0.8832, allocations: 0.895 MB / 1.164 GB, free: 1.242 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.8836, allocations: 390.9 kB / 1.164 GB, free: 0.8633 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004075/0.8841, allocations: 250.8 kB / 1.165 GB, free: 0.6094 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8842, allocations: 357.9 kB / 1.165 GB, free: 260 kB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.8854, allocations: 0.6279 MB / 1.166 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.8868, allocations: 0.8855 MB / 1.166 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/0.9016, allocations: 3.939 MB / 1.17 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9017, allocations: 0 / 1.17 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003451/0.9051, allocations: 1.847 MB / 1.172 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.9052, allocations: 37.7 kB / 1.172 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.9052, allocations: 11.92 kB / 1.172 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.9052, allocations: 12 kB / 1.172 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.907, allocations: 391.8 kB / 1.172 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.9077, allocations: 1.195 MB / 1.174 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.9097, allocations: 256.4 kB / 1.174 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.9099, allocations: 51.98 kB / 1.174 GB, free: 6.77 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.002356/0.9122, allocations: 1.445 MB / 1.175 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001356/0.9136, allocations: 0.8854 MB / 1.176 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01487/0.9285, allocations: 3.904 MB / 1.18 GB, free: 364 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.976e-06/0.9285, allocations: 4 kB / 1.18 GB, free: 360 kB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.0038/0.9323, allocations: 1.838 MB / 1.182 GB, free: 14.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.9324, allocations: 37.69 kB / 1.182 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.9324, allocations: 4 kB / 1.182 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9324, allocations: 12 kB / 1.182 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.9339, allocations: 371.9 kB / 1.182 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.9339, allocations: 8 kB / 1.182 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.936, allocations: 232.3 kB / 1.182 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.9361, allocations: 59.98 kB / 1.183 GB, free: 13.79 MB / 0.795 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.00064/0.9368, allocations: 414.6 kB / 1.183 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.9373, allocations: 193.8 kB / 1.183 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/0.9406, allocations: 1.648 MB / 1.185 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.9406, allocations: 12 kB / 1.185 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9407, allocations: 3.938 kB / 1.185 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/0.9431, allocations: 1.549 MB / 1.186 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/0.95, allocations: 3.812 MB / 1.19 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9501, allocations: 7.984 kB / 1.19 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.9515, allocations: 304 kB / 1.19 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.9516, allocations: 12 kB / 1.19 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.9517, allocations: 35.98 kB / 1.19 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005906/0.9523, allocations: 1.184 MB / 1.191 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9523, allocations: 4 kB / 1.191 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.9566, allocations: 2.522 MB / 1.194 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.9576, allocations: 454.4 kB / 1.194 GB, free: 1.398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004628/0.9581, allocations: 39.92 kB / 1.194 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.96, allocations: 173.1 kB / 1.195 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.9602, allocations: 84.83 kB / 1.195 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.9604, allocations: 51.97 kB / 1.195 GB, free: 1.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00212/0.9625, allocations: 1.219 MB / 1.196 GB, free: 15.85 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9625, allocations: 4 kB / 1.196 GB, free: 15.84 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.003101/0.9656, allocations: 1.103 MB / 1.197 GB, free: 14.74 MB / 0.8107 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.005428/0.971, allocations: 3.357 MB / 1.2 GB, free: 11.34 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.007018/0.9781, allocations: 3.154 MB / 1.203 GB, free: 8.164 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.9781, allocations: 448 / 1.203 GB, free: 8.16 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.9796, allocations: 0.764 MB / 1.204 GB, free: 7.395 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/0.9856, allocations: 1.199 MB / 1.205 GB, free: 6.234 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/1.023, allocations: 18.18 MB / 1.223 GB, free: 3.137 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/1.025, allocations: 1.856 MB / 1.225 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.003114/1.028, allocations: 0.8699 MB / 1.226 GB, free: 380 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.03, allocations: 0.7949 MB / 1.226 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of SimCode: time 8.72e-07/1.03, allocations: 0 / 1.226 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.691/1.721, allocations: 58.29 MB / 1.283 GB, free: 6.027 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.721, allocations: 280.6 kB / 1.284 GB, free: 5.664 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/5.181, allocations: 0 / 1.284 GB, free: 5.664 MB / 0.8888 GB (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)