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_turbulent.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_turbulent,tolerance=1e-05,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.|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_turbulent") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 16 kB / 282.6 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08908, allocations: 48.71 MB / 331.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4574, allocations: 81.32 MB / 412.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006077/0.4581, allocations: 99.94 kB / 412.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06317/0.5213, allocations: 13.36 MB / 426.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5214, allocations: 0 / 426.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.5214, allocations: 4 kB / 426.1 MB, free: 6.273 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001115/0.5225, allocations: 0.5807 MB / 426.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5226, allocations: 8.031 kB / 426.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.5227, allocations: 35.53 kB / 426.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.5231, allocations: 246.6 kB / 427 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5232, allocations: 24.5 kB / 427 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.5232, allocations: 24 kB / 427 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.5243, allocations: 441.9 kB / 427.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5243, allocations: 3.938 kB / 427.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.5244, allocations: 16 kB / 427.5 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.5244, allocations: 12.56 kB / 427.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.5254, allocations: 345.9 kB / 427.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.5275, allocations: 1.124 MB / 428.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.5282, allocations: 251.7 kB / 429.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.5283, allocations: 7.984 kB / 429.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5283, allocations: 38.56 kB / 429.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 7.447e-06/0.5284, allocations: 96 / 429.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001573/0.5299, allocations: 0.6176 MB / 429.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.53, allocations: 106.8 kB / 429.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.5306, allocations: 364.7 kB / 430.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.5307, allocations: 25.7 kB / 430.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.5309, allocations: 242.1 kB / 430.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.531, allocations: 51.34 kB / 430.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.531, allocations: 4 kB / 430.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5312, allocations: 326.8 kB / 430.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.5317, allocations: 128.1 kB / 431.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.5322, allocations: 247.8 kB / 431.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.5327, allocations: 163.8 kB / 431.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.962e-06/0.5328, allocations: 4 kB / 431.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001214/0.534, allocations: 405.3 kB / 431.9 MB, free: 128 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.534, allocations: 16.03 kB / 431.9 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-05/0.5341, allocations: 19.98 kB / 431.9 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5341, allocations: 8 kB / 431.9 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.5345, allocations: 59.88 kB / 432 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.5345, allocations: 8 kB / 432 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.535, allocations: 59.67 kB / 432 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.535, allocations: 20 kB / 432 MB, free: 15.93 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002804/0.5353, allocations: 181.2 kB / 432.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.5355, allocations: 27.62 kB / 432.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008874/0.5364, allocations: 312.3 kB / 432.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5364, allocations: 0 / 432.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.878e-06/0.5364, allocations: 4 kB / 432.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5364, allocations: 3.984 kB / 432.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.5371, allocations: 301.4 kB / 432.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-05/0.5372, allocations: 23.97 kB / 432.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.5374, allocations: 27.97 kB / 432.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.565e-06/0.5374, allocations: 4 kB / 432.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.5375, allocations: 8 kB / 432.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.494e-06/0.5375, allocations: 0 / 432.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-06/0.5375, allocations: 0 / 432.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5386, allocations: 0.5518 MB / 433.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.5389, allocations: 136.7 kB / 433.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.5389, allocations: 3.984 kB / 433.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.5393, allocations: 31.98 kB / 433.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.5394, allocations: 11.98 kB / 433.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.5395, allocations: 11.98 kB / 433.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004497/0.5399, allocations: 287.1 kB / 433.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.54, allocations: 0 / 433.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007702/0.5407, allocations: 107.8 kB / 434 MB, free: 13.82 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004098/0.5412, allocations: 183 kB / 434.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.5423, allocations: 454.7 kB / 434.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.5423, allocations: 4 kB / 434.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.5429, allocations: 282.1 kB / 434.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.5436, allocations: 69.38 kB / 435 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.5452, allocations: 0.7042 MB / 435.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.5457, allocations: 0.7989 MB / 436.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5459, allocations: 23.81 kB / 436.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.644e-06/0.5459, allocations: 4 kB / 436.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Templates: time 0.01149/0.5574, allocations: 5.593 MB / 442.1 MB, free: 5.598 MB / 362.7 MB