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.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,tolerance=1e-07,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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.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.HelicalPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005932, allocations: 16 kB / 283.1 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3524, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5116, allocations: 86.89 MB / 418.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.5121, allocations: 95.94 kB / 418.8 MB, free: 7.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08878/0.6009, allocations: 15.27 MB / 434.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6009, allocations: 0 / 434.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.601, allocations: 8 kB / 434.1 MB, free: 7.984 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001827/0.6028, allocations: 0.7055 MB / 434.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6028, allocations: 8.031 kB / 434.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.603, allocations: 43.44 kB / 434.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.6036, allocations: 311.4 kB / 435.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.6037, allocations: 29 kB / 435.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.6038, allocations: 47.97 kB / 435.2 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6054, allocations: 0.5816 MB / 435.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6054, allocations: 4 kB / 435.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.6055, allocations: 16 kB / 435.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.6056, allocations: 21 kB / 435.9 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.6071, allocations: 451.5 kB / 436.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.6103, allocations: 1.41 MB / 437.7 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.6113, allocations: 291.5 kB / 438 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.6114, allocations: 23.95 kB / 438 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6115, allocations: 34.56 kB / 438 MB, free: 3.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.795e-06/0.6115, allocations: 0 / 438 MB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002312/0.6138, allocations: 0.7151 MB / 438.8 MB, free: 3.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.6139, allocations: 102.8 kB / 438.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.615, allocations: 0.5447 MB / 439.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.6151, allocations: 37.64 kB / 439.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.6153, allocations: 242.8 kB / 439.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.6154, allocations: 55.19 kB / 439.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.6155, allocations: 4 kB / 439.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6156, allocations: 322.8 kB / 440.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.6163, allocations: 136 kB / 440.2 MB, free: 1.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.6169, allocations: 185.4 kB / 440.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.6176, allocations: 151.9 kB / 440.5 MB, free: 1.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6176, allocations: 0 / 440.5 MB, free: 1.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001511/0.6191, allocations: 369.3 kB / 440.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6192, allocations: 4 kB / 440.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.6193, allocations: 31.97 kB / 440.9 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.6193, allocations: 0 / 440.9 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.6197, allocations: 39.91 kB / 440.9 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6197, allocations: 4 kB / 441 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.6203, allocations: 75.38 kB / 441 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.6204, allocations: 15.94 kB / 441 MB, free: 0.6836 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003679/0.6208, allocations: 193.6 kB / 441.2 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.621, allocations: 43.44 kB / 441.3 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.6224, allocations: 392.9 kB / 441.7 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6224, allocations: 7.984 kB / 441.7 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6224, allocations: 0 / 441.7 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6224, allocations: 0 / 441.7 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009561/0.6234, allocations: 381.2 kB / 442 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.617e-05/0.6235, allocations: 31.97 kB / 442.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.6238, allocations: 31.97 kB / 442.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6239, allocations: 0 / 442.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.6239, allocations: 15.98 kB / 442.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.6239, allocations: 7.938 kB / 442.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6239, allocations: 0 / 442.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.6255, allocations: 0.5926 MB / 442.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.6259, allocations: 172.5 kB / 442.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.626, allocations: 8 kB / 442.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.6265, allocations: 31.95 kB / 442.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.6267, allocations: 19.92 kB / 442.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.6268, allocations: 11.98 kB / 443 MB, free: 14.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007978/0.6276, allocations: 403 kB / 443.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6276, allocations: 0 / 443.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009697/0.6286, allocations: 167.8 kB / 443.5 MB, free: 14.11 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0007232/0.6293, allocations: 288.5 kB / 443.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.6309, allocations: 0.538 MB / 444.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6309, allocations: 320 / 444.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.6317, allocations: 399.1 kB / 444.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.6326, allocations: 97.91 kB / 444.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.6351, allocations: 0.9525 MB / 445.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.6357, allocations: 0.8577 MB / 446.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.6359, allocations: 27.44 kB / 446.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6359, allocations: 0 / 446.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of Templates: time 0.02039/0.6563, allocations: 8.105 MB / 454.8 MB, free: 2.703 MB / 378.7 MB