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.Channel.kc_evenGapTurbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 12 kB / 282.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002122/0.2806, allocations: 1.532 MB / 332.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2822, allocations: 0.9721 MB / 333.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.2824, allocations: 1.438 kB / 333.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.2826, allocations: 45.66 kB / 333.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2828, allocations: 46.72 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2833, allocations: 135.8 kB / 333.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.2836, allocations: 143.8 kB / 334.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.2837, allocations: 14.61 kB / 334.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2838, allocations: 74.7 kB / 334.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.284, allocations: 84.2 kB / 334.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.284, allocations: 6.219 kB / 334.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.2845, allocations: 229.4 kB / 334.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.2846, allocations: 54.44 kB / 334.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.2847, allocations: 57.36 kB / 334.6 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.285, allocations: 193 kB / 334.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.518e-06/0.2851, allocations: 0 / 334.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.431e-06/0.2851, allocations: 0 / 334.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2851, allocations: 0 / 334.8 MB, free: 4.547 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009232/0.286, allocations: 0.5369 MB / 335.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2861, allocations: 9.281 kB / 335.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.188e-05/0.2862, allocations: 23.59 kB / 335.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2864, allocations: 231.5 kB / 335.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2864, allocations: 9.406 kB / 335.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.2865, allocations: 17.56 kB / 335.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.2872, allocations: 296.6 kB / 335.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2872, allocations: 5.641 kB / 335.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2873, allocations: 5.125 kB / 335.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.2873, allocations: 11.06 kB / 335.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.288, allocations: 249.5 kB / 336.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2893, allocations: 0.7755 MB / 336.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.29, allocations: 242.2 kB / 337.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.29, allocations: 6.312 kB / 337.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2901, allocations: 39.67 kB / 337.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.339e-06/0.2901, allocations: 4 kB / 337.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001264/0.2913, allocations: 0.5705 MB / 337.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2914, allocations: 116.2 kB / 337.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.2918, allocations: 282 kB / 338.2 MB, free: 2.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2918, allocations: 29.64 kB / 338.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.2919, allocations: 192 kB / 338.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.292, allocations: 56.75 kB / 338.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.292, allocations: 0 / 338.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.2921, allocations: 317.8 kB / 338.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.2924, allocations: 99.69 kB / 338.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.2927, allocations: 135.8 kB / 339 MB, free: 1.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.2931, allocations: 114.7 kB / 339.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-06/0.2931, allocations: 0 / 339.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008233/0.294, allocations: 267 kB / 339.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.294, allocations: 12.02 kB / 339.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.294, allocations: 13.05 kB / 339.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2941, allocations: 2.562 kB / 339.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2943, allocations: 35.72 kB / 339.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2944, allocations: 6.281 kB / 339.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.2947, allocations: 47.28 kB / 339.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2947, allocations: 6.656 kB / 339.5 MB, free: 1.219 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001705/0.2949, allocations: 154.4 kB / 339.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.295, allocations: 21.66 kB / 339.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.2957, allocations: 240.3 kB / 339.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.402e-06/0.2957, allocations: 2.938 kB / 339.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-06/0.2957, allocations: 0 / 339.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.784e-06/0.2957, allocations: 1.406 kB / 339.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.2962, allocations: 263.3 kB / 340.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.2962, allocations: 13.02 kB / 340.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2965, allocations: 40.12 kB / 340.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.647e-06/0.2965, allocations: 1.406 kB / 340.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2965, allocations: 2.75 kB / 340.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-06/0.2965, allocations: 5.547 kB / 340.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-06/0.2966, allocations: 9.156 kB / 340.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.2973, allocations: 0.5006 MB / 340.7 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2975, allocations: 124 kB / 340.8 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2975, allocations: 5.344 kB / 340.8 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.2979, allocations: 19.7 kB / 340.9 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.298, allocations: 22.08 kB / 340.9 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.298, allocations: 8.781 kB / 340.9 MB, free: 124 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002654/0.2983, allocations: 203.1 kB / 341.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.2983, allocations: 0 / 341.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.2989, allocations: 67.36 kB / 341.2 MB, free: 15.98 MB / 282.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003582/0.2993, allocations: 169.5 kB / 341.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.3002, allocations: 299.8 kB / 341.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.371e-06/0.3002, allocations: 0 / 341.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.3007, allocations: 195.9 kB / 341.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3012, allocations: 39.97 kB / 341.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3024, allocations: 0.5629 MB / 342.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.3029, allocations: 0.7613 MB / 343.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.303, allocations: 16.97 kB / 343.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.517e-06/0.303, allocations: 3.938 kB / 343.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Templates: time 0.00799/0.311, allocations: 3.784 MB / 347 MB, free: 12.45 MB / 282.7 MB