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.0008324/0.0008324, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008345/0.0008345, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8539/0.8539, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03427/0.03427, allocations: 9.115 MB / 268.3 MB, free: 4.504 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.0004291/0.0004291, allocations: 27.94 kB / 327.8 MB, free: 20.64 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.448/1.448, allocations: 275 MB / 0.6467 GB, free: 2.516 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.853e-06/1.853e-06, allocations: 0 / 0.928 GB, free: 8.695 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.209e-05, allocations: 2.281 kB / 0.928 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1394/0.1394, allocations: 190.5 MB / 1.114 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1513, allocations: 10.19 MB / 1.124 GB, free: 15.33 MB / 0.9012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1531, allocations: 95.19 kB / 1.124 GB, free: 15.23 MB / 0.9012 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.155, allocations: 0.8575 MB / 1.125 GB, free: 14.37 MB / 0.9012 GB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.1607, allocations: 3.015 MB / 1.128 GB, free: 11.34 MB / 0.9012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.1642, allocations: 1.97 MB / 1.13 GB, free: 9.387 MB / 0.9012 GB Notification: Performance of NFFlatten.flatten: time 0.006481/0.1707, allocations: 6.958 MB / 1.137 GB, free: 2.402 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.1732, allocations: 1.815 MB / 1.138 GB, free: 0.5391 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.1798, allocations: 3.731 MB / 1.142 GB, free: 12.8 MB / 0.9168 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.1827, allocations: 1.902 MB / 1.144 GB, free: 10.9 MB / 0.9168 GB Notification: Performance of NFPackage.collectConstants: time 0.0005079/0.1832, allocations: 252 kB / 1.144 GB, free: 10.66 MB / 0.9168 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.1869, allocations: 2.127 MB / 1.146 GB, free: 8.523 MB / 0.9168 GB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.1878, allocations: 0.8527 MB / 1.147 GB, free: 7.668 MB / 0.9168 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.1894, allocations: 0.9939 MB / 1.148 GB, free: 6.672 MB / 0.9168 GB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.1961, allocations: 4.819 MB / 1.153 GB, free: 1.84 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1961, allocations: 4 kB / 1.153 GB, free: 1.836 MB / 0.9168 GB Notification: Performance of FrontEnd: time 2.846e-06/0.1961, allocations: 0 / 1.153 GB, free: 1.836 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 8.566e-05/0.1962, 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.005166/0.2013, allocations: 3.037 MB / 1.156 GB, free: 14.74 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.2014, allocations: 15.98 kB / 1.156 GB, free: 14.73 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002834/0.2017, allocations: 240.1 kB / 1.156 GB, free: 14.48 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.2035, allocations: 0.5605 MB / 1.156 GB, free: 13.92 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.2065, allocations: 2.181 MB / 1.159 GB, free: 11.69 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.2066, allocations: 127.1 kB / 1.159 GB, free: 11.57 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.2068, allocations: 160 kB / 1.159 GB, free: 11.41 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.2098, allocations: 2.748 MB / 1.161 GB, free: 8.508 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.2098, allocations: 7.891 kB / 1.162 GB, free: 8.5 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.2099, allocations: 67.98 kB / 1.162 GB, free: 8.434 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.21, allocations: 75.02 kB / 1.162 GB, free: 8.359 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.2124, allocations: 2.038 MB / 1.164 GB, free: 6.316 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.007511/0.2199, allocations: 6.197 MB / 1.17 GB, free: 12 kB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3901/0.61, allocations: 1.415 MB / 1.171 GB, free: 242 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.6111, allocations: 0.8406 MB / 1.172 GB, free: 242 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.6115, allocations: 138.5 kB / 1.172 GB, free: 242 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.6126, allocations: 1.3 MB / 1.173 GB, free: 241.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=111): time 2.545e-06/0.6126, allocations: 0.75 kB / 1.173 GB, free: 241.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=111): time 0.002969/0.6156, allocations: 2.025 MB / 1.175 GB, free: 240.8 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6156, allocations: 92.41 kB / 1.175 GB, free: 240.7 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.6177, allocations: 1.799 MB / 1.177 GB, free: 240.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.6178, allocations: 53.64 kB / 1.177 GB, free: 240 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/0.6183, allocations: 0.9119 MB / 1.178 GB, free: 239.5 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.6186, allocations: 410.9 kB / 1.178 GB, free: 239.3 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.6189, allocations: 247.5 kB / 1.179 GB, free: 239.2 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.6189, allocations: 356.9 kB / 1.179 GB, free: 238.8 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.6198, allocations: 0.6671 MB / 1.18 GB, free: 238.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.621, allocations: 1.159 MB / 1.181 GB, free: 237.8 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007906/0.6289, allocations: 3.984 MB / 1.185 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.6289, allocations: 6.484 kB / 1.185 GB, free: 236.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002025/0.6309, allocations: 1.899 MB / 1.187 GB, free: 235.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.631, allocations: 38.12 kB / 1.187 GB, free: 235.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.631, allocations: 4.188 kB / 1.187 GB, free: 235.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.631, allocations: 10.25 kB / 1.187 GB, free: 235.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.6319, allocations: 392 kB / 1.187 GB, free: 235.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/0.6323, allocations: 1.199 MB / 1.188 GB, free: 234.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.6332, allocations: 190.5 kB / 1.188 GB, free: 234.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.6333, allocations: 52.47 kB / 1.188 GB, free: 234.6 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.001431/0.6347, allocations: 1.484 MB / 1.19 GB, free: 233.9 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007836/0.6355, allocations: 1.156 MB / 1.191 GB, free: 232.9 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006267/0.6418, allocations: 3.942 MB / 1.195 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.6418, allocations: 0 / 1.195 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001687/0.6435, allocations: 1.906 MB / 1.197 GB, free: 227.3 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6435, allocations: 37.69 kB / 1.197 GB, free: 227.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6435, allocations: 4.547 kB / 1.197 GB, free: 227.2 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.6435, allocations: 12 kB / 1.197 GB, free: 227.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.6442, allocations: 359.5 kB / 1.197 GB, free: 226.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6442, allocations: 8 kB / 1.197 GB, free: 226.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.6448, allocations: 162.4 kB / 1.197 GB, free: 226.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.6449, allocations: 56.64 kB / 1.197 GB, free: 226.7 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.0003185/0.6452, allocations: 412.7 kB / 1.198 GB, free: 226.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6454, allocations: 202.7 kB / 1.198 GB, free: 226.1 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.647, allocations: 1.681 MB / 1.2 GB, free: 224.4 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.647, allocations: 12 kB / 1.2 GB, free: 224.4 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.647, allocations: 0 / 1.2 GB, free: 224.4 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.6482, allocations: 1.571 MB / 1.201 GB, free: 222.8 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.6514, allocations: 3.638 MB / 1.205 GB, free: 219.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6514, allocations: 7.938 kB / 1.205 GB, free: 219.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.6521, allocations: 299.8 kB / 1.205 GB, free: 218.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6521, allocations: 11.94 kB / 1.205 GB, free: 218.8 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.6521, allocations: 32.75 kB / 1.205 GB, free: 218.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001888/0.6523, allocations: 1.19 MB / 1.206 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6523, allocations: 7.984 kB / 1.206 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.6543, allocations: 2.486 MB / 1.209 GB, free: 215 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.6547, allocations: 398.9 kB / 1.209 GB, free: 214.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6549, allocations: 39.92 kB / 1.209 GB, free: 214.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.6554, allocations: 98.73 kB / 1.209 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6556, allocations: 85.72 kB / 1.209 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.6556, allocations: 51.97 kB / 1.209 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0008717/0.6565, allocations: 1.255 MB / 1.21 GB, free: 213.1 MB / 0.9324 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6565, allocations: 0 / 1.21 GB, free: 213.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.00133/0.6578, allocations: 1.138 MB / 1.212 GB, free: 212 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.00242/0.6602, allocations: 3.325 MB / 1.215 GB, free: 208.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.6627, allocations: 2.482 MB / 1.217 GB, free: 206.2 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6627, allocations: 2.219 kB / 1.217 GB, free: 206.2 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.6634, allocations: 0.7288 MB / 1.218 GB, free: 205.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.666, allocations: 1.206 MB / 1.219 GB, free: 204.4 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.6796, allocations: 16.37 MB / 1.235 GB, free: 187.7 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.6802, allocations: 1.286 MB / 1.236 GB, free: 186.3 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.001437/0.6817, allocations: 0.878 MB / 1.237 GB, free: 185.5 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.6823, allocations: 0.7932 MB / 1.238 GB, free: 184.7 MB / 0.9324 GB Notification: Performance of SimCode: time 9.32e-07/0.6823, allocations: 0 / 1.238 GB, free: 184.7 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05684/0.7391, allocations: 64.75 MB / 1.301 GB, free: 121 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.993, allocations: 6.953 kB / 1.301 GB, free: 121 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_HeatExchangers_Examples_DynamicHX_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=50 --tolerance=1e-06 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.87202439084649] Failed to read output from testmodel.py, exit status != 0: 10.117094372399151 10.123388375 9.92580317 Calling exit ...