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-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.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-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_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.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.177/0.177, allocations: 12.02 MB / 302.4 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005769/0.000577, allocations: 27.88 kB / 355.5 MB, free: 3.871 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.77/1.77, allocations: 268.1 MB / 0.6608 GB, free: 0.793 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 116.3 kB / 0.7802 GB, free: 32.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 108.4 MB / 0.886 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5979/0.7703, allocations: 214.8 MB / 1.096 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.7845, allocations: 10.82 MB / 1.106 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.7872, allocations: 69.66 kB / 1.106 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.7892, allocations: 0.8604 MB / 1.107 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006587/0.7958, allocations: 2.796 MB / 1.11 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.8003, allocations: 1.849 MB / 1.112 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006784/0.8071, allocations: 6.608 MB / 1.118 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.8102, allocations: 2.685 MB / 1.121 GB, free: 16.57 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.815, allocations: 2.468 MB / 1.123 GB, free: 15.81 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.8183, allocations: 1.917 MB / 1.125 GB, free: 15.19 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.0005219/0.8188, allocations: 247.5 kB / 1.125 GB, free: 15.19 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006065/0.8249, allocations: 2.555 MB / 1.128 GB, free: 14.66 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.826, allocations: 0.7819 MB / 1.129 GB, free: 14.12 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.8282, allocations: 1.418 MB / 1.13 GB, free: 13.23 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.8341, allocations: 4.689 MB / 1.135 GB, free: 10.42 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8341, allocations: 4 kB / 1.135 GB, free: 10.41 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8341, allocations: 0 / 1.135 GB, free: 10.41 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 3.398e-05/0.8342, allocations: 0 / 1.135 GB, free: 10.41 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.005199/0.8394, allocations: 3.045 MB / 1.138 GB, free: 8.312 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8394, allocations: 16.48 kB / 1.138 GB, free: 8.305 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/0.8398, allocations: 242 kB / 1.138 GB, free: 8.121 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.8427, allocations: 0.5517 MB / 1.138 GB, free: 7.863 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.846, allocations: 2.122 MB / 1.14 GB, free: 6.477 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.8461, allocations: 125.1 kB / 1.141 GB, free: 6.418 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.8463, allocations: 163.9 kB / 1.141 GB, free: 6.367 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.8499, allocations: 2.309 MB / 1.143 GB, free: 5.027 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.8499, allocations: 6.688 kB / 1.143 GB, free: 5.023 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.8501, allocations: 67.81 kB / 1.143 GB, free: 4.973 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/0.8502, allocations: 67.14 kB / 1.143 GB, free: 4.961 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.8536, allocations: 2.04 MB / 1.145 GB, free: 3.953 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.0104/0.864, allocations: 8.361 MB / 1.153 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.8665, allocations: 1.391 MB / 1.155 GB, free: 11.94 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.8681, allocations: 0.8675 MB / 1.155 GB, free: 11.07 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.8691, allocations: 0.8914 MB / 1.156 GB, free: 10 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.8707, allocations: 0.8558 MB / 1.157 GB, free: 9.133 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 2.915e-06/0.8707, allocations: 0 / 1.157 GB, free: 9.133 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.004241/0.875, allocations: 1.989 MB / 1.159 GB, free: 7.137 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.875, allocations: 98.03 kB / 1.159 GB, free: 7.023 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.8774, allocations: 1.777 MB / 1.161 GB, free: 5.246 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.8775, allocations: 53.7 kB / 1.161 GB, free: 5.188 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008317/0.8784, allocations: 0.8957 MB / 1.162 GB, free: 4.281 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.8788, allocations: 402 kB / 1.162 GB, free: 3.895 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.8792, allocations: 254.7 kB / 1.162 GB, free: 3.641 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8793, allocations: 353.9 kB / 1.163 GB, free: 3.289 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.8805, allocations: 0.6266 MB / 1.163 GB, free: 2.656 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.8819, allocations: 0.8815 MB / 1.164 GB, free: 1.688 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/0.897, allocations: 3.94 MB / 1.168 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.8971, allocations: 3.938 kB / 1.168 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003598/0.9007, allocations: 1.846 MB / 1.17 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.9007, allocations: 39.45 kB / 1.17 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9008, allocations: 11.94 kB / 1.17 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.9008, allocations: 8 kB / 1.17 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.9026, allocations: 395.4 kB / 1.17 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008534/0.9035, allocations: 1.203 MB / 1.172 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.9052, allocations: 182.7 kB / 1.172 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9054, allocations: 51.98 kB / 1.172 GB, free: 9.867 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 * dynamicHX.vol1[2].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002742/0.9081, allocations: 1.454 MB / 1.173 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001365/0.9095, allocations: 0.8782 MB / 1.174 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01505/0.9245, allocations: 3.901 MB / 1.178 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/0.9246, allocations: 0 / 1.178 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003678/0.9283, allocations: 1.839 MB / 1.18 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.9283, allocations: 33.7 kB / 1.18 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9283, allocations: 4.562 kB / 1.18 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9284, allocations: 16 kB / 1.18 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.9299, allocations: 359.5 kB / 1.18 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/0.9299, allocations: 23.91 kB / 1.18 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.9316, allocations: 176.8 kB / 1.18 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.9317, allocations: 47.98 kB / 1.18 GB, free: 0.9492 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 * dynamicHX.vol1[2].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005662/0.9323, allocations: 430 kB / 1.181 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.9327, allocations: 193.8 kB / 1.181 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/0.9359, allocations: 1.644 MB / 1.183 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.9359, allocations: 12 kB / 1.183 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.936, allocations: 3.938 kB / 1.183 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002583/0.9385, allocations: 1.553 MB / 1.184 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.9452, allocations: 3.852 MB / 1.188 GB, free: 9.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9452, allocations: 0 / 1.188 GB, free: 9.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.9467, allocations: 312 kB / 1.188 GB, free: 8.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.9467, allocations: 8 kB / 1.188 GB, free: 8.812 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/0.9468, allocations: 39.92 kB / 1.188 GB, free: 8.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.9474, allocations: 1.192 MB / 1.189 GB, free: 7.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.9474, allocations: 4 kB / 1.189 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.9516, allocations: 2.518 MB / 1.192 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.9525, allocations: 454.4 kB / 1.192 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.9527, allocations: 43.97 kB / 1.192 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.954, allocations: 91.88 kB / 1.192 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.9542, allocations: 92.86 kB / 1.192 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.9543, allocations: 51.97 kB / 1.192 GB, free: 4.219 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001695/0.956, allocations: 1.251 MB / 1.194 GB, free: 2.977 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.956, allocations: 0 / 1.194 GB, free: 2.977 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002483/0.9585, allocations: 1.126 MB / 1.195 GB, free: 1.848 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.004996/0.9635, allocations: 3.359 MB / 1.198 GB, free: 14.45 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.006064/0.9696, allocations: 3.169 MB / 1.201 GB, free: 11.26 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9696, allocations: 0.875 kB / 1.201 GB, free: 11.26 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.971, allocations: 0.755 MB / 1.202 GB, free: 10.5 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/0.9764, allocations: 1.203 MB / 1.203 GB, free: 9.395 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.003, allocations: 17.65 MB / 1.22 GB, free: 6.824 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/1.005, allocations: 1.852 MB / 1.222 GB, free: 4.938 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.00265/1.007, allocations: 0.8742 MB / 1.223 GB, free: 4.062 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.008, allocations: 0.7883 MB / 1.224 GB, free: 3.273 MB / 0.8263 GB Notification: Performance of SimCode: time 5.51e-07/1.008, allocations: 0 / 1.224 GB, free: 3.273 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09682/1.105, allocations: 59.26 MB / 1.282 GB, free: 8.672 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.23, allocations: 11.83 kB / 1.282 GB, free: 8.66 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 AixLib_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)