Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.886e-05, allocations: 4 kB / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3833, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.5046, allocations: 80.3 MB / 400.3 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5049, allocations: 95.92 kB / 400.4 MB, free: 20 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.5314, allocations: 6.666 MB / 407.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5314, allocations: 0 / 407.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.5314, allocations: 4 kB / 407.1 MB, free: 9.332 MB / 346.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.0006163/0.5321, allocations: 469 kB / 407.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5321, allocations: 8.031 kB / 407.6 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.5322, allocations: 27.72 kB / 407.6 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.5325, allocations: 208.1 kB / 407.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5325, allocations: 11.95 kB / 407.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.5326, allocations: 12 kB / 407.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004481/0.533, allocations: 208.8 kB / 408 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.5334, allocations: 178.4 kB / 408.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5335, allocations: 0 / 408.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.5335, allocations: 0 / 408.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5335, allocations: 8 kB / 408.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5347, allocations: 0.5571 MB / 408.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.5351, allocations: 98.55 kB / 408.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.5352, allocations: 28.92 kB / 408.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5352, allocations: 4 kB / 408.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5353, allocations: 38.55 kB / 408.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.178e-06/0.5353, allocations: 0 / 408.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003344/0.5356, allocations: 93.62 kB / 409 MB, free: 7.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5357, allocations: 51.5 kB / 409.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5359, allocations: 178.9 kB / 409.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.536, allocations: 25.7 kB / 409.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5361, allocations: 238 kB / 409.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5362, allocations: 43.48 kB / 409.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.5362, allocations: 0 / 409.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5364, allocations: 318.8 kB / 409.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.5365, allocations: 35.94 kB / 409.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5367, allocations: 133.9 kB / 410 MB, free: 6.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5369, allocations: 47.92 kB / 410.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.561e-06/0.5369, allocations: 0 / 410.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004581/0.5374, allocations: 177.7 kB / 410.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5374, allocations: 8.781 kB / 410.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5374, allocations: 4 kB / 410.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5374, allocations: 4 kB / 410.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.5379, allocations: 79.89 kB / 410.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.539, allocations: 1.227 MB / 411.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.5392, allocations: 31.67 kB / 411.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.5393, allocations: 16 kB / 411.6 MB, free: 4.531 MB / 346.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 () * 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.0001217/0.5394, allocations: 104.9 kB / 411.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.5395, allocations: 15.81 kB / 411.7 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.5399, allocations: 135.5 kB / 411.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-06/0.5399, allocations: 0 / 411.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.5399, allocations: 4 kB / 411.9 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-06/0.54, allocations: 7.891 kB / 411.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.5406, allocations: 376.8 kB / 412.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.195e-06/0.5407, allocations: 7.938 kB / 412.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.5411, allocations: 64.05 kB / 412.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.888e-06/0.5411, allocations: 3.938 kB / 412.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.5411, allocations: 4 kB / 412.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/0.5421, allocations: 1.223 MB / 413.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5421, allocations: 0 / 413.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.5425, allocations: 236.6 kB / 413.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.5426, allocations: 92.86 kB / 413.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.5426, allocations: 0 / 413.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5428, allocations: 11.98 kB / 413.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.5429, allocations: 15.94 kB / 413.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.5429, allocations: 4 kB / 413.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.5431, allocations: 129.6 kB / 414 MB, free: 1.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.5e-07/0.5431, allocations: 0 / 414 MB, free: 1.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.5436, allocations: 67.83 kB / 414.1 MB, free: 1.891 MB / 346.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 () * 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.0003659/0.544, allocations: 183.1 kB / 414.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.5445, allocations: 120.3 kB / 414.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.125e-06/0.5446, allocations: 4.312 kB / 414.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.5449, allocations: 55.92 kB / 414.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.5451, allocations: 15.84 kB / 414.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.5458, allocations: 246 kB / 414.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.5463, allocations: 0.7358 MB / 415.4 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.5463, allocations: 15.44 kB / 415.4 MB, free: 468 kB / 346.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5464, allocations: 0 / 415.4 MB, free: 468 kB / 346.7 MB Notification: Performance of Templates: time 0.008009/0.5544, allocations: 4.144 MB / 419.6 MB, free: 12.32 MB / 362.7 MB