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_evenGapLaminar.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_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006257/0.0006258, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4218, allocations: 48.71 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.6015, allocations: 81.95 MB / 413.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/0.6019, allocations: 95.94 kB / 413.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06312/0.6651, allocations: 14.34 MB / 428.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6651, allocations: 0 / 428.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.6652, allocations: 8 kB / 428.2 MB, free: 13.82 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001343/0.6665, allocations: 0.628 MB / 428.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6666, allocations: 8.031 kB / 428.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.6667, allocations: 47.44 kB / 428.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.6673, allocations: 299.1 kB / 429.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.6674, allocations: 37.31 kB / 429.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6675, allocations: 52 kB / 429.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6691, allocations: 0.6349 MB / 429.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.6691, allocations: 0 / 429.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.6692, allocations: 24 kB / 429.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/0.6693, allocations: 33.3 kB / 430 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6707, allocations: 0.5008 MB / 430.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.675, allocations: 1.453 MB / 431.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.6764, allocations: 434 kB / 432.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.599e-05/0.6766, allocations: 8.047 kB / 432.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6766, allocations: 46.5 kB / 432.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.576e-06/0.6766, allocations: 0 / 432.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001716/0.6783, allocations: 0.5005 MB / 432.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.6784, allocations: 51.41 kB / 432.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.6795, allocations: 0.5407 MB / 433.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.6796, allocations: 33.7 kB / 433.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.6799, allocations: 254.7 kB / 433.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.68, allocations: 82.75 kB / 433.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.6801, allocations: 8 kB / 433.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6803, allocations: 334.8 kB / 434.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.6808, allocations: 152.2 kB / 434.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.6814, allocations: 252.5 kB / 434.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.682, allocations: 193.2 kB / 434.8 MB, free: 7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.682, allocations: 4 kB / 434.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001439/0.6835, allocations: 479 kB / 435.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.6835, allocations: 8 kB / 435.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.6837, allocations: 39.97 kB / 435.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.6837, allocations: 4.406 kB / 435.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.6841, allocations: 47.91 kB / 435.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.6842, allocations: 11.89 kB / 435.3 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.6847, allocations: 55.28 kB / 435.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.6848, allocations: 19.98 kB / 435.4 MB, free: 6.34 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005426/0.6853, allocations: 225.9 kB / 435.6 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.6855, allocations: 43.44 kB / 435.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.6874, allocations: 0.54 MB / 436.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.6875, allocations: 7.938 kB / 436.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6875, allocations: 0 / 436.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6875, allocations: 3.953 kB / 436.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6886, allocations: 425.2 kB / 436.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/0.6888, allocations: 39.97 kB / 436.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.6891, allocations: 27.98 kB / 436.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6891, allocations: 0 / 436.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.6892, allocations: 16 kB / 436.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.6892, allocations: 0 / 436.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6892, allocations: 11.91 kB / 436.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.6912, allocations: 0.7105 MB / 437.5 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.6915, allocations: 132.5 kB / 437.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.6917, allocations: 0 / 437.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.6921, allocations: 8 kB / 437.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.6922, allocations: 24.03 kB / 437.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.6922, allocations: 19.98 kB / 437.6 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007698/0.693, allocations: 399 kB / 438 MB, free: 3.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.693, allocations: 0 / 438 MB, free: 3.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009324/0.694, allocations: 159.9 kB / 438.2 MB, free: 3.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005958/0.6946, allocations: 231.9 kB / 438.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.696, allocations: 0.6721 MB / 439.1 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6961, allocations: 0 / 439.1 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.6969, allocations: 485 kB / 439.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.6976, allocations: 89.84 kB / 439.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.7009, allocations: 1.15 MB / 440.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.7016, allocations: 0.8783 MB / 441.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.7018, allocations: 39.42 kB / 441.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7018, allocations: 0 / 441.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02097/0.7228, allocations: 8.627 MB / 450.3 MB, free: 7.125 MB / 378.7 MB