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.StraightPipe.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.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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006956/0.0006957, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4508, allocations: 48.7 MB / 331.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.595, allocations: 82.46 MB / 414.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/0.5955, allocations: 103.9 kB / 414.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0537/0.6492, allocations: 12.15 MB / 426.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6493, allocations: 0 / 426.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.6493, allocations: 8 kB / 426.5 MB, free: 15.55 MB / 362.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.00159/0.6509, allocations: 0.6783 MB / 427.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.651, allocations: 12.03 kB / 427.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.6511, allocations: 43.44 kB / 427.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.6517, allocations: 298.3 kB / 427.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.6518, allocations: 37 kB / 427.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6519, allocations: 47.98 kB / 427.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.6537, allocations: 0.6675 MB / 428.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6538, allocations: 7.922 kB / 428.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.6538, allocations: 20 kB / 428.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.6539, allocations: 21 kB / 428.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6556, allocations: 0.5034 MB / 428.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.6591, allocations: 1.527 MB / 430.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.6602, allocations: 319.6 kB / 430.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.6603, allocations: 23.92 kB / 430.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.6604, allocations: 38.5 kB / 430.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.996e-06/0.6604, allocations: 0 / 430.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002455/0.6629, allocations: 0.755 MB / 431.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.663, allocations: 106.8 kB / 431.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.664, allocations: 0.5407 MB / 432.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.6641, allocations: 33.64 kB / 432.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.6643, allocations: 258.6 kB / 432.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6644, allocations: 78.92 kB / 432.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.6645, allocations: 12.03 kB / 432.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6647, allocations: 326.8 kB / 432.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.6654, allocations: 164 kB / 433 MB, free: 8.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.6662, allocations: 291.8 kB / 433.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.667, allocations: 202.9 kB / 433.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.667, allocations: 4 kB / 433.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001839/0.6689, allocations: 497.3 kB / 434 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6689, allocations: 8 kB / 434 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.6691, allocations: 39.97 kB / 434 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.6691, allocations: 4 kB / 434 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.6695, allocations: 51.89 kB / 434.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.6696, allocations: 8.125 kB / 434.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.6702, allocations: 67.41 kB / 434.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.6703, allocations: 24 kB / 434.2 MB, free: 7.516 MB / 362.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.0003966/0.6707, allocations: 213.5 kB / 434.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6709, allocations: 43.52 kB / 434.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.6725, allocations: 472.8 kB / 434.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.6725, allocations: 7.984 kB / 434.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6725, allocations: 0 / 434.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.6725, allocations: 4 kB / 434.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.6735, allocations: 393.2 kB / 435.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001097/0.6736, allocations: 31.97 kB / 435.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.6739, allocations: 31.97 kB / 435.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.6739, allocations: 0 / 435.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.674, allocations: 15.98 kB / 435.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.674, allocations: 0 / 435.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.674, allocations: 3.938 kB / 435.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.6756, allocations: 0.6333 MB / 436 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.676, allocations: 172.5 kB / 436.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.6762, allocations: 8 kB / 436.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.6767, allocations: 27.97 kB / 436.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6768, allocations: 27.92 kB / 436.2 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.6769, allocations: 11.94 kB / 436.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007391/0.6776, allocations: 395 kB / 436.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6776, allocations: 0 / 436.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009228/0.6786, allocations: 143.8 kB / 436.8 MB, free: 4.82 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 (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.0005106/0.6791, allocations: 212.9 kB / 437 MB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.6809, allocations: 0.6883 MB / 437.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6809, allocations: 0 / 437.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.6818, allocations: 492.2 kB / 438.2 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.6828, allocations: 110 kB / 438.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.6856, allocations: 1.017 MB / 439.3 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.6862, allocations: 0.8662 MB / 440.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6864, allocations: 35.44 kB / 440.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of SimCode: time 1.011e-06/0.6864, allocations: 0 / 440.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of Templates: time 0.0202/0.7066, allocations: 8.469 MB / 448.7 MB, free: 8.773 MB / 378.7 MB