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 2.077/2.077, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007201/0.0007203, allocations: 12 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3012, allocations: 48.69 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4283, allocations: 85.5 MB / 416.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.4287, allocations: 95.92 kB / 416.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06389/0.4926, allocations: 14.28 MB / 431.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.844e-06/0.4927, allocations: 0 / 431.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4927, allocations: 4 kB / 431.2 MB, free: 10.37 MB / 362.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.001176/0.4939, allocations: 0.6082 MB / 431.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4939, allocations: 8.031 kB / 431.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4941, allocations: 43.53 kB / 431.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.4945, allocations: 278.3 kB / 432.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.4946, allocations: 36.94 kB / 432.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.4947, allocations: 36 kB / 432.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.4959, allocations: 0.5373 MB / 432.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4959, allocations: 0 / 432.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.496, allocations: 15.98 kB / 432.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.496, allocations: 32.98 kB / 432.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.4973, allocations: 0.5815 MB / 433.3 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.4999, allocations: 1.203 MB / 434.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.5009, allocations: 384.1 kB / 434.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.5009, allocations: 8.172 kB / 434.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.501, allocations: 34.75 kB / 435 MB, free: 6.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.107e-06/0.501, allocations: 0 / 435 MB, free: 6.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001371/0.5024, allocations: 477.8 kB / 435.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5024, allocations: 55.41 kB / 435.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.5031, allocations: 408.8 kB / 435.9 MB, free: 5.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.5032, allocations: 25.7 kB / 435.9 MB, free: 5.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.5034, allocations: 230.8 kB / 436.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.5035, allocations: 70.92 kB / 436.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5035, allocations: 8 kB / 436.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5037, allocations: 322.8 kB / 436.5 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.5041, allocations: 119.9 kB / 436.6 MB, free: 4.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.5044, allocations: 123.8 kB / 436.8 MB, free: 4.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.5048, allocations: 135.8 kB / 436.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.5048, allocations: 0 / 436.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008976/0.5057, allocations: 316.4 kB / 437.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5058, allocations: 8.922 kB / 437.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5058, allocations: 8 kB / 437.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5058, allocations: 0 / 437.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5069, allocations: 151.8 kB / 437.4 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.5114, allocations: 5.516 MB / 442.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.5118, allocations: 55.39 kB / 442.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.5119, allocations: 12 kB / 442.9 MB, free: 14.17 MB / 378.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 () * Number of clocked 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.0003249/0.5122, allocations: 193.6 kB / 443.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.5123, allocations: 35.53 kB / 443.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.5136, allocations: 452.6 kB / 443.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-06/0.5136, allocations: 0 / 443.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.533e-06/0.5136, allocations: 4 kB / 443.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.5136, allocations: 0 / 443.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.5144, allocations: 377.2 kB / 444 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.003e-06/0.5144, allocations: 3.953 kB / 444 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5154, allocations: 151.8 kB / 444.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.5155, allocations: 4 kB / 444.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5155, allocations: 7.984 kB / 444.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.52, allocations: 5.52 MB / 449.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-06/0.5201, allocations: 3.938 kB / 449.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5211, allocations: 457.7 kB / 450.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5213, allocations: 120.7 kB / 450.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.5214, allocations: 4 kB / 450.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.5217, allocations: 15.98 kB / 450.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.5218, allocations: 15.97 kB / 450.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.5218, allocations: 19.98 kB / 450.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000534/0.5224, allocations: 331.1 kB / 450.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.5224, allocations: 0 / 450.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007282/0.5231, allocations: 155.8 kB / 450.8 MB, free: 6.043 MB / 378.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 () * Number of clocked 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.0005963/0.5238, allocations: 261.6 kB / 451 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.5254, allocations: 375.5 kB / 451.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.855e-06/0.5254, allocations: 0 / 451.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5265, allocations: 247.6 kB / 451.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.5271, allocations: 89.39 kB / 451.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.529, allocations: 0.89 MB / 452.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.5297, allocations: 0.8542 MB / 453.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.5298, allocations: 35.42 kB / 453.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.142e-06/0.5298, allocations: 0 / 453.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of Templates: time 0.253/0.7828, allocations: 19.49 MB / 473 MB, free: 120.1 MB / 394.7 MB