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.HelicalPipe.kc_overall_KC.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.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.11e-05, allocations: 8 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08498, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.4774, allocations: 85.39 MB / 412 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4777, allocations: 97.55 kB / 412.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06024/0.5379, allocations: 14.27 MB / 426.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.538, allocations: 0 / 426.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.538, allocations: 4 kB / 426.3 MB, free: 9.758 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001141/0.5392, allocations: 0.593 MB / 426.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.5393, allocations: 11.97 kB / 426.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.5395, allocations: 39.53 kB / 427 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.54, allocations: 281.5 kB / 427.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.5401, allocations: 33.03 kB / 427.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.5402, allocations: 43.42 kB / 427.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.5412, allocations: 0.5143 MB / 427.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.5412, allocations: 0 / 427.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.5413, allocations: 19.19 kB / 427.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-05/0.5413, allocations: 36.97 kB / 427.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5424, allocations: 0.5353 MB / 428.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.5448, allocations: 1.204 MB / 429.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.5456, allocations: 359.7 kB / 430 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.5459, allocations: 120.6 kB / 430.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.546, allocations: 4.172 kB / 430.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.546, allocations: 45.55 kB / 430.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.482e-06/0.5461, allocations: 0 / 430.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008101/0.5469, allocations: 307.1 kB / 430.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.5469, allocations: 58.78 kB / 430.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.5475, allocations: 396.3 kB / 430.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.5476, allocations: 28.77 kB / 430.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.5478, allocations: 226 kB / 431.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5479, allocations: 80.28 kB / 431.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.5479, allocations: 3.25 kB / 431.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5481, allocations: 318.3 kB / 431.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.5484, allocations: 101.3 kB / 431.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.5486, allocations: 108.5 kB / 431.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.5489, allocations: 112.1 kB / 431.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-06/0.5489, allocations: 4 kB / 431.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007104/0.5497, allocations: 283 kB / 432.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5497, allocations: 8 kB / 432.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-06/0.5497, allocations: 0 / 432.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5497, allocations: 4 kB / 432.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.5509, allocations: 159 kB / 432.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.5552, allocations: 5.517 MB / 437.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.5556, allocations: 55.27 kB / 437.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.5556, allocations: 8 kB / 437.9 MB, free: 14.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5558, allocations: 123.7 kB / 438 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.5559, allocations: 35.53 kB / 438 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5569, allocations: 416.1 kB / 438.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.557, allocations: 11.98 kB / 438.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.557, allocations: 0 / 438.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-06/0.557, allocations: 0 / 438.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.5576, allocations: 378.1 kB / 438.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-06/0.5577, allocations: 0 / 438.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5587, allocations: 158.4 kB / 439 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.878e-06/0.5587, allocations: 3.938 kB / 439 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.5588, allocations: 11.42 kB / 439 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004337/0.5631, allocations: 5.52 MB / 444.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.675e-06/0.5632, allocations: 0 / 444.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.564, allocations: 425.6 kB / 444.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.5642, allocations: 116.7 kB / 445 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.5643, allocations: 3.25 kB / 445 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.5646, allocations: 19.34 kB / 445.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.5646, allocations: 19.97 kB / 445.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.5647, allocations: 7.812 kB / 445.1 MB, free: 7.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004951/0.5652, allocations: 327.3 kB / 445.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5652, allocations: 0 / 445.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007056/0.5659, allocations: 159.5 kB / 445.6 MB, free: 6.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005524/0.5665, allocations: 253 kB / 445.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.5679, allocations: 342 kB / 446.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.423e-06/0.5679, allocations: 0 / 446.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.5693, allocations: 224.6 kB / 446.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.5699, allocations: 86.73 kB / 446.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.5713, allocations: 0.5911 MB / 447 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.572, allocations: 0.8567 MB / 447.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5721, allocations: 35.36 kB / 447.9 MB, free: 4.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.85e-06/0.5721, allocations: 0 / 447.9 MB, free: 4.59 MB / 346.7 MB Notification: Performance of Templates: time 0.03062/0.6027, allocations: 19.47 MB / 467.4 MB, free: 1.133 MB / 362.7 MB