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_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.000442, allocations: 19.98 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3987, allocations: 80.48 MB / 411.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.3991, allocations: 99.94 kB / 411.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05035/0.4494, allocations: 9.343 MB / 421.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.08e-06/0.4495, allocations: 0 / 421.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.4496, allocations: 7.938 kB / 421.2 MB, free: 4.32 MB / 346.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.001587/0.4512, allocations: 0.581 MB / 421.8 MB, free: 3.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4512, allocations: 8.031 kB / 421.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.4514, allocations: 39.53 kB / 421.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.4522, allocations: 274.3 kB / 422.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.4523, allocations: 36.94 kB / 422.2 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.4525, allocations: 39.92 kB / 422.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4543, allocations: 0.5373 MB / 422.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4543, allocations: 0 / 422.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.4544, allocations: 19.98 kB / 422.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.4545, allocations: 32.98 kB / 422.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.4558, allocations: 0.5776 MB / 423.4 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.4583, allocations: 1.203 MB / 424.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/0.4593, allocations: 376.1 kB / 424.9 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.4594, allocations: 8.188 kB / 424.9 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4594, allocations: 30.75 kB / 425 MB, free: 416 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.237e-06/0.4594, allocations: 4 kB / 425 MB, free: 412 kB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001357/0.4608, allocations: 477.7 kB / 425.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4609, allocations: 55.41 kB / 425.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.4615, allocations: 408.8 kB / 425.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.4616, allocations: 29.7 kB / 425.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4618, allocations: 222.9 kB / 426.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4619, allocations: 90.77 kB / 426.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.462, allocations: 0 / 426.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4621, allocations: 318.8 kB / 426.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.4625, allocations: 123.9 kB / 426.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.4629, allocations: 115.9 kB / 426.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.4633, allocations: 131.8 kB / 426.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4633, allocations: 7.938 kB / 426.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009008/0.4642, allocations: 324.7 kB / 427.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4642, allocations: 8.781 kB / 427.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.951e-06/0.4643, allocations: 0 / 427.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4643, allocations: 0 / 427.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4653, allocations: 151.9 kB / 427.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.4699, allocations: 5.525 MB / 432.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4702, allocations: 55.67 kB / 433 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4703, allocations: 15.98 kB / 433 MB, free: 8.145 MB / 362.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.0003315/0.4706, allocations: 189.7 kB / 433.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4708, allocations: 39.52 kB / 433.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.472, allocations: 456.4 kB / 433.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.472, allocations: 0 / 433.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.472, allocations: 4 kB / 433.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.102e-06/0.472, allocations: 0 / 433.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/0.4727, allocations: 369.3 kB / 434 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.74e-06/0.4727, allocations: 3.953 kB / 434 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.4737, allocations: 155.8 kB / 434.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.4738, allocations: 4 kB / 434.2 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.4738, allocations: 15.98 kB / 434.2 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.4783, allocations: 5.512 MB / 439.7 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.806e-06/0.4783, allocations: 32 / 439.7 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4793, allocations: 458.7 kB / 440.2 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.4795, allocations: 120.7 kB / 440.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.4796, allocations: 0 / 440.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.4799, allocations: 15.98 kB / 440.3 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.48, allocations: 11.98 kB / 440.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.4801, allocations: 15.98 kB / 440.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005286/0.4806, allocations: 331.1 kB / 440.6 MB, free: 184 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.987e-06/0.4806, allocations: 4 kB / 440.6 MB, free: 180 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005816/0.4812, allocations: 115.7 kB / 440.8 MB, free: 64 kB / 362.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.0003866/0.4816, allocations: 172.2 kB / 440.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.4832, allocations: 382.3 kB / 441.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.923e-06/0.4832, allocations: 0 / 441.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4843, allocations: 239.7 kB / 441.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.485, allocations: 93.38 kB / 441.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4869, allocations: 0.8962 MB / 442.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.4875, allocations: 0.8542 MB / 443.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.4877, allocations: 31.42 kB / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.089e-06/0.4877, allocations: 0 / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.02884/0.5165, allocations: 18.7 MB / 462.1 MB, free: 10.65 MB / 394.7 MB