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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.01061/0.01061, allocations: 162.7 kB / 15.12 MB, free: 5.957 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.914/1.914, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.00283/0.00283, allocations: 106.8 kB / 226.2 MB, free: 10.09 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.5303/0.5303, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007056/0.000706, allocations: 12 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1423, 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_roundTube_KC): time 0.004142/0.1465, allocations: 2.253 MB / 414 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1501, allocations: 1.329 MB / 415.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.1507, allocations: 4 kB / 415.3 MB, free: 1.074 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.1515, allocations: 83.42 kB / 415.4 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.1521, allocations: 115.1 kB / 415.5 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.1529, allocations: 191.4 kB / 415.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1533, allocations: 270.1 kB / 416 MB, free: 436 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1534, allocations: 28.72 kB / 416 MB, free: 408 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1536, allocations: 91.39 kB / 416.1 MB, free: 316 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1539, allocations: 119.3 kB / 416.2 MB, free: 196 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.1539, allocations: 12 kB / 416.2 MB, free: 184 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.1554, allocations: 0.5539 MB / 416.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.1555, allocations: 39.7 kB / 416.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1556, allocations: 77.52 kB / 416.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.1562, allocations: 303.2 kB / 417.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1562, allocations: 0 / 417.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1562, allocations: 0 / 417.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1562, allocations: 4 kB / 417.2 MB, free: 15.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001004/0.1573, allocations: 0.5805 MB / 417.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1573, allocations: 12.03 kB / 417.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1574, allocations: 70.53 kB / 417.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.1575, allocations: 39.44 kB / 417.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1579, allocations: 250 kB / 418.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1579, allocations: 28.94 kB / 418.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.158, allocations: 40 kB / 418.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1591, allocations: 0.5813 MB / 418.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1592, allocations: 3.938 kB / 418.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.1592, allocations: 20 kB / 418.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.1592, allocations: 12 kB / 418.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.1601, allocations: 341 kB / 419.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.1638, allocations: 4.039 MB / 423.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.1643, allocations: 106.5 kB / 423.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.1645, allocations: 44.89 kB / 423.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1646, allocations: 0 / 423.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1646, allocations: 30.56 kB / 423.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1646, allocations: 8 kB / 423.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008465/0.1655, allocations: 177.1 kB / 423.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.1656, allocations: 63.39 kB / 423.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.1662, allocations: 401.8 kB / 424 MB, free: 7.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1662, allocations: 25.7 kB / 424 MB, free: 7.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.1665, allocations: 251 kB / 424.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1665, allocations: 27.66 kB / 424.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.1666, allocations: 8 kB / 424.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1668, allocations: 346.8 kB / 424.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.1671, allocations: 68.55 kB / 424.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.1675, allocations: 262.4 kB / 424.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1679, allocations: 107.8 kB / 425.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.168, allocations: 7.953 kB / 425.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00107/0.169, allocations: 352.8 kB / 425.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.1691, allocations: 8 kB / 425.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.1691, allocations: 4 kB / 425.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.1692, allocations: 12 kB / 425.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.17, allocations: 120.4 kB / 425.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.171, allocations: 1.219 MB / 426.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.1715, allocations: 67.27 kB / 426.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.1716, allocations: 32.12 kB / 426.9 MB, free: 4.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002165/0.1718, allocations: 145.7 kB / 427 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.1719, allocations: 39.53 kB / 427 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.1727, allocations: 184.8 kB / 427.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1727, allocations: 11.94 kB / 427.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1727, allocations: 0 / 427.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1727, allocations: 0 / 427.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.1732, allocations: 265.5 kB / 427.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1732, allocations: 4 kB / 427.5 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.1737, allocations: 55.97 kB / 427.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1737, allocations: 4 kB / 427.6 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1738, allocations: 0 / 427.6 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009734/0.1748, allocations: 1.215 MB / 428.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1748, allocations: 0 / 428.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.1754, allocations: 255 kB / 429 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1755, allocations: 112.6 kB / 429.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.1756, allocations: 0 / 429.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.1759, allocations: 11.98 kB / 429.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.176, allocations: 7.984 kB / 429.1 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.176, allocations: 8 kB / 429.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004175/0.1765, allocations: 267.1 kB / 429.4 MB, free: 2.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1765, allocations: 0 / 429.4 MB, free: 2.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000738/0.1772, allocations: 115.9 kB / 429.5 MB, free: 2.027 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 (7): * Single equations (assignments): 5 * 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.001333/0.1786, allocations: 0.8452 MB / 430.4 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.1796, allocations: 213.7 kB / 430.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1796, allocations: 4 kB / 430.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.1801, allocations: 87.89 kB / 430.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.1807, allocations: 41.89 kB / 430.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.26/0.4407, allocations: 1.944 MB / 432.7 MB, free: 47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.4411, allocations: 0.7788 MB / 433.4 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.4413, allocations: 39.42 kB / 433.5 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4415, allocations: 108.6 kB / 433.6 MB, free: 46.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4415, allocations: 3.156 kB / 433.6 MB, free: 46.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/0.4854, allocations: 9.101 MB / 442.7 MB, free: 45.75 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/0.4858, allocations: 272.3 kB / 443 MB, free: 45.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.556/4.042, allocations: 0 / 443 MB, free: 45.38 MB / 330.7 MB "" Variables in the reference:time,Nu,m_flow[1],m_flow[2],m_flow[3],m_flow[4],kc_1,kc_4,Re_1,Re_4,input_Nu.y Variables in the result:A_fr,D_c_1,D_c_2,D_c_3,D_c_4,F_p_1,F_p_2,F_p_3,F_p_4,L_2,L_h_2,L_p_2,N_1,N_2,N_3,N_4,Nu,P_l_1,P_l_2,P_l_3,P_l_4,P_t_1,P_t_2,P_t_3,P_t_4,Re_1,Re_4,S_h_3,S_p_3,cp,delta_f,delta_f_3,eta,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1,kc_4,lambda,m_flow[1],m_flow[2],m_flow[3],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L,m_flow_IN_con_1.L_h,m_flow_IN_con_1.L_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_d,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.S_h,m_flow_IN_con_1.S_p,m_flow_IN_con_1.X_f,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_c,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L,m_flow_IN_con_2.L_h,m_flow_IN_con_2.L_p,m_flow_IN_con_2.N,m_flow_IN_con_2.P_d,m_flow_IN_con_2.P_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.S_h,m_flow_IN_con_2.S_p,m_flow_IN_con_2.X_f,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.geometry,m_flow_IN_con_3.A_fr,m_flow_IN_con_3.D_c,m_flow_IN_con_3.F_p,m_flow_IN_con_3.L,m_flow_IN_con_3.L_h,m_flow_IN_con_3.L_p,m_flow_IN_con_3.N,m_flow_IN_con_3.P_d,m_flow_IN_con_3.P_l,m_flow_IN_con_3.P_t,m_flow_IN_con_3.S_h,m_flow_IN_con_3.S_p,m_flow_IN_con_3.X_f,m_flow_IN_con_3.delta_f,m_flow_IN_con_3.geometry,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.L,m_flow_IN_con_4.L_h,m_flow_IN_con_4.L_p,m_flow_IN_con_4.N,m_flow_IN_con_4.P_d,m_flow_IN_con_4.P_l,m_flow_IN_con_4.P_t,m_flow_IN_con_4.S_h,m_flow_IN_con_4.S_p,m_flow_IN_con_4.X_f,m_flow_IN_con_4.delta_f,m_flow_IN_con_4.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,m_flow_IN_var_3.cp,m_flow_IN_var_3.eta,m_flow_IN_var_3.lambda,m_flow_IN_var_3.m_flow,m_flow_IN_var_3.rho,m_flow_IN_var_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.m_flow,m_flow_IN_var_4.rho,n,rho,time