Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01287/0.01287, allocations: 361 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.123/4.123, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003666/0.003666, allocations: 235.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5108/0.5108, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5756/0.679, allocations: 96.11 MB / 0.774 GB, free: 5.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005554/0.6796, allocations: 101.7 kB / 0.7741 GB, free: 5.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06698/0.7466, allocations: 12.34 MB / 0.7861 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.7467, allocations: 0 / 0.7861 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.7467, allocations: 4 kB / 0.7861 GB, free: 10.32 MB / 378.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.001648/0.7484, allocations: 0.612 MB / 0.7867 GB, free: 9.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.7485, allocations: 8.031 kB / 0.7867 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.7486, allocations: 54.14 kB / 0.7868 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.7491, allocations: 228.6 kB / 0.787 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.7492, allocations: 29.81 kB / 0.787 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.7493, allocations: 28.56 kB / 0.787 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.7505, allocations: 373.8 kB / 0.7874 GB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.7505, allocations: 3.953 kB / 0.7874 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.7506, allocations: 14.75 kB / 0.7874 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.7506, allocations: 11.94 kB / 0.7874 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.7516, allocations: 265.7 kB / 0.7877 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.7542, allocations: 0.8862 MB / 0.7885 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.7548, allocations: 98.67 kB / 0.7886 GB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.7551, allocations: 50.58 kB / 0.7887 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-05/0.7552, allocations: 7.922 kB / 0.7887 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.7553, allocations: 34.56 kB / 0.7887 GB, free: 7.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.687e-06/0.7553, allocations: 0 / 0.7887 GB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001212/0.7565, allocations: 206.5 kB / 0.7889 GB, free: 7.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.7566, allocations: 59.36 kB / 0.789 GB, free: 7.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.7574, allocations: 395.4 kB / 0.7894 GB, free: 7.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.7575, allocations: 29.7 kB / 0.7894 GB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.7578, allocations: 240.7 kB / 0.7896 GB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.7579, allocations: 38.86 kB / 0.7897 GB, free: 7.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.7579, allocations: 3.375 kB / 0.7897 GB, free: 7.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.7582, allocations: 344.7 kB / 0.79 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.7586, allocations: 65.98 kB / 0.7901 GB, free: 6.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.7592, allocations: 261.8 kB / 0.7903 GB, free: 6.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.7597, allocations: 100.3 kB / 0.7904 GB, free: 6.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.7597, allocations: 8 kB / 0.7904 GB, free: 6.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001422/0.7612, allocations: 344.7 kB / 0.7907 GB, free: 6.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.7612, allocations: 8 kB / 0.7907 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.7614, allocations: 31.92 kB / 0.7908 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.449e-05/0.7614, allocations: 12 kB / 0.7908 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.7619, allocations: 63.84 kB / 0.7908 GB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.7619, allocations: 11.95 kB / 0.7909 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.7625, allocations: 62.67 kB / 0.7909 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.7626, allocations: 23.06 kB / 0.7909 GB, free: 5.809 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003317/0.763, allocations: 150.2 kB / 0.7911 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.7631, allocations: 39.53 kB / 0.7911 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.764, allocations: 222.7 kB / 0.7913 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.764, allocations: 0 / 0.7913 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.764, allocations: 4 kB / 0.7913 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7641, allocations: 3.953 kB / 0.7913 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.7645, allocations: 280.8 kB / 0.7916 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/0.7646, allocations: 23.69 kB / 0.7916 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.7647, allocations: 11.98 kB / 0.7916 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7648, allocations: 0 / 0.7916 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7648, allocations: 4 kB / 0.7916 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7648, allocations: 0 / 0.7916 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7648, allocations: 0 / 0.7916 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.7655, allocations: 272.7 kB / 0.7919 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.7656, allocations: 112.3 kB / 0.792 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.7657, allocations: 256 / 0.792 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.7659, allocations: 11.98 kB / 0.792 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.766, allocations: 8 kB / 0.792 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.7661, allocations: 8 kB / 0.792 GB, free: 4.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.7665, allocations: 269.8 kB / 0.7923 GB, free: 4.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7665, allocations: 0 / 0.7923 GB, free: 4.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.7675, allocations: 146 kB / 0.7924 GB, free: 4.344 MB / 378.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007716/0.7683, allocations: 272.3 kB / 0.7927 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.7694, allocations: 330.4 kB / 0.793 GB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7694, allocations: 0 / 0.793 GB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.7699, allocations: 182.1 kB / 0.7932 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.7705, allocations: 47.73 kB / 0.7932 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.7721, allocations: 0.6121 MB / 0.7938 GB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.7728, allocations: 0.7833 MB / 0.7946 GB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.7732, allocations: 34.95 kB / 0.7946 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.7733, allocations: 19.44 kB / 0.7946 GB, free: 2.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7733, allocations: 0 / 0.7946 GB, free: 2.055 MB / 378.7 MB Notification: Performance of Templates: time 0.0363/0.8096, allocations: 8.629 MB / 0.8031 GB, free: 9.484 MB / 394.7 MB "" Variables in the reference:time,Re,m_flow[1],m_flow[2],m_flow[3],m_flow[4],Nu[1],Nu[2],Nu[3],Nu[4],input_Re.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[1],Nu[2],Nu[3],Nu[4],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,S_h_3,S_p_3,cp,delta_f,delta_f_3,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,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.N,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.delta_f,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_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.delta_f,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.N,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.delta_f,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.P_t,m_flow_IN_con_4.delta_f,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,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.rho,m_flow_IN_var_3.cp,m_flow_IN_var_3.eta,m_flow_IN_var_3.lambda,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.rho,n,rho,time