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: "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_AixLib_Fluid_HeatExchangers_Examples_DynamicHX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,fileNamePrefix="AixLib_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.001206/0.001206, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001286/0.001286, allocations: 190.7 kB / 16.25 MB, free: 6.637 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1558/0.1558, allocations: 12 MB / 302.1 MB, free: 0.8789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000496/0.000496, allocations: 23.89 kB / 355.2 MB, free: 3.957 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.762/1.762, allocations: 268.1 MB / 0.6604 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 108.7 kB / 0.7796 GB, free: 32.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 108.4 MB / 0.8854 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5439/0.7106, allocations: 212.1 MB / 1.093 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.7268, allocations: 10.76 MB / 1.103 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.7306, allocations: 64.28 kB / 1.103 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.7331, allocations: 0.7437 MB / 1.104 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.7398, allocations: 2.623 MB / 1.106 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.7439, allocations: 1.707 MB / 1.108 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006261/0.7502, allocations: 6.637 MB / 1.115 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.7531, allocations: 2.645 MB / 1.117 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.7582, allocations: 2.514 MB / 1.12 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.7614, allocations: 2.012 MB / 1.122 GB, free: 15.98 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.7618, allocations: 247.6 kB / 1.122 GB, free: 15.98 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.7667, allocations: 2.635 MB / 1.124 GB, free: 15.47 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.0008386/0.7676, allocations: 0.7833 MB / 1.125 GB, free: 15.1 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.7695, allocations: 1.414 MB / 1.126 GB, free: 14.29 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.7754, allocations: 4.811 MB / 1.131 GB, free: 12.15 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.7754, allocations: 4 kB / 1.131 GB, free: 12.15 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7755, allocations: 0 / 1.131 GB, free: 12.15 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 5.546e-05/0.7755, allocations: 0 / 1.131 GB, free: 12.15 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.005883/0.7814, allocations: 3.048 MB / 1.134 GB, free: 10.04 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7815, allocations: 12.92 kB / 1.134 GB, free: 10.04 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003499/0.7818, allocations: 240.8 kB / 1.134 GB, free: 9.859 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.7852, allocations: 0.5555 MB / 1.135 GB, free: 9.598 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/0.7893, allocations: 2.201 MB / 1.137 GB, free: 8.16 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-05/0.7894, allocations: 129.4 kB / 1.137 GB, free: 8.098 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.7897, allocations: 164.2 kB / 1.137 GB, free: 8.047 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.7935, allocations: 2.31 MB / 1.14 GB, free: 6.707 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.7935, allocations: 6.5 kB / 1.14 GB, free: 6.707 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.7937, allocations: 68.25 kB / 1.14 GB, free: 6.656 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.7938, allocations: 62.89 kB / 1.14 GB, free: 6.648 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.7971, allocations: 2.044 MB / 1.142 GB, free: 5.637 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.0107/0.8078, allocations: 8.223 MB / 1.15 GB, free: 15.27 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.8101, allocations: 1.401 MB / 1.151 GB, free: 14.2 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.8115, allocations: 0.8636 MB / 1.152 GB, free: 13.34 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009847/0.8125, allocations: 0.8881 MB / 1.153 GB, free: 12.27 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/0.814, allocations: 0.8635 MB / 1.154 GB, free: 11.39 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 3.296e-06/0.814, allocations: 0 / 1.154 GB, free: 11.39 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.003915/0.8179, allocations: 1.988 MB / 1.156 GB, free: 9.406 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.818, allocations: 94.11 kB / 1.156 GB, free: 9.297 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.8202, allocations: 1.731 MB / 1.157 GB, free: 7.566 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.8203, allocations: 53.7 kB / 1.157 GB, free: 7.508 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.821, allocations: 0.8923 MB / 1.158 GB, free: 6.605 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.8214, allocations: 405.5 kB / 1.159 GB, free: 6.215 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.8218, allocations: 242.8 kB / 1.159 GB, free: 5.973 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8219, allocations: 357.9 kB / 1.159 GB, free: 5.617 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.823, allocations: 0.6305 MB / 1.16 GB, free: 4.98 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.8243, allocations: 0.8762 MB / 1.161 GB, free: 4.02 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/0.8384, allocations: 3.945 MB / 1.165 GB, free: 8 kB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8384, allocations: 2.531 kB / 1.165 GB, free: 8 kB / 0.7638 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003292/0.8417, allocations: 1.85 MB / 1.166 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.8417, allocations: 37.73 kB / 1.166 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8418, allocations: 11.94 kB / 1.166 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.8418, allocations: 8 kB / 1.167 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.8435, allocations: 389.5 kB / 1.167 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.8443, allocations: 1.2 MB / 1.168 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.8461, allocations: 258.4 kB / 1.168 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.8463, allocations: 55.92 kB / 1.168 GB, free: 12.2 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.002351/0.8486, allocations: 1.435 MB / 1.17 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/0.8499, allocations: 0.8802 MB / 1.171 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01488/0.8648, allocations: 3.905 MB / 1.174 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/0.8648, allocations: 0 / 1.174 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003476/0.8683, allocations: 1.84 MB / 1.176 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.8684, allocations: 37.83 kB / 1.176 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8684, allocations: 8 kB / 1.176 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8684, allocations: 12 kB / 1.176 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.8699, allocations: 361.7 kB / 1.177 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.8699, allocations: 18.42 kB / 1.177 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.8718, allocations: 230.8 kB / 1.177 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8719, allocations: 51.98 kB / 1.177 GB, free: 3.305 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.0005733/0.8725, allocations: 420.2 kB / 1.177 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.8728, allocations: 189.7 kB / 1.177 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.8759, allocations: 1.651 MB / 1.179 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.876, allocations: 12 kB / 1.179 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.876, allocations: 7.938 kB / 1.179 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/0.8783, allocations: 1.547 MB / 1.181 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/0.8848, allocations: 3.813 MB / 1.184 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.8848, allocations: 8.031 kB / 1.184 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.8862, allocations: 300.5 kB / 1.185 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.8863, allocations: 8 kB / 1.185 GB, free: 11.28 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.8864, allocations: 35.98 kB / 1.185 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006052/0.887, allocations: 1.186 MB / 1.186 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.887, allocations: 6.438 kB / 1.186 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.8912, allocations: 2.523 MB / 1.188 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/0.8922, allocations: 458.2 kB / 1.189 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.8925, allocations: 35.98 kB / 1.189 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.894, allocations: 164.8 kB / 1.189 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.8942, allocations: 91.44 kB / 1.189 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.8943, allocations: 47.97 kB / 1.189 GB, free: 6.633 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001697/0.8961, allocations: 1.219 MB / 1.19 GB, free: 5.422 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8961, allocations: 0 / 1.19 GB, free: 5.422 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002526/0.8986, allocations: 1.103 MB / 1.191 GB, free: 4.316 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.005124/0.9037, allocations: 3.366 MB / 1.195 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006069/0.9098, allocations: 3.168 MB / 1.198 GB, free: 13.81 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9098, allocations: 4.438 kB / 1.198 GB, free: 13.81 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.9113, allocations: 0.7564 MB / 1.198 GB, free: 13.08 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/0.9163, allocations: 1.187 MB / 1.2 GB, free: 11.98 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/0.9494, allocations: 18.19 MB / 1.217 GB, free: 8.926 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.951, allocations: 1.852 MB / 1.219 GB, free: 7.039 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.002797/0.9538, allocations: 0.8661 MB / 1.22 GB, free: 6.168 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.955, allocations: 0.7843 MB / 1.221 GB, free: 5.383 MB / 0.8263 GB Notification: Performance of SimCode: time 6.71e-07/0.955, allocations: 0 / 1.221 GB, free: 5.383 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7482/1.703, allocations: 58.29 MB / 1.278 GB, free: 11.8 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.704, allocations: 261.4 kB / 1.278 GB, free: 11.48 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.872, allocations: 3.938 kB / 1.278 GB, free: 11.48 MB / 0.8888 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_HeatExchangers_Examples_DynamicHX_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)