Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.86 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4109, allocations: 88.61 MB / 457.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4112, allocations: 91.94 kB / 458 MB, free: 1.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04377/0.455, allocations: 10.77 MB / 468.8 MB, free: 6.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.54e-06/0.455, allocations: 4 kB / 468.8 MB, free: 6.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.4551, allocations: 8 kB / 468.8 MB, free: 6.906 MB / 394.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.001233/0.4563, allocations: 0.647 MB / 469.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4564, allocations: 12.03 kB / 469.4 MB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.4565, allocations: 43.53 kB / 469.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.457, allocations: 282.3 kB / 469.8 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.457, allocations: 29 kB / 469.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.4571, allocations: 36 kB / 469.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4584, allocations: 0.5817 MB / 470.4 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4585, allocations: 0 / 470.4 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.4585, allocations: 19.94 kB / 470.4 MB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.4586, allocations: 24.94 kB / 470.4 MB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.4598, allocations: 455.5 kB / 470.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.4625, allocations: 1.398 MB / 472.3 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.4632, allocations: 279.6 kB / 472.6 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.4633, allocations: 19.92 kB / 472.6 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4633, allocations: 34.56 kB / 472.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.608e-06/0.4634, allocations: 0 / 472.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001773/0.4651, allocations: 0.7081 MB / 473.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.4652, allocations: 106.8 kB / 473.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.466, allocations: 461 kB / 473.9 MB, free: 1.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.466, allocations: 29.7 kB / 473.9 MB, free: 1.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4663, allocations: 242.9 kB / 474.1 MB, free: 1.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.4664, allocations: 59.11 kB / 474.2 MB, free: 1.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.4664, allocations: 4 kB / 474.2 MB, free: 1.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4666, allocations: 318.8 kB / 474.5 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.467, allocations: 136 kB / 474.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.4675, allocations: 187.4 kB / 474.8 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.468, allocations: 160.6 kB / 475 MB, free: 360 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-06/0.468, allocations: 0 / 475 MB, free: 360 kB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.3104/0.7785, allocations: 363.6 kB / 475.3 MB, free: 95.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.7785, allocations: 8.891 kB / 475.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.7787, allocations: 29.3 kB / 475.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7787, allocations: 2.312 kB / 475.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.779, allocations: 40.39 kB / 475.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.779, allocations: 2.984 kB / 475.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.7795, allocations: 66.86 kB / 475.5 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.7795, allocations: 13.19 kB / 475.5 MB, free: 95.91 MB / 394.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.0002935/0.7799, allocations: 184.1 kB / 475.7 MB, free: 95.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.78, allocations: 42.48 kB / 475.7 MB, free: 95.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.7812, allocations: 396.7 kB / 476.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.7813, allocations: 5.531 kB / 476.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-06/0.7813, allocations: 1.688 kB / 476.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.475e-06/0.7813, allocations: 0.5625 kB / 476.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.7821, allocations: 363.5 kB / 476.5 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.304e-05/0.7822, allocations: 33.17 kB / 476.5 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.7824, allocations: 29.83 kB / 476.5 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-06/0.7824, allocations: 7.828 kB / 476.5 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.7825, allocations: 11.59 kB / 476.6 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.147e-06/0.7825, allocations: 1.719 kB / 476.6 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-06/0.7825, allocations: 1.031 kB / 476.6 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.7837, allocations: 0.6196 MB / 477.2 MB, free: 95.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.7839, allocations: 126 kB / 477.3 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.784, allocations: 8.375 kB / 477.3 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.7844, allocations: 24.61 kB / 477.3 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.7845, allocations: 19.66 kB / 477.4 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.7846, allocations: 14.19 kB / 477.4 MB, free: 95.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005641/0.7852, allocations: 370.5 kB / 477.7 MB, free: 95.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-07/0.7852, allocations: 3.969 kB / 477.7 MB, free: 95.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007483/0.7859, allocations: 124.1 kB / 477.9 MB, free: 95.02 MB / 394.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.0003868/0.7863, allocations: 203.9 kB / 478.1 MB, free: 94.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.7875, allocations: 0.546 MB / 478.6 MB, free: 94.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.025e-06/0.7875, allocations: 3.312 kB / 478.6 MB, free: 94.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.7881, allocations: 396.9 kB / 479 MB, free: 94.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.789, allocations: 94.73 kB / 479.1 MB, free: 94.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.7913, allocations: 0.9195 MB / 480 MB, free: 93.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.7917, allocations: 0.8485 MB / 480.8 MB, free: 93.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.7919, allocations: 30.27 kB / 480.9 MB, free: 93.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.541e-06/0.7919, allocations: 0 / 480.9 MB, free: 93.25 MB / 394.7 MB Notification: Performance of Templates: time 0.0118/0.8037, allocations: 7.121 MB / 488 MB, free: 92.61 MB / 394.7 MB