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_laminar_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_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 2.054/2.054, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006073/0.0006074, allocations: 8 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3669, allocations: 48.7 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.5711, allocations: 80.47 MB / 412.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005434/0.5717, allocations: 99.94 kB / 412.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06384/0.6355, allocations: 9.339 MB / 421.7 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6356, allocations: 0 / 421.7 MB, free: 4.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.6357, allocations: 11.94 kB / 421.8 MB, free: 4.336 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.00174/0.6374, allocations: 0.5771 MB / 422.3 MB, free: 3.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.6375, allocations: 8.031 kB / 422.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.6377, allocations: 47.47 kB / 422.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.6384, allocations: 278.3 kB / 422.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.6385, allocations: 32.95 kB / 422.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6387, allocations: 35.98 kB / 422.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.6409, allocations: 0.5451 MB / 423.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.641, allocations: 0 / 423.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.6411, allocations: 19.98 kB / 423.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.6412, allocations: 32.97 kB / 423.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.6437, allocations: 0.5777 MB / 423.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.6481, allocations: 1.199 MB / 425.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.6498, allocations: 379.1 kB / 425.5 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.6499, allocations: 8.188 kB / 425.5 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.65, allocations: 34.75 kB / 425.5 MB, free: 424 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 9.087e-06/0.65, allocations: 7.938 kB / 425.5 MB, free: 416 kB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002459/0.6525, allocations: 474.5 kB / 426 MB, free: 15.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.6526, allocations: 51.41 kB / 426 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.6538, allocations: 457.6 kB / 426.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.6539, allocations: 29.7 kB / 426.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.6541, allocations: 222.9 kB / 426.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6543, allocations: 86.78 kB / 426.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.6543, allocations: 0 / 426.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6545, allocations: 318.8 kB / 427.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.6552, allocations: 123.9 kB / 427.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.6559, allocations: 119.9 kB / 427.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.6566, allocations: 139.4 kB / 427.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6566, allocations: 0 / 427.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001659/0.6583, allocations: 317.3 kB / 427.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.6584, allocations: 11.94 kB / 427.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6584, allocations: 0 / 427.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6584, allocations: 3.984 kB / 427.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.6605, allocations: 147.9 kB / 428 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/0.6664, allocations: 5.525 MB / 433.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.6671, allocations: 47.69 kB / 433.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.6672, allocations: 19.98 kB / 433.6 MB, free: 8.113 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.0004743/0.6677, allocations: 189.7 kB / 433.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.6678, allocations: 35.53 kB / 433.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.6701, allocations: 456.5 kB / 434.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6702, allocations: 4 kB / 434.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6702, allocations: 3.984 kB / 434.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6702, allocations: 0 / 434.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.6714, allocations: 377.2 kB / 434.6 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6714, allocations: 0 / 434.6 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.6735, allocations: 147.9 kB / 434.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.6735, allocations: 4 kB / 434.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.6736, allocations: 11.98 kB / 434.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.6794, allocations: 5.524 MB / 440.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6794, allocations: 4 kB / 440.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.6812, allocations: 446 kB / 440.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.6815, allocations: 116.7 kB / 440.8 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6816, allocations: 8 kB / 440.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.6822, allocations: 15.98 kB / 440.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.6824, allocations: 27.91 kB / 440.9 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.6824, allocations: 11.94 kB / 440.9 MB, free: 468 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008518/0.6833, allocations: 339.1 kB / 441.2 MB, free: 128 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.764e-06/0.6833, allocations: 0 / 441.2 MB, free: 128 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001284/0.6846, allocations: 111.7 kB / 441.3 MB, free: 16 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.0005979/0.6853, allocations: 167.2 kB / 441.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.6886, allocations: 415.5 kB / 441.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6887, allocations: 0 / 441.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.6912, allocations: 275.7 kB / 442.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6924, allocations: 89.38 kB / 442.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.6954, allocations: 0.9091 MB / 443.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.6962, allocations: 0.8503 MB / 444 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.6965, allocations: 35.42 kB / 444.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6965, allocations: 0 / 444.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.05112/0.7476, allocations: 18.69 MB / 462.7 MB, free: 10.54 MB / 394.7 MB