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.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004378, allocations: 16 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 54.85 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4112, allocations: 88.76 MB / 458 MB, free: 1.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.4116, allocations: 99.86 kB / 458.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04885/0.4605, allocations: 12.15 MB / 470.3 MB, free: 5.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.84e-06/0.4605, allocations: 0 / 470.3 MB, free: 5.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.4605, allocations: 8 kB / 470.3 MB, free: 5.398 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001244/0.4618, allocations: 0.6782 MB / 471 MB, free: 4.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4618, allocations: 8.031 kB / 471 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.462, allocations: 51.44 kB / 471 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.4625, allocations: 294.3 kB / 471.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.4626, allocations: 33 kB / 471.4 MB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.4627, allocations: 47.94 kB / 471.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.4641, allocations: 0.6675 MB / 472.1 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4642, allocations: 0 / 472.1 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.4642, allocations: 23.94 kB / 472.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.4643, allocations: 25 kB / 472.1 MB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.4656, allocations: 0.4995 MB / 472.6 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.4689, allocations: 1.543 MB / 474.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.4697, allocations: 307.7 kB / 474.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.4698, allocations: 15.91 kB / 474.5 MB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.4698, allocations: 38.56 kB / 474.5 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.031e-06/0.4698, allocations: 0 / 474.5 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001899/0.4717, allocations: 0.7633 MB / 475.3 MB, free: 148 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.4718, allocations: 106.8 kB / 475.4 MB, free: 16 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2866/0.7585, allocations: 488.1 kB / 475.9 MB, free: 95.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.7586, allocations: 28.86 kB / 475.9 MB, free: 95.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.7588, allocations: 263.4 kB / 476.1 MB, free: 95.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.7589, allocations: 68.47 kB / 476.2 MB, free: 95.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.7589, allocations: 4.812 kB / 476.2 MB, free: 95.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.759, allocations: 323.7 kB / 476.5 MB, free: 94.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.7597, allocations: 169 kB / 476.7 MB, free: 94.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.7604, allocations: 293.2 kB / 477 MB, free: 94.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.7611, allocations: 203.3 kB / 477.2 MB, free: 94.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.294e-06/0.7611, allocations: 1.156 kB / 477.2 MB, free: 94.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00156/0.7627, allocations: 499.8 kB / 477.7 MB, free: 94.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.7627, allocations: 8.531 kB / 477.7 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.7629, allocations: 37.72 kB / 477.7 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.7629, allocations: 6.438 kB / 477.7 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.7632, allocations: 51.81 kB / 477.8 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.7632, allocations: 6.922 kB / 477.8 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.7637, allocations: 74.56 kB / 477.9 MB, free: 94.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.7638, allocations: 19.27 kB / 477.9 MB, free: 94.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0003228/0.7642, allocations: 218.8 kB / 478.1 MB, free: 94.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7643, allocations: 42.56 kB / 478.1 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.7655, allocations: 462.8 kB / 478.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.7656, allocations: 6.406 kB / 478.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7656, allocations: 3.938 kB / 478.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.669e-06/0.7656, allocations: 1.984 kB / 478.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.7664, allocations: 387.4 kB / 479 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.18e-05/0.7665, allocations: 39.44 kB / 479 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.7667, allocations: 32.19 kB / 479 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.7667, allocations: 1.375 kB / 479 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.7668, allocations: 13.44 kB / 479.1 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.848e-06/0.7668, allocations: 1.906 kB / 479.1 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.566e-06/0.7668, allocations: 4.781 kB / 479.1 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.768, allocations: 0.66 MB / 479.7 MB, free: 93.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.7681, allocations: 126.8 kB / 479.8 MB, free: 93.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.7682, allocations: 2.891 kB / 479.8 MB, free: 93.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.7687, allocations: 25.53 kB / 479.9 MB, free: 93.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.7688, allocations: 22.56 kB / 479.9 MB, free: 93.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.7688, allocations: 19.83 kB / 479.9 MB, free: 93.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005711/0.7694, allocations: 390 kB / 480.3 MB, free: 93.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.7694, allocations: 2.812 kB / 480.3 MB, free: 93.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008589/0.7703, allocations: 141.9 kB / 480.4 MB, free: 93.73 MB / 394.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 (17): * Single equations (assignments): 5 * 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.0004222/0.7708, allocations: 209.5 kB / 480.6 MB, free: 93.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.7721, allocations: 0.6916 MB / 481.3 MB, free: 93.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.992e-06/0.7721, allocations: 0 / 481.3 MB, free: 93.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.7727, allocations: 493.1 kB / 481.8 MB, free: 92.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.7735, allocations: 106.9 kB / 481.9 MB, free: 92.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.7757, allocations: 1.018 MB / 482.9 MB, free: 92.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.7761, allocations: 0.8655 MB / 483.8 MB, free: 91.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.7762, allocations: 31.33 kB / 483.8 MB, free: 91.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.652e-06/0.7762, allocations: 1.25 kB / 483.8 MB, free: 91.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01347/0.7897, allocations: 8.472 MB / 492.3 MB, free: 90.18 MB / 394.7 MB