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.StraightPipe.kc_laminar.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.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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004389, allocations: 16 kB / 282.6 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08871, allocations: 48.7 MB / 331.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.4662, allocations: 82.46 MB / 413.8 MB, free: 2.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.4666, allocations: 103.9 kB / 413.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.049/0.5156, allocations: 12.15 MB / 426 MB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.422e-06/0.5156, allocations: 0 / 426 MB, free: 6.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.5157, allocations: 8 kB / 426 MB, free: 6.25 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001316/0.517, allocations: 0.6744 MB / 426.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5171, allocations: 8.031 kB / 426.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5172, allocations: 55.44 kB / 426.8 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.5178, allocations: 306.2 kB / 427.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.5178, allocations: 29 kB / 427.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.5179, allocations: 48 kB / 427.1 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5194, allocations: 0.6597 MB / 427.8 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.5195, allocations: 0 / 427.8 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.5195, allocations: 20 kB / 427.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.5196, allocations: 28.92 kB / 427.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.5209, allocations: 0.4918 MB / 428.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.524, allocations: 1.546 MB / 429.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.5248, allocations: 311.6 kB / 430.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.5249, allocations: 15.94 kB / 430.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.525, allocations: 34.56 kB / 430.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.881e-06/0.525, allocations: 3.938 kB / 430.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001917/0.5269, allocations: 0.7607 MB / 431 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.527, allocations: 110.8 kB / 431.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.5279, allocations: 492.9 kB / 431.6 MB, free: 396 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.5279, allocations: 25.7 kB / 431.6 MB, free: 364 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.5282, allocations: 274.6 kB / 431.9 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.5283, allocations: 74.94 kB / 431.9 MB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.5283, allocations: 4 kB / 432 MB, free: 8 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5285, allocations: 326.8 kB / 432.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.5291, allocations: 172 kB / 432.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.5297, allocations: 291.7 kB / 432.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5303, allocations: 203.8 kB / 432.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.5303, allocations: 4 kB / 432.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001427/0.5318, allocations: 493 kB / 433.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5318, allocations: 8 kB / 433.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.5319, allocations: 39.95 kB / 433.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.532, allocations: 4 kB / 433.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.5323, allocations: 48.25 kB / 433.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.5323, allocations: 11.98 kB / 433.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.5328, allocations: 67.42 kB / 433.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.5329, allocations: 19.98 kB / 433.6 MB, free: 14.28 MB / 362.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.0003815/0.5333, allocations: 225.5 kB / 433.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.5335, allocations: 39.53 kB / 433.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.5348, allocations: 460.8 kB / 434.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.5348, allocations: 8 kB / 434.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-06/0.5348, allocations: 0 / 434.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.5348, allocations: 11.92 kB / 434.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.5358, allocations: 385.3 kB / 434.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.854e-05/0.5359, allocations: 35.95 kB / 434.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.5361, allocations: 35.97 kB / 434.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.086e-06/0.5361, allocations: 0 / 434.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.5362, allocations: 8 kB / 434.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5362, allocations: 4 kB / 434.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-06/0.5362, allocations: 0 / 434.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5376, allocations: 0.6674 MB / 435.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.5379, allocations: 176.4 kB / 435.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.538, allocations: 8 kB / 435.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.5385, allocations: 19.98 kB / 435.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5386, allocations: 27.95 kB / 435.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.5386, allocations: 15.98 kB / 435.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006599/0.5393, allocations: 395 kB / 436.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5393, allocations: 0 / 436.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008736/0.5402, allocations: 147.8 kB / 436.2 MB, free: 11.55 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 (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.0004805/0.5407, allocations: 220.7 kB / 436.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.5422, allocations: 0.6798 MB / 437.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5422, allocations: 0 / 437.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007463/0.5429, allocations: 493.1 kB / 437.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.5438, allocations: 117.9 kB / 437.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.5461, allocations: 1.013 MB / 438.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.5468, allocations: 0.8662 MB / 439.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.547, allocations: 31.44 kB / 439.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 1.559e-06/0.547, allocations: 0 / 439.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of Templates: time 0.01649/0.5635, allocations: 8.464 MB / 448.1 MB, free: 15.5 MB / 378.7 MB