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.StraightPipe.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.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.193/2.193, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2742, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002907/0.2771, allocations: 1.775 MB / 371 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2792, allocations: 1.015 MB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2794, allocations: 4 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.2796, allocations: 51.78 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2799, allocations: 67.73 kB / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.2804, allocations: 155.6 kB / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.2809, allocations: 335.3 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.281, allocations: 57.05 kB / 372.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.2813, allocations: 147.3 kB / 372.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.2816, allocations: 167.3 kB / 373 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.2816, allocations: 12 kB / 373 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.2823, allocations: 327.5 kB / 373.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2824, allocations: 87.64 kB / 373.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2825, allocations: 85.52 kB / 373.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.2831, allocations: 363.8 kB / 373.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.581e-06/0.2832, allocations: 0 / 373.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2832, allocations: 0 / 373.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.211e-06/0.2832, allocations: 4 kB / 373.8 MB, free: 6.062 MB / 298.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.001325/0.2845, allocations: 0.6993 MB / 374.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2846, allocations: 12.03 kB / 374.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2847, allocations: 43.44 kB / 374.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.2852, allocations: 294.3 kB / 374.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.2852, allocations: 33 kB / 374.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.2853, allocations: 44 kB / 374.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2867, allocations: 0.6636 MB / 375.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2868, allocations: 0 / 375.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.2868, allocations: 20 kB / 375.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.2869, allocations: 28.94 kB / 375.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2882, allocations: 0.4995 MB / 376.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.291, allocations: 1.535 MB / 377.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.2918, allocations: 308.3 kB / 378 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.2919, allocations: 15.97 kB / 378 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2919, allocations: 34.56 kB / 378 MB, free: 1.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.639e-06/0.2919, allocations: 0 / 378 MB, free: 1.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001847/0.2938, allocations: 0.7591 MB / 378.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.2939, allocations: 106.8 kB / 378.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.2947, allocations: 0.537 MB / 379.4 MB, free: 156 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.2948, allocations: 29.7 kB / 379.5 MB, free: 120 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.295, allocations: 270.2 kB / 379.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.2951, allocations: 67.02 kB / 379.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.2952, allocations: 4 kB / 379.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2954, allocations: 322.8 kB / 380.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.2959, allocations: 172.1 kB / 380.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.2965, allocations: 287.7 kB / 380.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.2971, allocations: 201.5 kB / 380.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-06/0.2971, allocations: 0 / 380.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001382/0.2985, allocations: 496.8 kB / 381.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2986, allocations: 8 kB / 381.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.2987, allocations: 44.39 kB / 381.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2987, allocations: 15.94 kB / 381.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.299, allocations: 43.92 kB / 381.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.299, allocations: 11.92 kB / 381.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.2995, allocations: 79.2 kB / 381.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.2996, allocations: 31.98 kB / 381.5 MB, free: 14.04 MB / 314.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.0003324/0.2999, allocations: 209.6 kB / 381.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3001, allocations: 39.53 kB / 381.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3013, allocations: 474 kB / 382.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3014, allocations: 4 kB / 382.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-06/0.3014, allocations: 3.953 kB / 382.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-06/0.3014, allocations: 4 kB / 382.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.3022, allocations: 385.2 kB / 382.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.821e-05/0.3023, allocations: 35.97 kB / 382.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.3026, allocations: 35.97 kB / 382.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.109e-06/0.3026, allocations: 4 kB / 382.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.3026, allocations: 15.98 kB / 382.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.653e-06/0.3026, allocations: 0 / 382.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-06/0.3027, allocations: 0 / 382.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3039, allocations: 0.6344 MB / 383.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3041, allocations: 124.6 kB / 383.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.3042, allocations: 4 kB / 383.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.3046, allocations: 23.98 kB / 383.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3048, allocations: 23.97 kB / 383.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.3048, allocations: 11.98 kB / 383.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000613/0.3055, allocations: 395 kB / 383.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.3055, allocations: 0 / 383.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.3063, allocations: 135.8 kB / 384 MB, free: 11.41 MB / 314.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.0003487/0.3066, allocations: 163.1 kB / 384.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3081, allocations: 0.6832 MB / 384.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-06/0.3082, allocations: 0.875 kB / 384.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.3091, allocations: 492.2 kB / 385.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.3103, allocations: 109.9 kB / 385.4 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.3136, allocations: 1.018 MB / 386.4 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.3145, allocations: 0.8662 MB / 387.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.3147, allocations: 35.42 kB / 387.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of SimCode: time 2.141e-06/0.3147, allocations: 0 / 387.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Templates: time 0.02309/0.3378, allocations: 8.06 MB / 395.4 MB, free: 15.8 MB / 330.7 MB