Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.941/1.941, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4002, allocations: 48.71 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.542, allocations: 80.64 MB / 412.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/0.5424, allocations: 99.94 kB / 412.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04345/0.5859, allocations: 9.674 MB / 422.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.586, allocations: 7.938 kB / 422.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.586, allocations: 0 / 422.2 MB, free: 3.941 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001137/0.5871, allocations: 0.5296 MB / 422.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5872, allocations: 8.031 kB / 422.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.5873, allocations: 23.72 kB / 422.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.5876, allocations: 227.8 kB / 423 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5876, allocations: 8 kB / 423 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.5877, allocations: 16 kB / 423.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.5886, allocations: 292.5 kB / 423.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5886, allocations: 3.938 kB / 423.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.5887, allocations: 8 kB / 423.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.5887, allocations: 15.73 kB / 423.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.5897, allocations: 255.5 kB / 423.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5914, allocations: 0.7811 MB / 424.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.5923, allocations: 243.7 kB / 424.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.5924, allocations: 7.984 kB / 424.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.5924, allocations: 30.56 kB / 424.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 4.889e-06/0.5924, allocations: 112 / 424.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001825/0.5942, allocations: 0.5791 MB / 425.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.5943, allocations: 102.8 kB / 425.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.5948, allocations: 286.4 kB / 425.6 MB, free: 268 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.5948, allocations: 29.77 kB / 425.7 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5949, allocations: 194.4 kB / 425.8 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.595, allocations: 47.52 kB / 425.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.5951, allocations: 4 kB / 425.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5952, allocations: 310.8 kB / 426.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.5957, allocations: 107.8 kB / 426.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.5962, allocations: 137 kB / 426.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.5968, allocations: 115.8 kB / 426.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5968, allocations: 0 / 426.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00114/0.5979, allocations: 269.3 kB / 426.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.598, allocations: 8 kB / 426.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.598, allocations: 8 kB / 426.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.598, allocations: 3.938 kB / 426.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.5984, allocations: 47.89 kB / 426.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5985, allocations: 4 kB / 426.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.5988, allocations: 39.73 kB / 426.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.5989, allocations: 7.984 kB / 426.9 MB, free: 14.91 MB / 362.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.0002032/0.5991, allocations: 145.8 kB / 427.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.5992, allocations: 27.72 kB / 427.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/0.6, allocations: 231.2 kB / 427.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6001, allocations: 7.953 kB / 427.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6001, allocations: 0 / 427.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6001, allocations: 3.938 kB / 427.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.6007, allocations: 273.4 kB / 427.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.6007, allocations: 8 kB / 427.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.601, allocations: 35.97 kB / 427.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6011, allocations: 4 kB / 427.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.6011, allocations: 7.984 kB / 427.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.6011, allocations: 7.938 kB / 427.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6011, allocations: 3.953 kB / 427.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.6023, allocations: 0.4977 MB / 428.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.6025, allocations: 116.8 kB / 428.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.6025, allocations: 8 kB / 428.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.603, allocations: 23.97 kB / 428.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.6031, allocations: 15.94 kB / 428.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.6031, allocations: 8 kB / 428.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002955/0.6034, allocations: 209.9 kB / 428.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6034, allocations: 0 / 428.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006298/0.6041, allocations: 79.94 kB / 428.6 MB, free: 13.12 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 (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.0004245/0.6045, allocations: 179.2 kB / 428.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.6056, allocations: 300.9 kB / 429.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6057, allocations: 0.5 kB / 429.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.6063, allocations: 204.9 kB / 429.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.6068, allocations: 36.66 kB / 429.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.6081, allocations: 0.5643 MB / 429.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.6085, allocations: 0.7557 MB / 430.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6087, allocations: 23.44 kB / 430.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6087, allocations: 0 / 430.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.009766/0.6185, allocations: 3.879 MB / 434.6 MB, free: 7.094 MB / 362.7 MB