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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.009904/0.009904, allocations: 162 kB / 15.12 MB, free: 6.027 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.785/1.785, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001712/0.001712, allocations: 109.9 kB / 226.2 MB, free: 10.1 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.5929/0.5929, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008014/0.0008013, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1131, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003696/0.1169, allocations: 1.816 MB / 413.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1197, allocations: 0.9978 MB / 414.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1199, allocations: 0 / 414.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1204, allocations: 75.58 kB / 414.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.1209, allocations: 71.41 kB / 414.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.1213, allocations: 95.7 kB / 414.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1217, allocations: 170.9 kB / 414.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1218, allocations: 24.39 kB / 415 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1221, allocations: 67.59 kB / 415 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1223, allocations: 79.55 kB / 415.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1224, allocations: 8 kB / 415.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.1232, allocations: 243.6 kB / 415.4 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.1233, allocations: 19.86 kB / 415.4 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.1235, allocations: 57.58 kB / 415.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.1239, allocations: 175.5 kB / 415.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.124, allocations: 0 / 415.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.124, allocations: 4 kB / 415.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.124, allocations: 0 / 415.6 MB, free: 0.7695 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009778/0.125, allocations: 471 kB / 416.1 MB, free: 268 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.1251, allocations: 12.03 kB / 416.1 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.28e-05/0.1252, allocations: 50.55 kB / 416.1 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.1253, allocations: 23.72 kB / 416.2 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.1257, allocations: 222.6 kB / 416.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.1258, allocations: 24.38 kB / 416.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.1258, allocations: 20 kB / 416.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008874/0.1267, allocations: 227.2 kB / 416.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1268, allocations: 0 / 416.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1268, allocations: 12 kB / 416.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1269, allocations: 4 kB / 416.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1279, allocations: 265.5 kB / 416.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1299, allocations: 0.6157 MB / 417.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.1305, allocations: 106.7 kB / 417.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.1308, allocations: 44.78 kB / 417.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.1309, allocations: 7.969 kB / 417.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.1309, allocations: 38.56 kB / 417.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.387e-06/0.131, allocations: 0 / 417.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001187/0.1322, allocations: 185.3 kB / 417.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1322, allocations: 51.41 kB / 417.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.1328, allocations: 263 kB / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1328, allocations: 25.7 kB / 418.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.133, allocations: 167.3 kB / 418.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.1331, allocations: 31.55 kB / 418.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.1331, allocations: 4 kB / 418.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1334, allocations: 338.8 kB / 418.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.1337, allocations: 55.97 kB / 418.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.1342, allocations: 158 kB / 419 MB, free: 13.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.1346, allocations: 67.92 kB / 419 MB, free: 13.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1347, allocations: 0 / 419 MB, free: 13.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001123/0.1358, allocations: 253 kB / 419.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1359, allocations: 8.422 kB / 419.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1359, allocations: 8 kB / 419.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.1359, allocations: 4 kB / 419.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.1368, allocations: 83.91 kB / 419.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1381, allocations: 1.223 MB / 420.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.1386, allocations: 43.61 kB / 420.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.1387, allocations: 8 kB / 420.7 MB, free: 11.39 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.1389, allocations: 130.8 kB / 420.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.1391, allocations: 27.66 kB / 420.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.1401, allocations: 179.7 kB / 421 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1401, allocations: 0 / 421 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1401, allocations: 8 kB / 421 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1402, allocations: 0 / 421 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1416, allocations: 471.9 kB / 421.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1416, allocations: 4.062 kB / 421.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.1423, allocations: 59.97 kB / 421.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.1423, allocations: 96 / 421.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1424, allocations: 15.88 kB / 421.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.1436, allocations: 1.207 MB / 422.7 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.1437, allocations: 3.984 kB / 422.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.1446, allocations: 253 kB / 423 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1447, allocations: 96.83 kB / 423.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.1448, allocations: 3.953 kB / 423.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.1452, allocations: 15.92 kB / 423.1 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1454, allocations: 11.98 kB / 423.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.1454, allocations: 7.938 kB / 423.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003605/0.1458, allocations: 190 kB / 423.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1458, allocations: 0 / 423.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008484/0.1467, allocations: 64 kB / 423.4 MB, free: 8.512 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1482, allocations: 0.8465 MB / 424.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1495, allocations: 179.8 kB / 424.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1495, allocations: 0 / 424.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.1502, allocations: 91.89 kB / 424.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.151, allocations: 18.28 kB / 424.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.1556, allocations: 1.384 MB / 425.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.1561, allocations: 0.7365 MB / 426.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.1564, allocations: 21.95 kB / 426.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1566, allocations: 59.41 kB / 426.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1566, allocations: 0 / 426.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3609/0.5176, allocations: 5.556 MB / 432.3 MB, free: 46.6 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.5179, allocations: 263.6 kB / 432.5 MB, free: 46.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.552, allocations: 2.594 kB / 432.5 MB, free: 46.24 MB / 330.7 MB "" Variables in the reference:time,h_2,l_2,s_2,t_2,Nu,m_flow[1],m_flow[2],kc_1,kc_2,Re_1,Re_2,input_Nu.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,Phi_1,Re_1,Re_2,T_d_1,T_p_1,alpha_2,cp,delta_2,delta_f_1,eta,gamma_2,h_2,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1,kc_2,l_2,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,s_2,t_2,time