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.HelicalPipe.kc_overall_KC.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.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.284/2.284, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004267, allocations: 8 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3484, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5042, allocations: 85.49 MB / 417.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/0.5046, allocations: 103.9 kB / 417.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07301/0.5776, allocations: 14.27 MB / 431.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5777, allocations: 3.938 kB / 431.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5777, allocations: 4 kB / 431.7 MB, free: 10.4 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.001547/0.5793, allocations: 0.6082 MB / 432.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5794, allocations: 8.031 kB / 432.3 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5795, allocations: 43.52 kB / 432.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.5801, allocations: 282.3 kB / 432.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.5801, allocations: 32.94 kB / 432.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.5803, allocations: 36 kB / 432.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5818, allocations: 0.5451 MB / 433.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5818, allocations: 0 / 433.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.5819, allocations: 23.98 kB / 433.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-05/0.582, allocations: 28.98 kB / 433.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.5837, allocations: 0.5815 MB / 433.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.587, allocations: 1.195 MB / 435.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.5882, allocations: 379.1 kB / 435.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.5883, allocations: 24.12 kB / 435.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.5884, allocations: 30.75 kB / 435.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.136e-06/0.5884, allocations: 0 / 435.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001997/0.5904, allocations: 478.4 kB / 436 MB, free: 5.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5905, allocations: 55.41 kB / 436 MB, free: 5.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.5914, allocations: 449.6 kB / 436.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.5915, allocations: 25.7 kB / 436.5 MB, free: 5.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.5917, allocations: 230.8 kB / 436.7 MB, free: 5.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5918, allocations: 70.91 kB / 436.8 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.5918, allocations: 8 kB / 436.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.592, allocations: 318.8 kB / 437.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.5925, allocations: 123.9 kB / 437.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.5929, allocations: 119.8 kB / 437.3 MB, free: 4.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.5934, allocations: 139.4 kB / 437.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5935, allocations: 0 / 437.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001127/0.5946, allocations: 321.3 kB / 437.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5946, allocations: 4 kB / 437.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5947, allocations: 4 kB / 437.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.5947, allocations: 4 kB / 437.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5961, allocations: 155.8 kB / 437.9 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.6023, allocations: 5.512 MB / 443.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.6031, allocations: 55.39 kB / 443.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.6032, allocations: 11.98 kB / 443.5 MB, free: 14.15 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.0005298/0.6037, allocations: 189.7 kB / 443.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.604, allocations: 39.53 kB / 443.7 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.6065, allocations: 452.6 kB / 444.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.6066, allocations: 3.984 kB / 444.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.6066, allocations: 0 / 444.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6067, allocations: 0 / 444.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6078, allocations: 385.2 kB / 444.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6079, allocations: 0 / 444.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/0.61, allocations: 155.8 kB / 444.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6101, allocations: 0 / 444.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.6102, allocations: 11.98 kB / 444.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006633/0.6169, allocations: 5.512 MB / 450.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.6169, allocations: 3.938 kB / 450.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.6183, allocations: 466 kB / 450.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.6185, allocations: 116.7 kB / 450.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6186, allocations: 4 kB / 450.8 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.619, allocations: 12 kB / 450.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.6191, allocations: 15.97 kB / 450.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.6192, allocations: 11.98 kB / 450.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006345/0.6198, allocations: 343 kB / 451.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6199, allocations: 0 / 451.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008614/0.6207, allocations: 155.8 kB / 451.3 MB, free: 6.012 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.0008302/0.6216, allocations: 260.7 kB / 451.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.6239, allocations: 403.5 kB / 452 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.624, allocations: 4 kB / 452 MB, free: 5.352 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.6257, allocations: 283.6 kB / 452.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.6264, allocations: 89.39 kB / 452.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.6287, allocations: 0.8958 MB / 453.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.6294, allocations: 0.8542 MB / 454.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6296, allocations: 35.42 kB / 454.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6296, allocations: 0 / 454.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of Templates: time 0.3858/1.015, allocations: 19.47 MB / 473.6 MB, free: 119.9 MB / 394.7 MB