Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006764/0.0006766, allocations: 15.98 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2743, allocations: 54.87 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002651/0.277, allocations: 1.7 MB / 370.9 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.2791, allocations: 1.233 MB / 372.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.2792, allocations: 7.938 kB / 372.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.2795, allocations: 75.61 kB / 372.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2797, allocations: 59.81 kB / 372.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.2803, allocations: 179.5 kB / 372.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2805, allocations: 111.7 kB / 372.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.2806, allocations: 17 kB / 372.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2807, allocations: 51.72 kB / 372.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.2808, allocations: 55.64 kB / 372.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2809, allocations: 4 kB / 372.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.2816, allocations: 427.5 kB / 373.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2817, allocations: 27.84 kB / 373.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.2818, allocations: 53.58 kB / 373.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.2822, allocations: 239.4 kB / 373.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.864e-06/0.2822, allocations: 0 / 373.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2822, allocations: 0 / 373.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2823, allocations: 0 / 373.4 MB, free: 6.602 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006807/0.283, allocations: 482.5 kB / 373.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.283, allocations: 12.03 kB / 373.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.2831, allocations: 23.72 kB / 373.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2833, allocations: 206.7 kB / 374.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2834, allocations: 16 kB / 374.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.2834, allocations: 16 kB / 374.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2839, allocations: 210.7 kB / 374.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2839, allocations: 0 / 374.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.2839, allocations: 8 kB / 374.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.284, allocations: 7.953 kB / 374.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.2844, allocations: 156.3 kB / 374.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.2854, allocations: 0.5753 MB / 375.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.2857, allocations: 66.55 kB / 375.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2857, allocations: 0 / 375.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2858, allocations: 38.5 kB / 375.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.97e-06/0.2858, allocations: 0 / 375.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006919/0.2865, allocations: 303.7 kB / 375.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2866, allocations: 59.36 kB / 375.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.2869, allocations: 254.7 kB / 375.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2869, allocations: 29.7 kB / 375.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2871, allocations: 218.1 kB / 376.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2872, allocations: 23.66 kB / 376.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-06/0.2872, allocations: 0 / 376.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2874, allocations: 326.8 kB / 376.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2876, allocations: 43.97 kB / 376.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.2878, allocations: 132.8 kB / 376.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.288, allocations: 63.91 kB / 376.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-06/0.288, allocations: 0 / 376.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005423/0.2886, allocations: 193.3 kB / 376.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2886, allocations: 8 kB / 376.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.2887, allocations: 8.438 kB / 376.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2887, allocations: 15.95 kB / 376.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2889, allocations: 35.97 kB / 376.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.2889, allocations: 7.938 kB / 376.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.2891, allocations: 35.59 kB / 376.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.2891, allocations: 8 kB / 376.9 MB, free: 2.781 MB / 298.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001494/0.2893, allocations: 129.8 kB / 377.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.2894, allocations: 15.81 kB / 377.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.2899, allocations: 162.7 kB / 377.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.46e-06/0.2899, allocations: 3.984 kB / 377.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2899, allocations: 3.953 kB / 377.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-06/0.29, allocations: 0 / 377.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.2903, allocations: 213.6 kB / 377.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.2903, allocations: 12.17 kB / 377.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.2904, allocations: 12 kB / 377.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2904, allocations: 4 kB / 377.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2905, allocations: 11.98 kB / 377.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.171e-06/0.2905, allocations: 0 / 377.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-06/0.2905, allocations: 0 / 377.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.2909, allocations: 215.1 kB / 377.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.291, allocations: 101.1 kB / 377.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.2911, allocations: 0 / 377.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2912, allocations: 7.984 kB / 377.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2913, allocations: 7.984 kB / 377.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2913, allocations: 4 kB / 377.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.2915, allocations: 189.8 kB / 378 MB, free: 1.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.2915, allocations: 0 / 378 MB, free: 1.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000501/0.2921, allocations: 71.94 kB / 378.1 MB, free: 1.543 MB / 298.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003542/0.2924, allocations: 163.2 kB / 378.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.293, allocations: 180 kB / 378.4 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.293, allocations: 4 kB / 378.4 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.2933, allocations: 111.4 kB / 378.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2936, allocations: 16.89 kB / 378.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.2945, allocations: 446.9 kB / 379 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.295, allocations: 0.7362 MB / 379.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.295, allocations: 15.44 kB / 379.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.469e-06/0.2951, allocations: 0 / 379.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Templates: time 0.008291/0.3034, allocations: 4.303 MB / 384 MB, free: 11.5 MB / 314.7 MB