Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 234.9 MB / 251.1 MB, free: 10.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004247, allocations: 12 kB / 315 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 54.86 MB / 369.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4938, allocations: 88.75 MB / 458.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/0.4943, allocations: 99.88 kB / 458.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05377/0.548, allocations: 12.14 MB / 470.8 MB, free: 5.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5481, allocations: 0 / 470.8 MB, free: 5.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.5481, allocations: 8 kB / 470.8 MB, free: 5.578 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001551/0.5497, allocations: 0.6828 MB / 471.5 MB, free: 4.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5498, allocations: 8.031 kB / 471.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5499, allocations: 55.36 kB / 471.6 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.5505, allocations: 294.3 kB / 471.9 MB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.5505, allocations: 37 kB / 471.9 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5507, allocations: 40 kB / 471.9 MB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.5524, allocations: 0.6753 MB / 472.6 MB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5525, allocations: 0 / 472.6 MB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.5525, allocations: 19.95 kB / 472.6 MB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.5526, allocations: 21 kB / 472.6 MB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.5543, allocations: 0.4995 MB / 473.1 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.5578, allocations: 1.539 MB / 474.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.5589, allocations: 307.7 kB / 475 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.559, allocations: 15.97 kB / 475 MB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.559, allocations: 38.56 kB / 475 MB, free: 1.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.466e-06/0.559, allocations: 0 / 475 MB, free: 1.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002534/0.5616, allocations: 0.7621 MB / 475.8 MB, free: 332 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.5617, allocations: 110.8 kB / 475.9 MB, free: 196 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2941/0.8557, allocations: 0.5293 MB / 476.4 MB, free: 95.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.8559, allocations: 29.39 kB / 476.5 MB, free: 95.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.8561, allocations: 261.8 kB / 476.7 MB, free: 95.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.8562, allocations: 71.22 kB / 476.8 MB, free: 95.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.8563, allocations: 5.562 kB / 476.8 MB, free: 95.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.8564, allocations: 323.2 kB / 477.1 MB, free: 95.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.8572, allocations: 167.7 kB / 477.3 MB, free: 95.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.8581, allocations: 292.9 kB / 477.6 MB, free: 94.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.8589, allocations: 200.4 kB / 477.8 MB, free: 94.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8589, allocations: 0.875 kB / 477.8 MB, free: 94.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00177/0.8607, allocations: 0.4912 MB / 478.2 MB, free: 94.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.8607, allocations: 7.406 kB / 478.3 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.8609, allocations: 38.92 kB / 478.3 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.8609, allocations: 7.203 kB / 478.3 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.8613, allocations: 55.19 kB / 478.4 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.8614, allocations: 9.875 kB / 478.4 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.862, allocations: 71.23 kB / 478.4 MB, free: 94.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.8621, allocations: 25.45 kB / 478.5 MB, free: 94.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.8625, allocations: 213.2 kB / 478.7 MB, free: 94.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8626, allocations: 42.16 kB / 478.7 MB, free: 94.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.8642, allocations: 461.6 kB / 479.2 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.8642, allocations: 6.484 kB / 479.2 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8643, allocations: 4.547 kB / 479.2 MB, free: 94.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.8643, allocations: 1.922 kB / 479.2 MB, free: 94.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.8652, allocations: 393.1 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/0.8653, allocations: 35.61 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.8657, allocations: 33.17 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.8657, allocations: 2.188 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.8658, allocations: 9.703 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.8658, allocations: 1.188 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8658, allocations: 1.031 kB / 479.6 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.8673, allocations: 0.638 MB / 480.3 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.8675, allocations: 126.8 kB / 480.4 MB, free: 94.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8677, allocations: 7.219 kB / 480.4 MB, free: 94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.8682, allocations: 29.19 kB / 480.4 MB, free: 94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8683, allocations: 22.91 kB / 480.5 MB, free: 94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.8684, allocations: 15.27 kB / 480.5 MB, free: 94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007202/0.8691, allocations: 389.9 kB / 480.9 MB, free: 93.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.463e-06/0.8691, allocations: 0 / 480.9 MB, free: 93.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009825/0.8701, allocations: 148.7 kB / 481 MB, free: 93.93 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004866/0.8706, allocations: 204.1 kB / 481.2 MB, free: 93.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.8724, allocations: 0.6935 MB / 481.9 MB, free: 93.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8724, allocations: 0 / 481.9 MB, free: 93.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008106/0.8732, allocations: 492.2 kB / 482.4 MB, free: 93.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.8742, allocations: 110.9 kB / 482.5 MB, free: 93.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.8769, allocations: 1.011 MB / 483.5 MB, free: 92.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8773, allocations: 0.8738 MB / 484.4 MB, free: 91.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.8775, allocations: 26.75 kB / 484.4 MB, free: 91.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8775, allocations: 4 kB / 484.4 MB, free: 91.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01781/0.8953, allocations: 8.468 MB / 492.9 MB, free: 90.19 MB / 394.7 MB