Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009989/0.009993, allocations: 159.1 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.74/1.74, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00177/0.00177, allocations: 110.8 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4425/0.4425, allocations: 38.05 MB / 303.7 MB, free: 42.82 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 15.94 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 48.71 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004607/0.136, allocations: 1.746 MB / 413.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.1401, allocations: 1.283 MB / 414.8 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1404, allocations: 0 / 414.8 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.1409, allocations: 71.58 kB / 414.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.1413, allocations: 59.48 kB / 414.9 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1425, allocations: 167.4 kB / 415 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.143, allocations: 155 kB / 415.2 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1431, allocations: 20.28 kB / 415.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1433, allocations: 59.66 kB / 415.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1435, allocations: 59.59 kB / 415.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1436, allocations: 4 kB / 415.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1451, allocations: 399.4 kB / 415.7 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1453, allocations: 19.86 kB / 415.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1454, allocations: 53.58 kB / 415.8 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1467, allocations: 239.4 kB / 416 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1468, allocations: 0 / 416 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1468, allocations: 0 / 416 MB, free: 344 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1469, allocations: 4 kB / 416 MB, free: 340 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00134/0.1482, allocations: 470.5 kB / 416.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.642e-05/0.1483, allocations: 12.03 kB / 416.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.1486, allocations: 50.55 kB / 416.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1488, allocations: 31.59 kB / 416.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.1492, allocations: 210.7 kB / 416.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.1493, allocations: 8 kB / 416.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1493, allocations: 24 kB / 416.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.15, allocations: 198.7 kB / 417 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.15, allocations: 7.938 kB / 417 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.15, allocations: 8 kB / 417 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1501, allocations: 4 kB / 417 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.1506, allocations: 164.2 kB / 417.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1519, allocations: 0.5676 MB / 417.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1523, allocations: 66.55 kB / 417.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1526, allocations: 36.94 kB / 417.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.1526, allocations: 0 / 417.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1527, allocations: 38.56 kB / 417.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 4.609e-06/0.1527, allocations: 0 / 417.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007902/0.1535, allocations: 149.3 kB / 418 MB, free: 14.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1536, allocations: 59.39 kB / 418.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.154, allocations: 254.7 kB / 418.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.154, allocations: 25.7 kB / 418.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1542, allocations: 163.7 kB / 418.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1542, allocations: 27.69 kB / 418.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.1542, allocations: 0 / 418.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1544, allocations: 334.8 kB / 418.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1547, allocations: 47.97 kB / 418.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.155, allocations: 136.8 kB / 419.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1553, allocations: 59.97 kB / 419.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1553, allocations: 0 / 419.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007659/0.1561, allocations: 209.1 kB / 419.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1562, allocations: 4 kB / 419.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.411e-05/0.1562, allocations: 16.62 kB / 419.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.1563, allocations: 4 kB / 419.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1566, allocations: 43.97 kB / 419.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.1567, allocations: 7.938 kB / 419.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1569, allocations: 31.59 kB / 419.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.157, allocations: 19.95 kB / 419.5 MB, free: 12.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.1572, allocations: 138.7 kB / 419.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.1573, allocations: 15.81 kB / 419.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.158, allocations: 154.9 kB / 419.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1581, allocations: 4.031 kB / 419.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1581, allocations: 0 / 419.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1581, allocations: 0 / 419.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.1585, allocations: 221.5 kB / 420 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.1586, allocations: 8 kB / 420 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1587, allocations: 11.98 kB / 420 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1587, allocations: 3.938 kB / 420 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1587, allocations: 4 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1588, allocations: 0 / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1588, allocations: 7.984 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.1594, allocations: 215.2 kB / 420.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1595, allocations: 96.81 kB / 420.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.1596, allocations: 8 kB / 420.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1598, allocations: 7.984 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1598, allocations: 4 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1599, allocations: 4 kB / 420.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.1601, allocations: 182 kB / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1602, allocations: 0 / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005526/0.1607, allocations: 71.94 kB / 420.6 MB, free: 11.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.1622, allocations: 0.8214 MB / 421.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008011/0.1631, allocations: 180.1 kB / 421.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1631, allocations: 0 / 421.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.1635, allocations: 107.4 kB / 421.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.164, allocations: 20.83 kB / 421.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.1674, allocations: 1.26 MB / 423 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.1679, allocations: 0.7323 MB / 423.7 MB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.168, allocations: 17.55 kB / 423.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1681, allocations: 63.41 kB / 423.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1682, allocations: 0 / 423.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.2141, allocations: 6.174 MB / 430 MB, free: 1.922 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003998/0.2145, allocations: 259.4 kB / 430.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.155/3.37, allocations: 0 / 430.2 MB, free: 1.57 MB / 330.7 MB "" Variables in the reference:time,Re,m_flow[1],m_flow[2],Nu[1],Nu[2],input_Re.y Variables in the result:A_fr,D_h_2,D_m_1,D_m_2,F_l_1,F_p_1,L_l_1,L_p_1,Nu[1],Nu[2],Phi_1,Re,T_d_1,T_p_1,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube16.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube19.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube23.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube26.Re,alpha_2,cp,delta_2,delta_f_1,eta,gamma_2,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_h,m_flow_IN_con_1.D_m,m_flow_IN_con_1.F_l,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L_l,m_flow_IN_con_1.L_p,m_flow_IN_con_1.Phi,m_flow_IN_con_1.T_d,m_flow_IN_con_1.T_p,m_flow_IN_con_1.alpha,m_flow_IN_con_1.delta,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.gamma,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_h,m_flow_IN_con_2.D_m,m_flow_IN_con_2.F_l,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L_l,m_flow_IN_con_2.L_p,m_flow_IN_con_2.Phi,m_flow_IN_con_2.T_d,m_flow_IN_con_2.T_p,m_flow_IN_con_2.alpha,m_flow_IN_con_2.delta,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.gamma,m_flow_IN_con_2.geometry,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.m_flow,m_flow_IN_var_1.rho,m_flow_IN_var_2.cp,m_flow_IN_var_2.eta,m_flow_IN_var_2.lambda,m_flow_IN_var_2.m_flow,m_flow_IN_var_2.rho,n,rho,time