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_roundTube.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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.91e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4548, allocations: 88.77 MB / 408.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005185/0.4554, allocations: 91.94 kB / 408.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08869/0.5441, allocations: 11.92 MB / 420.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.017e-06/0.5442, allocations: 4 kB / 420.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.5442, allocations: 4 kB / 420.8 MB, free: 11.58 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001235/0.5455, allocations: 0.5723 MB / 421.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.5455, allocations: 12.02 kB / 421.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.5457, allocations: 39.53 kB / 421.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.5463, allocations: 238.5 kB / 421.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.5463, allocations: 12 kB / 421.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.5464, allocations: 20 kB / 421.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00074/0.5472, allocations: 221.5 kB / 421.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.5482, allocations: 290.1 kB / 422.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5482, allocations: 0 / 422.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.5483, allocations: 0 / 422.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5483, allocations: 12 kB / 422.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.5509, allocations: 0.7971 MB / 423 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.5513, allocations: 74.55 kB / 423.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.5515, allocations: 32.92 kB / 423.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.5515, allocations: 3.953 kB / 423.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5516, allocations: 30.56 kB / 423.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 7.839e-06/0.5516, allocations: 0 / 423.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006225/0.5522, allocations: 121.4 kB / 423.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.5523, allocations: 51.41 kB / 423.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.5528, allocations: 222.1 kB / 423.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.5529, allocations: 29.7 kB / 423.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.5532, allocations: 317.7 kB / 423.9 MB, free: 8.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.5533, allocations: 31.55 kB / 423.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.5534, allocations: 0 / 423.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5536, allocations: 322.8 kB / 424.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.5538, allocations: 48.03 kB / 424.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.5543, allocations: 233.8 kB / 424.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5547, allocations: 79.84 kB / 424.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.5547, allocations: 4 kB / 424.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001079/0.5558, allocations: 257.8 kB / 424.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.5558, allocations: 8.781 kB / 424.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.556, allocations: 27.98 kB / 424.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.556, allocations: 8 kB / 424.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.5565, allocations: 56.03 kB / 424.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/0.5565, allocations: 19.94 kB / 425 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.5571, allocations: 39.58 kB / 425 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.5572, allocations: 20 kB / 425 MB, free: 7.09 MB / 362.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 () * 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.0001856/0.5574, allocations: 124.9 kB / 425.1 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5575, allocations: 27.67 kB / 425.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009084/0.5585, allocations: 171.3 kB / 425.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5585, allocations: 0 / 425.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.5585, allocations: 0 / 425.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-06/0.5585, allocations: 3.938 kB / 425.3 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.5592, allocations: 258 kB / 425.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-05/0.5594, allocations: 23.92 kB / 425.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.5595, allocations: 8 kB / 425.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-06/0.5595, allocations: 0 / 425.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.5596, allocations: 4 kB / 425.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.5596, allocations: 3.953 kB / 425.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.5596, allocations: 7.984 kB / 425.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.5602, allocations: 211.2 kB / 425.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5604, allocations: 92.83 kB / 425.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.5605, allocations: 0 / 425.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.5608, allocations: 11.98 kB / 425.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.5609, allocations: 7.953 kB / 426 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.561, allocations: 8 kB / 426 MB, free: 6.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.5613, allocations: 158 kB / 426.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.08e-06/0.5613, allocations: 0 / 426.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001526/0.5629, allocations: 147.6 kB / 426.3 MB, free: 5.762 MB / 362.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 () * 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.00111/0.564, allocations: 292.8 kB / 426.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5652, allocations: 267.2 kB / 426.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.667e-06/0.5652, allocations: 1.062 kB / 426.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.5658, allocations: 174.7 kB / 427 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.5663, allocations: 8.891 kB / 427 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.5679, allocations: 363.5 kB / 427.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.5686, allocations: 0.7867 MB / 428.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.5687, allocations: 23.44 kB / 428.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of SimCode: time 2.284e-06/0.5687, allocations: 0 / 428.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of Templates: time 0.02637/0.5951, allocations: 9.326 MB / 437.5 MB, free: 10.42 MB / 378.7 MB