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.001258/0.001258, 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.00134/0.00134, allocations: 192.9 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.1592/0.1592, allocations: 12.01 MB / 302.4 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005452/0.0005452, allocations: 31.92 kB / 355.5 MB, free: 3.816 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.707/1.707, allocations: 272.2 MB / 0.6648 GB, free: 12.94 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 120.6 kB / 0.785 GB, free: 31.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 109.1 MB / 0.8916 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5491/0.7206, allocations: 214.8 MB / 1.101 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.7348, allocations: 10.82 MB / 1.112 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.7377, allocations: 69.56 kB / 1.112 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.7398, allocations: 0.8685 MB / 1.113 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006203/0.746, allocations: 2.797 MB / 1.116 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.7498, allocations: 1.838 MB / 1.117 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006132/0.756, allocations: 6.629 MB / 1.124 GB, free: 14.39 MB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.7586, allocations: 2.687 MB / 1.126 GB, free: 13.03 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.7625, allocations: 2.465 MB / 1.129 GB, free: 11.8 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.7648, allocations: 1.911 MB / 1.131 GB, free: 10.81 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.7651, allocations: 247.3 kB / 1.131 GB, free: 10.81 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.7696, allocations: 2.554 MB / 1.133 GB, free: 9.719 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.0007134/0.7704, allocations: 0.7832 MB / 1.134 GB, free: 9.164 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.7719, allocations: 1.408 MB / 1.136 GB, free: 8.266 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.7774, allocations: 4.694 MB / 1.14 GB, free: 5.426 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7774, allocations: 4 kB / 1.14 GB, free: 5.422 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7774, allocations: 0 / 1.14 GB, free: 5.422 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.7775, allocations: 0 / 1.14 GB, free: 5.422 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.005116/0.7826, allocations: 3.052 MB / 1.143 GB, free: 3.301 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7826, allocations: 13.91 kB / 1.143 GB, free: 3.297 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002839/0.7829, allocations: 241.3 kB / 1.143 GB, free: 3.113 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.7858, allocations: 0.5517 MB / 1.144 GB, free: 2.855 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.7891, allocations: 2.111 MB / 1.146 GB, free: 1.426 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.7892, allocations: 122.6 kB / 1.146 GB, free: 1.371 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.7894, allocations: 167.7 kB / 1.146 GB, free: 1.316 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.7929, allocations: 2.312 MB / 1.149 GB, free: 15.97 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.793, allocations: 3.938 kB / 1.149 GB, free: 15.96 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.7932, allocations: 65 kB / 1.149 GB, free: 15.92 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/0.7932, allocations: 75.16 kB / 1.149 GB, free: 15.9 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.7967, allocations: 2.041 MB / 1.151 GB, free: 14.88 MB / 0.7638 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.01134/0.808, allocations: 8.357 MB / 1.159 GB, free: 7.621 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.8102, allocations: 1.401 MB / 1.16 GB, free: 6.195 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.8116, allocations: 0.8675 MB / 1.161 GB, free: 5.328 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008978/0.8125, allocations: 0.8843 MB / 1.162 GB, free: 4.266 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.8139, allocations: 0.8558 MB / 1.163 GB, free: 3.398 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 2.975e-06/0.8139, allocations: 3.938 kB / 1.163 GB, free: 3.395 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.003965/0.8179, allocations: 1.993 MB / 1.165 GB, free: 1.398 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.818, allocations: 90.11 kB / 1.165 GB, free: 1.293 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.8204, allocations: 1.781 MB / 1.166 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.8206, allocations: 53.7 kB / 1.167 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.8213, allocations: 0.8873 MB / 1.167 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.8217, allocations: 409.2 kB / 1.168 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.8221, allocations: 246.8 kB / 1.168 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8223, allocations: 361.9 kB / 1.168 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.8233, allocations: 0.6227 MB / 1.169 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.8246, allocations: 0.8823 MB / 1.17 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/0.8385, allocations: 3.943 MB / 1.174 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8385, allocations: 0 / 1.174 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003222/0.8417, allocations: 1.844 MB / 1.176 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.8418, allocations: 37.83 kB / 1.176 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.8418, allocations: 7.938 kB / 1.176 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.8418, allocations: 8 kB / 1.176 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.8435, allocations: 395.4 kB / 1.176 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006693/0.8442, allocations: 1.195 MB / 1.177 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.8458, allocations: 194.7 kB / 1.177 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.8459, allocations: 51.98 kB / 1.177 GB, free: 4.141 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.002271/0.8482, allocations: 1.461 MB / 1.179 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/0.8495, allocations: 0.8738 MB / 1.18 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01369/0.8632, allocations: 3.907 MB / 1.183 GB, free: 13.72 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.8632, allocations: 0 / 1.183 GB, free: 13.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003467/0.8667, allocations: 1.832 MB / 1.185 GB, free: 11.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.8668, allocations: 37.69 kB / 1.185 GB, free: 11.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.8668, allocations: 4.562 kB / 1.185 GB, free: 11.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8668, allocations: 16 kB / 1.185 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.8682, allocations: 363.5 kB / 1.186 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.8682, allocations: 15.98 kB / 1.186 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.8699, allocations: 170.9 kB / 1.186 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.87, allocations: 48 kB / 1.186 GB, free: 11.23 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 * 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.0005363/0.8705, allocations: 439 kB / 1.186 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.871, allocations: 193.8 kB / 1.186 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.8739, allocations: 1.648 MB / 1.188 GB, free: 8.938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.874, allocations: 11.98 kB / 1.188 GB, free: 8.926 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.874, allocations: 7.938 kB / 1.188 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/0.8762, allocations: 1.545 MB / 1.19 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/0.8822, allocations: 3.859 MB / 1.193 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.8822, allocations: 7.938 kB / 1.193 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.8835, allocations: 308 kB / 1.194 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.8836, allocations: 8 kB / 1.194 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/0.8836, allocations: 35.97 kB / 1.194 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005088/0.8842, allocations: 1.192 MB / 1.195 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8842, allocations: 0 / 1.195 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.888, allocations: 2.525 MB / 1.197 GB, free: 15.22 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.8888, allocations: 454.4 kB / 1.198 GB, free: 14.75 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.8891, allocations: 35.98 kB / 1.198 GB, free: 14.72 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.8903, allocations: 91.89 kB / 1.198 GB, free: 14.63 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.8905, allocations: 96.81 kB / 1.198 GB, free: 14.54 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.8906, allocations: 47.97 kB / 1.198 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.001597/0.8922, allocations: 1.251 MB / 1.199 GB, free: 13.25 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8922, allocations: 0 / 1.199 GB, free: 13.25 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.002341/0.8946, allocations: 1.126 MB / 1.2 GB, free: 12.12 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.004699/0.8993, allocations: 3.367 MB / 1.204 GB, free: 8.707 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.005697/0.905, allocations: 3.157 MB / 1.207 GB, free: 5.527 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.905, allocations: 4.875 kB / 1.207 GB, free: 5.52 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.9063, allocations: 0.755 MB / 1.207 GB, free: 4.762 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004918/0.9113, allocations: 1.198 MB / 1.209 GB, free: 3.605 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.9351, allocations: 17.67 MB / 1.226 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.9367, allocations: 1.852 MB / 1.228 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002643/0.9394, allocations: 0.8622 MB / 1.229 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.9405, allocations: 0.7922 MB / 1.229 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.9405, allocations: 0 / 1.229 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08919/1.03, allocations: 59.26 MB / 1.287 GB, free: 2.902 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.24, allocations: 13 kB / 1.287 GB, free: 2.895 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 & python3 -m fmpy simulate --output-file AixLib_latest_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_latest_AixLib_Fluid_HeatExchangers_Examples_DynamicHX.fmu > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)