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.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,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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 19.98 kB / 283.1 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.371, allocations: 48.69 MB / 331.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.5474, allocations: 82.32 MB / 414.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.5478, allocations: 99.88 kB / 414.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5968, allocations: 10.77 MB / 425 MB, free: 1.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5969, allocations: 0 / 425 MB, free: 1.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.5969, allocations: 4 kB / 425 MB, free: 1.043 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001447/0.5983, allocations: 0.6471 MB / 425.7 MB, free: 356 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5984, allocations: 8.031 kB / 425.7 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.5985, allocations: 43.44 kB / 425.7 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.5991, allocations: 282.5 kB / 426 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.5991, allocations: 32.98 kB / 426 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.5992, allocations: 40 kB / 426.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6008, allocations: 0.5854 MB / 426.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.6009, allocations: 0 / 426.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.6009, allocations: 16 kB / 426.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/0.601, allocations: 28.97 kB / 426.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.6025, allocations: 451.5 kB / 427.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.6057, allocations: 1.394 MB / 428.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000954/0.6067, allocations: 283.6 kB / 428.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.6068, allocations: 15.91 kB / 428.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.6068, allocations: 46.5 kB / 428.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.417e-06/0.6068, allocations: 0 / 428.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002291/0.6091, allocations: 0.7082 MB / 429.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.6092, allocations: 106.8 kB / 429.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.6102, allocations: 0.498 MB / 430.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.6103, allocations: 33.64 kB / 430.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6105, allocations: 238.5 kB / 430.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.6106, allocations: 59.19 kB / 430.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.6106, allocations: 4 kB / 430.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6108, allocations: 318.8 kB / 430.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.6114, allocations: 136 kB / 431 MB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.6121, allocations: 189.3 kB / 431.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.6128, allocations: 153.4 kB / 431.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6128, allocations: 0 / 431.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001497/0.6143, allocations: 369.3 kB / 431.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6143, allocations: 4 kB / 431.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.6144, allocations: 31.97 kB / 431.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6145, allocations: 0 / 431.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.6149, allocations: 35.97 kB / 431.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.6149, allocations: 11.92 kB / 431.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.6154, allocations: 75.38 kB / 431.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.6155, allocations: 19.94 kB / 431.8 MB, free: 9.891 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.0003525/0.6159, allocations: 181.8 kB / 432 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.616, allocations: 35.53 kB / 432 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6174, allocations: 401 kB / 432.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.6174, allocations: 4 kB / 432.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6175, allocations: 4 kB / 432.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6175, allocations: 0 / 432.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/0.6183, allocations: 373.2 kB / 432.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.249e-05/0.6184, allocations: 31.92 kB / 432.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.6187, allocations: 27.97 kB / 432.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.6188, allocations: 7.984 kB / 432.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.6188, allocations: 4 kB / 432.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6188, allocations: 4 kB / 432.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6188, allocations: 0 / 432.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6204, allocations: 0.6028 MB / 433.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.6207, allocations: 160.6 kB / 433.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6209, allocations: 4 kB / 433.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.6214, allocations: 31.97 kB / 433.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.6215, allocations: 15.98 kB / 433.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.6215, allocations: 11.98 kB / 433.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006805/0.6222, allocations: 379 kB / 434.1 MB, free: 7.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6222, allocations: 0 / 434.1 MB, free: 7.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.623, allocations: 127.8 kB / 434.2 MB, free: 7.426 MB / 362.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.0004792/0.6235, allocations: 216.8 kB / 434.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.6251, allocations: 0.5341 MB / 434.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6251, allocations: 0 / 434.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008336/0.626, allocations: 395.4 kB / 435.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.6268, allocations: 97.52 kB / 435.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.6292, allocations: 0.9132 MB / 436.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.6298, allocations: 0.8616 MB / 437.2 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.63, allocations: 23.44 kB / 437.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.63, allocations: 4 kB / 437.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of Templates: time 0.02378/0.6538, allocations: 7.116 MB / 444.3 MB, free: 13.12 MB / 378.7 MB