Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009213/0.0009214, allocations: 16 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.336, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4559, allocations: 82.41 MB / 413.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.4562, allocations: 91.94 kB / 413.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05435/0.5106, allocations: 13.66 MB / 427.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.5106, allocations: 0 / 427.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.5107, allocations: 4 kB / 427.5 MB, free: 14.12 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001177/0.5119, allocations: 0.6587 MB / 428.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5119, allocations: 8.031 kB / 428.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.512, allocations: 39.53 kB / 428.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.5125, allocations: 291.3 kB / 428.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.5125, allocations: 29 kB / 428.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.5126, allocations: 32 kB / 428.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5139, allocations: 0.573 MB / 429.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5139, allocations: 0 / 429.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.514, allocations: 16 kB / 429.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.514, allocations: 17 kB / 429.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.5153, allocations: 435.6 kB / 429.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.5179, allocations: 1.312 MB / 430.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.5187, allocations: 311.5 kB / 431.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.5187, allocations: 7.984 kB / 431.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.5188, allocations: 46.55 kB / 431.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.509e-06/0.5188, allocations: 3.938 kB / 431.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001854/0.5207, allocations: 0.7517 MB / 432 MB, free: 9.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.5208, allocations: 102.8 kB / 432.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.5215, allocations: 449 kB / 432.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.5216, allocations: 29.7 kB / 432.5 MB, free: 8.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.5218, allocations: 246.8 kB / 432.8 MB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/0.5219, allocations: 63.09 kB / 432.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.522, allocations: 4 kB / 432.8 MB, free: 8.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5222, allocations: 330.8 kB / 433.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.5227, allocations: 152.1 kB / 433.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.5232, allocations: 238.7 kB / 433.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.5238, allocations: 188.1 kB / 433.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.946e-06/0.5238, allocations: 0 / 433.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001286/0.5251, allocations: 437.3 kB / 434.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5251, allocations: 8 kB / 434.2 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.504e-05/0.5252, allocations: 27.98 kB / 434.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5253, allocations: 7.938 kB / 434.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.5255, allocations: 47.89 kB / 434.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5256, allocations: 4 kB / 434.2 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.526, allocations: 55.55 kB / 434.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.526, allocations: 27.98 kB / 434.3 MB, free: 6.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * 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.0003359/0.5264, allocations: 209.6 kB / 434.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5265, allocations: 35.53 kB / 434.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.5277, allocations: 436.8 kB / 435 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5278, allocations: 4 kB / 435 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.507e-06/0.5278, allocations: 0 / 435 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-06/0.5278, allocations: 3.938 kB / 435 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.5286, allocations: 377.3 kB / 435.4 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.597e-05/0.5287, allocations: 31.98 kB / 435.4 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5289, allocations: 27.97 kB / 435.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.529, allocations: 7.984 kB / 435.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.529, allocations: 8 kB / 435.4 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-06/0.529, allocations: 4 kB / 435.4 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.529, allocations: 0 / 435.4 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.5303, allocations: 0.6523 MB / 436.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.5306, allocations: 172.4 kB / 436.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.5307, allocations: 4 kB / 436.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.5311, allocations: 27.97 kB / 436.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.5313, allocations: 23.94 kB / 436.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.5313, allocations: 11.98 kB / 436.3 MB, free: 4.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005794/0.5319, allocations: 359.1 kB / 436.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.5319, allocations: 0 / 436.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000825/0.5327, allocations: 127.9 kB / 436.8 MB, free: 4.297 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.0004945/0.5333, allocations: 220.9 kB / 437 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.5346, allocations: 0.5809 MB / 437.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.278e-06/0.5346, allocations: 0.6875 kB / 437.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.5353, allocations: 411.5 kB / 438 MB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.536, allocations: 97.64 kB / 438.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5379, allocations: 0.8995 MB / 439 MB, free: 1.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.5386, allocations: 0.8499 MB / 439.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5387, allocations: 31.42 kB / 439.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.567e-06/0.5387, allocations: 0 / 439.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of Templates: time 0.01452/0.5533, allocations: 7.631 MB / 447.5 MB, free: 9.438 MB / 378.7 MB