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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002611/0.002611, allocations: 347.6 kB / 15.93 MB, free: 6.223 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 3.606/3.606, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003535/0.003534, allocations: 214.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5542/0.5542, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.000642, allocations: 11.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09938, allocations: 48.7 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.5794, allocations: 81.06 MB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.5798, allocations: 99.94 kB / 0.686 GB, free: 31.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02798/0.6078, allocations: 6.769 MB / 0.6926 GB, free: 24.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6079, allocations: 0 / 0.6926 GB, free: 24.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.6079, allocations: 5.344 kB / 0.6926 GB, free: 24.91 MB / 362.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.0006144/0.6085, allocations: 489.3 kB / 0.6931 GB, free: 24.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.6086, allocations: 8.031 kB / 0.6931 GB, free: 24.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.6087, allocations: 30 kB / 0.6931 GB, free: 24.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.6089, allocations: 211.3 kB / 0.6933 GB, free: 24.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.6089, allocations: 20.39 kB / 0.6933 GB, free: 24.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.609, allocations: 20 kB / 0.6934 GB, free: 24.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.6096, allocations: 238.8 kB / 0.6936 GB, free: 23.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6096, allocations: 0 / 0.6936 GB, free: 23.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.6097, allocations: 8 kB / 0.6936 GB, free: 23.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.6097, allocations: 4 kB / 0.6936 GB, free: 23.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.6103, allocations: 258.8 kB / 0.6939 GB, free: 23.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.6115, allocations: 0.6162 MB / 0.6945 GB, free: 22.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.6121, allocations: 122.9 kB / 0.6946 GB, free: 22.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.6123, allocations: 48.89 kB / 0.6946 GB, free: 22.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6124, allocations: 0 / 0.6946 GB, free: 22.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.6124, allocations: 37.75 kB / 0.6947 GB, free: 22.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.6124, allocations: 7.75 kB / 0.6947 GB, free: 22.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007911/0.6132, allocations: 176 kB / 0.6948 GB, free: 22.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6133, allocations: 51.41 kB / 0.6949 GB, free: 22.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.6136, allocations: 266.9 kB / 0.6951 GB, free: 22.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6136, allocations: 29.7 kB / 0.6952 GB, free: 22.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.6138, allocations: 173.4 kB / 0.6953 GB, free: 21.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.6138, allocations: 31.55 kB / 0.6954 GB, free: 21.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.6138, allocations: 4 kB / 0.6954 GB, free: 21.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.6139, allocations: 338.8 kB / 0.6957 GB, free: 21.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.6142, allocations: 51.12 kB / 0.6957 GB, free: 21.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.6145, allocations: 156.4 kB / 0.6959 GB, free: 21.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.6148, allocations: 70.03 kB / 0.6959 GB, free: 21.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6148, allocations: 11.05 kB / 0.696 GB, free: 21.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007214/0.6155, allocations: 239.5 kB / 0.6962 GB, free: 21.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6156, allocations: 7.188 kB / 0.6962 GB, free: 21.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6156, allocations: 6.969 kB / 0.6962 GB, free: 21.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.6156, allocations: 4 kB / 0.6962 GB, free: 21.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.6162, allocations: 87.89 kB / 0.6963 GB, free: 20.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006413/0.6169, allocations: 1.221 MB / 0.6975 GB, free: 19.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.6172, allocations: 40.48 kB / 0.6975 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.6173, allocations: 14.75 kB / 0.6975 GB, free: 19.64 MB / 362.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.0001757/0.6175, allocations: 135.8 kB / 0.6977 GB, free: 19.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.6175, allocations: 19.72 kB / 0.6977 GB, free: 19.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.6182, allocations: 184.8 kB / 0.6979 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6182, allocations: 4.547 kB / 0.6979 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6182, allocations: 4 kB / 0.6979 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6182, allocations: 1.844 kB / 0.6979 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.6191, allocations: 457.7 kB / 0.6983 GB, free: 18.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6191, allocations: 0.5938 kB / 0.6983 GB, free: 18.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.6196, allocations: 69.8 kB / 0.6984 GB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.6196, allocations: 0 / 0.6984 GB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.6196, allocations: 4 kB / 0.6984 GB, free: 18.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005944/0.6202, allocations: 1.21 MB / 0.6996 GB, free: 17.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6202, allocations: 3.953 kB / 0.6996 GB, free: 17.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.6208, allocations: 253.8 kB / 0.6998 GB, free: 17.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.6209, allocations: 108.1 kB / 0.6999 GB, free: 17.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.6209, allocations: 0 / 0.6999 GB, free: 17.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.6212, allocations: 15.98 kB / 0.6999 GB, free: 17.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.6213, allocations: 15.89 kB / 0.6999 GB, free: 17.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.6213, allocations: 7.984 kB / 0.6999 GB, free: 17.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.6215, allocations: 182 kB / 0.7001 GB, free: 16.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6215, allocations: 0 / 0.7001 GB, free: 16.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.6221, allocations: 71.98 kB / 0.7002 GB, free: 16.79 MB / 362.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.0003759/0.6225, allocations: 179.9 kB / 0.7004 GB, free: 16.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008565/0.6233, allocations: 180.3 kB / 0.7005 GB, free: 16.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6234, allocations: 4.25 kB / 0.7005 GB, free: 16.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.6239, allocations: 95.83 kB / 0.7006 GB, free: 16.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.6243, allocations: 30.7 kB / 0.7007 GB, free: 16.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.6253, allocations: 459.7 kB / 0.7011 GB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.6255, allocations: 0.7326 MB / 0.7018 GB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.6257, allocations: 21.95 kB / 0.7018 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.6258, allocations: 15.44 kB / 0.7018 GB, free: 15.03 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6258, allocations: 6.438 kB / 0.7018 GB, free: 15.03 MB / 362.7 MB Notification: Performance of Templates: time 0.01032/0.6361, allocations: 3.762 MB / 0.7055 GB, free: 11.37 MB / 362.7 MB