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.StraightPipe.kc_overall.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.StraightPipe.kc_overall,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.|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_overall") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005903/0.0005905, allocations: 16 kB / 283.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3576, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.5156, allocations: 87.83 MB / 419.7 MB, free: 6.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005614/0.5162, allocations: 99.94 kB / 419.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1111/0.6274, allocations: 24.04 MB / 443.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6274, allocations: 0 / 443.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.6275, allocations: 8 kB / 443.8 MB, free: 14.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001808/0.6293, allocations: 0.7642 MB / 444.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6293, allocations: 8.031 kB / 444.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.6295, allocations: 55.34 kB / 444.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.6301, allocations: 314.2 kB / 444.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.6302, allocations: 37.31 kB / 445 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6304, allocations: 56 kB / 445 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.6324, allocations: 0.7814 MB / 445.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.6325, allocations: 7.938 kB / 445.8 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.6326, allocations: 20 kB / 445.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/0.6327, allocations: 25.31 kB / 445.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.6345, allocations: 0.5749 MB / 446.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.6385, allocations: 1.692 MB / 448.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.6396, allocations: 323.4 kB / 448.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.73e-05/0.6397, allocations: 11.98 kB / 448.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.6398, allocations: 42.48 kB / 448.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.356e-06/0.6398, allocations: 0 / 448.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002458/0.6422, allocations: 0.7665 MB / 449.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.6424, allocations: 106.9 kB / 449.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6436, allocations: 0.6469 MB / 450 MB, free: 7.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.6437, allocations: 29.7 kB / 450 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.644, allocations: 322.1 kB / 450.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6441, allocations: 71 kB / 450.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.6442, allocations: 12 kB / 450.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6443, allocations: 326.8 kB / 450.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.6451, allocations: 208.9 kB / 451 MB, free: 6.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6462, allocations: 477.4 kB / 451.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.6472, allocations: 274.8 kB / 451.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.6472, allocations: 4 kB / 451.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002311/0.6496, allocations: 0.6806 MB / 452.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6496, allocations: 8 kB / 452.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.6498, allocations: 47.97 kB / 452.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.6498, allocations: 15.98 kB / 452.4 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.6504, allocations: 80.19 kB / 452.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.982e-05/0.6504, allocations: 19.94 kB / 452.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.6513, allocations: 95.14 kB / 452.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.6514, allocations: 35.94 kB / 452.7 MB, free: 4.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * 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.0005003/0.6519, allocations: 257.5 kB / 452.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.6521, allocations: 43.44 kB / 453 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.6539, allocations: 497.3 kB / 453.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.6539, allocations: 4 kB / 453.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6539, allocations: 0 / 453.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.6539, allocations: 4 kB / 453.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.655, allocations: 409.2 kB / 453.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001429/0.6552, allocations: 47.91 kB / 453.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.6555, allocations: 27.97 kB / 453.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6556, allocations: 0 / 453.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.6556, allocations: 15.98 kB / 453.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6556, allocations: 0 / 453.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6556, allocations: 0 / 453.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.6574, allocations: 0.6383 MB / 454.6 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.6578, allocations: 188.3 kB / 454.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6579, allocations: 3.953 kB / 454.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.6585, allocations: 31.97 kB / 454.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6586, allocations: 23.97 kB / 454.8 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.6587, allocations: 12 kB / 454.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009227/0.6596, allocations: 442.7 kB / 455.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6596, allocations: 7.938 kB / 455.3 MB, free: 2.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001283/0.6609, allocations: 199.7 kB / 455.5 MB, free: 2.008 MB / 378.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.0007909/0.6617, allocations: 287.5 kB / 455.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.6639, allocations: 0.7753 MB / 456.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.6639, allocations: 4.188 kB / 456.5 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.6649, allocations: 496.2 kB / 457 MB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6659, allocations: 118.2 kB / 457.1 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.6691, allocations: 1.119 MB / 458.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.6698, allocations: 0.8935 MB / 459.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.67, allocations: 39.42 kB / 459.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.67, allocations: 0 / 459.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of Templates: time 0.02531/0.6954, allocations: 10.27 MB / 469.5 MB, free: 3.848 MB / 394.7 MB