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.001221/0.001221, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001545/0.001545, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8809/0.8809, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.03781/0.03781, allocations: 9.114 MB / 268.3 MB, free: 4.488 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.0004588/0.0004588, allocations: 19.95 kB / 327.8 MB, free: 20.63 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.527/1.527, allocations: 275 MB / 0.6467 GB, free: 2.504 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.928 GB, free: 8.691 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.288e-05, allocations: 4.75 kB / 0.928 GB, free: 8.688 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1431/0.1431, allocations: 190.5 MB / 1.114 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1545, allocations: 10.19 MB / 1.124 GB, free: 15.33 MB / 0.9012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1557, allocations: 95.19 kB / 1.124 GB, free: 15.24 MB / 0.9012 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.1571, allocations: 0.8575 MB / 1.125 GB, free: 14.38 MB / 0.9012 GB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.1613, allocations: 3.015 MB / 1.128 GB, free: 11.34 MB / 0.9012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.1639, allocations: 1.978 MB / 1.13 GB, free: 9.383 MB / 0.9012 GB Notification: Performance of NFFlatten.flatten: time 0.00412/0.168, allocations: 6.958 MB / 1.137 GB, free: 2.398 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.1694, allocations: 1.819 MB / 1.138 GB, free: 0.5312 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.1731, allocations: 3.729 MB / 1.142 GB, free: 12.8 MB / 0.9168 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1747, allocations: 1.906 MB / 1.144 GB, free: 10.89 MB / 0.9168 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.1749, allocations: 248 kB / 1.144 GB, free: 10.65 MB / 0.9168 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.1775, allocations: 2.123 MB / 1.146 GB, free: 8.523 MB / 0.9168 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.178, allocations: 0.8604 MB / 1.147 GB, free: 7.66 MB / 0.9168 GB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.1788, allocations: 0.9901 MB / 1.148 GB, free: 6.668 MB / 0.9168 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.1821, allocations: 4.819 MB / 1.153 GB, free: 1.836 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1821, allocations: 0 / 1.153 GB, free: 1.836 MB / 0.9168 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1821, allocations: 0 / 1.153 GB, free: 1.836 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.1821, allocations: 0 / 1.153 GB, free: 1.836 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.003365/0.1855, allocations: 3.041 MB / 1.156 GB, free: 14.74 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1855, allocations: 11.98 kB / 1.156 GB, free: 14.73 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.1858, allocations: 244.1 kB / 1.156 GB, free: 14.48 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.1873, allocations: 0.5644 MB / 1.156 GB, free: 13.91 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.1898, allocations: 2.181 MB / 1.159 GB, free: 11.68 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.1899, allocations: 119.1 kB / 1.159 GB, free: 11.57 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.19, allocations: 164 kB / 1.159 GB, free: 11.41 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.1926, allocations: 2.744 MB / 1.161 GB, free: 8.508 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.1927, allocations: 15.88 kB / 1.162 GB, free: 8.492 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1928, allocations: 68 kB / 1.162 GB, free: 8.426 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.1928, allocations: 63.08 kB / 1.162 GB, free: 8.363 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.1951, allocations: 2.046 MB / 1.164 GB, free: 6.312 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.00579/0.2009, allocations: 6.193 MB / 1.17 GB, free: 12 kB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.329/0.5299, allocations: 1.416 MB / 1.171 GB, free: 243.3 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5309, allocations: 0.8372 MB / 1.172 GB, free: 243 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.5313, allocations: 140 kB / 1.172 GB, free: 243 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.5324, allocations: 1.303 MB / 1.173 GB, free: 242.2 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=111): time 2.445e-06/0.5324, allocations: 5.5 kB / 1.173 GB, free: 242.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=111): time 0.002841/0.5353, allocations: 2.024 MB / 1.175 GB, free: 241.6 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5353, allocations: 91.56 kB / 1.175 GB, free: 241.5 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5371, allocations: 1.799 MB / 1.177 GB, free: 240.9 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.5372, allocations: 55.11 kB / 1.177 GB, free: 240.8 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.5377, allocations: 0.911 MB / 1.178 GB, free: 240.3 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.5379, allocations: 410.4 kB / 1.178 GB, free: 240 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.5382, allocations: 251.5 kB / 1.179 GB, free: 239.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.5383, allocations: 357.9 kB / 1.179 GB, free: 239.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.5391, allocations: 0.6632 MB / 1.18 GB, free: 239.4 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.5402, allocations: 1.163 MB / 1.181 GB, free: 238.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/0.5475, allocations: 3.98 MB / 1.185 GB, free: 237.4 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.5475, allocations: 1.25 kB / 1.185 GB, free: 237.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001739/0.5492, allocations: 1.9 MB / 1.187 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5493, allocations: 33.67 kB / 1.187 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5493, allocations: 7.062 kB / 1.187 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5493, allocations: 9.125 kB / 1.187 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.5501, allocations: 388.4 kB / 1.187 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002531/0.5504, allocations: 1.201 MB / 1.188 GB, free: 235.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/0.5511, allocations: 192.3 kB / 1.188 GB, free: 235.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.5512, allocations: 55.69 kB / 1.188 GB, free: 235.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/0.5525, allocations: 1.481 MB / 1.19 GB, free: 234.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000697/0.5532, allocations: 1.157 MB / 1.191 GB, free: 233.7 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006266/0.5595, allocations: 3.937 MB / 1.195 GB, free: 230.1 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/0.5595, allocations: 4 kB / 1.195 GB, free: 230.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001609/0.5611, allocations: 1.9 MB / 1.197 GB, free: 228.2 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5611, allocations: 38.23 kB / 1.197 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5611, allocations: 11.34 kB / 1.197 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.5611, allocations: 8 kB / 1.197 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.5618, allocations: 359.5 kB / 1.197 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5618, allocations: 12 kB / 1.197 GB, free: 227.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.5624, allocations: 162.2 kB / 1.197 GB, free: 227.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.5625, allocations: 54.33 kB / 1.197 GB, free: 227.5 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.0002603/0.5627, allocations: 425 kB / 1.198 GB, free: 227.1 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5629, allocations: 198.7 kB / 1.198 GB, free: 226.9 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.5644, allocations: 1.678 MB / 1.2 GB, free: 225.3 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5644, allocations: 12 kB / 1.2 GB, free: 225.3 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5644, allocations: 0 / 1.2 GB, free: 225.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.5656, allocations: 1.575 MB / 1.201 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.5687, allocations: 3.64 MB / 1.205 GB, free: 219.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5687, allocations: 3.938 kB / 1.205 GB, free: 219.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.5693, allocations: 302.2 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5693, allocations: 8 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.5694, allocations: 35.98 kB / 1.205 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000186/0.5696, allocations: 1.19 MB / 1.206 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5696, allocations: 7.984 kB / 1.206 GB, free: 218.3 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.5715, allocations: 2.488 MB / 1.209 GB, free: 215.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.572, allocations: 398.3 kB / 1.209 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.5721, allocations: 39.92 kB / 1.209 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.5727, allocations: 101.1 kB / 1.209 GB, free: 215.3 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5728, allocations: 84.84 kB / 1.209 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.5728, allocations: 51.97 kB / 1.209 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0008478/0.5737, allocations: 1.255 MB / 1.21 GB, free: 213.9 MB / 0.9324 GB Notification: Performance of sort global known variables: time 7e-08/0.5737, allocations: 0 / 1.21 GB, free: 213.9 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001271/0.575, allocations: 1.135 MB / 1.212 GB, free: 212.8 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.002485/0.5774, allocations: 3.333 MB / 1.215 GB, free: 209.4 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.5797, allocations: 2.479 MB / 1.217 GB, free: 206.9 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5797, allocations: 2.219 kB / 1.217 GB, free: 206.9 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.5805, allocations: 0.7338 MB / 1.218 GB, free: 206.2 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.5827, allocations: 1.194 MB / 1.219 GB, free: 205.1 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.5958, allocations: 16.36 MB / 1.235 GB, free: 188.3 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.5964, allocations: 1.286 MB / 1.236 GB, free: 187 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.001284/0.5977, allocations: 0.8802 MB / 1.237 GB, free: 186.1 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.5983, allocations: 0.7854 MB / 1.238 GB, free: 185.3 MB / 0.9324 GB Notification: Performance of SimCode: time 7.41e-07/0.5983, allocations: 0 / 1.238 GB, free: 185.3 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.6475, allocations: 64.76 MB / 1.301 GB, free: 121.6 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/9.649, allocations: 6.016 kB / 1.301 GB, free: 121.6 MB / 0.9324 GB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.692046323791146] Failed to read output from testmodel.py, exit status != 0: 9.765971556305885 9.773110833 9.589619955 Calling exit ...