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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007389/0.0007389, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007225/0.0007225, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8163/0.8163, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03341/0.03341, allocations: 9.113 MB / 269.1 MB, free: 4.477 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004239/0.0004239, allocations: 23.95 kB / 328.5 MB, free: 20.65 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.473/1.473, allocations: 275 MB / 0.6474 GB, free: 2.5 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9292 GB, free: 8.191 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.963e-05, allocations: 6.219 kB / 0.9292 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1461/0.1461, allocations: 190.5 MB / 1.115 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1577, allocations: 10.2 MB / 1.125 GB, free: 14.82 MB / 0.9012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1596, allocations: 95.19 kB / 1.125 GB, free: 14.72 MB / 0.9012 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.1619, allocations: 0.8498 MB / 1.126 GB, free: 13.87 MB / 0.9012 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.1688, allocations: 3.019 MB / 1.129 GB, free: 10.83 MB / 0.9012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.1731, allocations: 1.98 MB / 1.131 GB, free: 8.867 MB / 0.9012 GB Notification: Performance of NFFlatten.flatten: time 0.006052/0.1792, allocations: 6.951 MB / 1.138 GB, free: 1.891 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.1817, allocations: 1.815 MB / 1.14 GB, free: 28 kB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.1881, allocations: 3.736 MB / 1.143 GB, free: 12.29 MB / 0.9168 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.1911, allocations: 1.907 MB / 1.145 GB, free: 10.38 MB / 0.9168 GB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.1916, allocations: 248 kB / 1.145 GB, free: 10.14 MB / 0.9168 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.1953, allocations: 2.119 MB / 1.147 GB, free: 8.016 MB / 0.9168 GB Notification: Performance of NFScalarize.scalarize: time 0.0009665/0.1963, allocations: 0.8566 MB / 1.148 GB, free: 7.156 MB / 0.9168 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.1979, allocations: 0.99 MB / 1.149 GB, free: 6.164 MB / 0.9168 GB Notification: Performance of NFConvertDAE.convert: time 0.006492/0.2044, allocations: 4.823 MB / 1.154 GB, free: 1.328 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.2044, allocations: 4 kB / 1.154 GB, free: 1.324 MB / 0.9168 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2044, allocations: 0 / 1.154 GB, free: 1.324 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 5.986e-05/0.2044, allocations: 0 / 1.154 GB, free: 1.324 MB / 0.9168 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.004375/0.2088, allocations: 3.033 MB / 1.157 GB, free: 14.23 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2088, allocations: 15.98 kB / 1.157 GB, free: 14.22 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.2105, allocations: 0.5605 MB / 1.157 GB, free: 13.66 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.2137, allocations: 2.185 MB / 1.16 GB, free: 11.43 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.2138, allocations: 123.1 kB / 1.16 GB, free: 11.3 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.214, allocations: 160 kB / 1.16 GB, free: 11.15 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.2167, allocations: 2.748 MB / 1.163 GB, free: 8.246 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.2168, allocations: 3.953 kB / 1.163 GB, free: 8.242 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.2169, allocations: 64 kB / 1.163 GB, free: 8.18 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.2169, allocations: 75.02 kB / 1.163 GB, free: 8.105 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.2192, allocations: 2.042 MB / 1.165 GB, free: 6.059 MB / 0.9324 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.007191/0.2264, allocations: 5.944 MB / 1.17 GB, free: 24 kB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3443/0.5707, allocations: 1.414 MB / 1.172 GB, free: 242.9 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5717, allocations: 0.8382 MB / 1.173 GB, free: 242.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004063/0.5721, allocations: 135.9 kB / 1.173 GB, free: 242.6 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.5733, allocations: 1.303 MB / 1.174 GB, free: 241.8 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=111): time 3.576e-06/0.5733, allocations: 0 / 1.174 GB, free: 241.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=111): time 0.002902/0.5762, allocations: 2.012 MB / 1.176 GB, free: 241.2 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.5762, allocations: 94.38 kB / 1.176 GB, free: 241.1 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.578, allocations: 1.603 MB / 1.178 GB, free: 240.6 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.5781, allocations: 50.39 kB / 1.178 GB, free: 240.5 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/0.5786, allocations: 0.9251 MB / 1.179 GB, free: 240 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.5789, allocations: 418.6 kB / 1.179 GB, free: 239.7 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.5791, allocations: 250.3 kB / 1.179 GB, free: 239.6 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.5792, allocations: 360.7 kB / 1.18 GB, free: 239.3 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.58, allocations: 0.666 MB / 1.18 GB, free: 239.1 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5811, allocations: 1.16 MB / 1.181 GB, free: 238.3 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00767/0.5888, allocations: 3.973 MB / 1.185 GB, free: 237.1 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.5888, allocations: 1.656 kB / 1.185 GB, free: 237.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002063/0.5909, allocations: 1.894 MB / 1.187 GB, free: 236.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.5909, allocations: 41.52 kB / 1.187 GB, free: 236.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5909, allocations: 3.938 kB / 1.187 GB, free: 236.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.5909, allocations: 12.34 kB / 1.187 GB, free: 236.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/0.5918, allocations: 380.5 kB / 1.188 GB, free: 236.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002979/0.5921, allocations: 1.199 MB / 1.189 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/0.593, allocations: 171.7 kB / 1.189 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.593, allocations: 50.19 kB / 1.189 GB, free: 235 MB / 0.9324 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 = 1e5 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 = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] dynamicHX.vol2[1].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.1 protected = true ) \"Structurally independent mass fractions\" type: Real [2,1] 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]) + (2.5010145e6 + 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 = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] dynamicHX.vol2[2].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.1 protected = true ) \"Structurally independent mass fractions\" 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) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001451/0.5945, allocations: 1.481 MB / 1.19 GB, free: 234.4 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006899/0.5952, allocations: 1.165 MB / 1.191 GB, free: 233.4 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006173/0.6013, allocations: 3.939 MB / 1.195 GB, free: 229.8 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.6013, allocations: 2.5 kB / 1.195 GB, free: 229.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001852/0.6032, allocations: 1.888 MB / 1.197 GB, free: 227.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6032, allocations: 35.27 kB / 1.197 GB, free: 227.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6032, allocations: 4 kB / 1.197 GB, free: 227.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.6032, allocations: 19.92 kB / 1.197 GB, free: 227.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.6039, allocations: 358.8 kB / 1.198 GB, free: 227.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6039, allocations: 8 kB / 1.198 GB, free: 227.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.6047, allocations: 158.4 kB / 1.198 GB, free: 227.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.6047, allocations: 56.83 kB / 1.198 GB, free: 227.3 MB / 0.9324 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 = 1e5 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 = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] dynamicHX.vol2[1].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.1 protected = true ) \"Structurally independent mass fractions\" type: Real [2,1] 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]) + (2.5010145e6 + 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 = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] dynamicHX.vol2[2].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.1 protected = true ) \"Structurally independent mass fractions\" 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) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] 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.0003691/0.6051, allocations: 411.5 kB / 1.198 GB, free: 226.9 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.6053, allocations: 186.8 kB / 1.198 GB, free: 226.7 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.6069, allocations: 1.669 MB / 1.2 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6069, allocations: 12 kB / 1.2 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6069, allocations: 0 / 1.2 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.608, allocations: 1.571 MB / 1.202 GB, free: 223.4 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6112, allocations: 3.461 MB / 1.205 GB, free: 219.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6113, allocations: 1.156 kB / 1.205 GB, free: 219.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.6119, allocations: 306.4 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.6119, allocations: 7.938 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.612, allocations: 40.03 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000198/0.6122, allocations: 1.188 MB / 1.206 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6122, allocations: 9.812 kB / 1.206 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.6142, allocations: 2.467 MB / 1.209 GB, free: 215.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.6147, allocations: 387.4 kB / 1.209 GB, free: 215.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6148, allocations: 32.53 kB / 1.209 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.6154, allocations: 94.77 kB / 1.209 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6155, allocations: 88.84 kB / 1.209 GB, free: 215.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.6156, allocations: 47.97 kB / 1.209 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0008432/0.6164, allocations: 1.118 MB / 1.211 GB, free: 214.1 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6164, allocations: 3.047 kB / 1.211 GB, free: 214.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001526/0.6179, allocations: 1.177 MB / 1.212 GB, free: 213 MB / 0.9324 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.medium.Xi[1],dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[2].dynBal.medium.Xi[1],dynamicHX.vol2[2].dynBal.U,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.0004682/0.6184, allocations: 395.6 kB / 1.212 GB, free: 212.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.6209, allocations: 2.48 MB / 1.214 GB, free: 210.2 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6209, allocations: 2.219 kB / 1.215 GB, free: 210.2 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.6216, allocations: 0.7223 MB / 1.215 GB, free: 209.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.6239, allocations: 1.098 MB / 1.216 GB, free: 208.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.6277, allocations: 4.439 MB / 1.221 GB, free: 204 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.6283, allocations: 1.242 MB / 1.222 GB, free: 202.7 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.6287, allocations: 156.4 kB / 1.222 GB, free: 202.6 MB / 0.9324 GB Notification: Performance of SimCode: time 1.122e-06/0.6287, allocations: 0 / 1.222 GB, free: 202.6 MB / 0.9324 GB Notification: Performance of Templates: time 0.0352/0.6639, allocations: 59.8 MB / 1.28 GB, free: 143 MB / 0.9324 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.926516289822757] Failed to read output from testmodel.py, exit status != 0: 0.6699171047657728 0.678452582 0.47251808100000003 Calling exit ...