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_overall.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.761e-05, allocations: 0 / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4106, allocations: 93.43 MB / 451.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.4109, allocations: 91.94 kB / 451.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3365/0.7474, allocations: 23.81 MB / 475.4 MB, free: 97.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.7475, allocations: 0 / 475.4 MB, free: 97.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.7475, allocations: 6.656 kB / 475.4 MB, free: 97.38 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001131/0.7486, allocations: 0.7419 MB / 476.1 MB, free: 96.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7487, allocations: 7.094 kB / 476.2 MB, free: 96.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7488, allocations: 54.5 kB / 476.2 MB, free: 96.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.7493, allocations: 309.5 kB / 476.5 MB, free: 96.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.7493, allocations: 17.06 kB / 476.5 MB, free: 96.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.7494, allocations: 34.38 kB / 476.6 MB, free: 96.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007716/0.7502, allocations: 460.5 kB / 477 MB, free: 96.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.7513, allocations: 0.6454 MB / 477.7 MB, free: 96.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.7513, allocations: 3.844 kB / 477.7 MB, free: 96.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.7514, allocations: 6.688 kB / 477.7 MB, free: 96.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.7514, allocations: 28.69 kB / 477.7 MB, free: 96.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.7539, allocations: 1.522 MB / 479.2 MB, free: 95.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.7544, allocations: 268.4 kB / 479.5 MB, free: 95.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.7547, allocations: 113.5 kB / 479.6 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.7547, allocations: 18.31 kB / 479.6 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.7548, allocations: 34.12 kB / 479.6 MB, free: 95.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.491e-06/0.7548, allocations: 0 / 479.6 MB, free: 95.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007697/0.7556, allocations: 296.2 kB / 479.9 MB, free: 95.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7556, allocations: 110.4 kB / 480 MB, free: 95.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.7559, allocations: 303.1 kB / 480.3 MB, free: 95.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.756, allocations: 25.7 kB / 480.4 MB, free: 95.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.7561, allocations: 367.4 kB / 480.7 MB, free: 95.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.7562, allocations: 73.19 kB / 480.8 MB, free: 95.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.7563, allocations: 3.5 kB / 480.8 MB, free: 95.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.7564, allocations: 330.5 kB / 481.1 MB, free: 94.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.7567, allocations: 150.6 kB / 481.3 MB, free: 94.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.7571, allocations: 418.3 kB / 481.7 MB, free: 94.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.7575, allocations: 229.6 kB / 481.9 MB, free: 94.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.803e-06/0.7575, allocations: 7.219 kB / 481.9 MB, free: 94.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001059/0.7586, allocations: 0.5321 MB / 482.4 MB, free: 94.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7587, allocations: 14.88 kB / 482.4 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.7588, allocations: 52.92 kB / 482.5 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.7588, allocations: 12.62 kB / 482.5 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7592, allocations: 82.62 kB / 482.6 MB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7592, allocations: 20.88 kB / 482.6 MB, free: 94.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.7597, allocations: 49.12 kB / 482.7 MB, free: 94.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.7598, allocations: 39.56 kB / 482.7 MB, free: 94.23 MB / 394.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 () * 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.000144/0.76, allocations: 141.5 kB / 482.8 MB, free: 94.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7601, allocations: 32.69 kB / 482.9 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.7611, allocations: 428.2 kB / 483.3 MB, free: 93.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.7611, allocations: 9.547 kB / 483.3 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-06/0.7611, allocations: 0 / 483.3 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.525e-06/0.7611, allocations: 2.531 kB / 483.3 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.7618, allocations: 368.3 kB / 483.7 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.534e-05/0.7619, allocations: 40.64 kB / 483.7 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.7622, allocations: 33.16 kB / 483.7 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-06/0.7622, allocations: 0 / 483.7 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.7622, allocations: 17.75 kB / 483.8 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7623, allocations: 0 / 483.8 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-06/0.7623, allocations: 0 / 483.8 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.763, allocations: 0.5601 MB / 484.3 MB, free: 93.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.7631, allocations: 106.1 kB / 484.4 MB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.7632, allocations: 3.469 kB / 484.4 MB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.7636, allocations: 29.23 kB / 484.4 MB, free: 93.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.7637, allocations: 22.78 kB / 484.5 MB, free: 93.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.7637, allocations: 15.34 kB / 484.5 MB, free: 93.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.764, allocations: 213 kB / 484.7 MB, free: 93.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.764, allocations: 4 kB / 484.7 MB, free: 93.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001072/0.7651, allocations: 211.8 kB / 484.9 MB, free: 93.07 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 () * 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.0005757/0.7657, allocations: 289.1 kB / 485.2 MB, free: 92.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.7665, allocations: 0.6632 MB / 485.8 MB, free: 92.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.167e-06/0.7665, allocations: 0.5 kB / 485.8 MB, free: 92.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.7669, allocations: 454.3 kB / 486.3 MB, free: 92.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.7673, allocations: 35.89 kB / 486.3 MB, free: 92.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.769, allocations: 0.7057 MB / 487 MB, free: 91.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.7695, allocations: 0.8948 MB / 487.9 MB, free: 91.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.7696, allocations: 32.72 kB / 488 MB, free: 91.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.625e-06/0.7696, allocations: 0 / 488 MB, free: 91.09 MB / 394.7 MB Notification: Performance of Templates: time 0.01243/0.782, allocations: 8.508 MB / 496.5 MB, free: 84.03 MB / 394.7 MB