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.805/1.805, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.008e-05, allocations: 4 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08801, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.4857, allocations: 82.32 MB / 408.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.486, allocations: 93.06 kB / 409 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04988/0.5359, allocations: 13.66 MB / 422.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.796e-06/0.5359, allocations: 0 / 422.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.536, allocations: 8 kB / 422.6 MB, free: 13.25 MB / 330.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.001068/0.537, allocations: 0.6266 MB / 423.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5371, allocations: 11.97 kB / 423.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.5372, allocations: 43.47 kB / 423.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.5377, allocations: 289.6 kB / 423.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.5377, allocations: 27.78 kB / 423.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.5378, allocations: 34.12 kB / 423.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.5388, allocations: 0.5226 MB / 424.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5389, allocations: 8 kB / 424.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.5389, allocations: 13.88 kB / 424.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.539, allocations: 16.78 kB / 424.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.5397, allocations: 351 kB / 424.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.5422, allocations: 1.311 MB / 425.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.5428, allocations: 271.8 kB / 426.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5431, allocations: 128.5 kB / 426.3 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.5432, allocations: 8 kB / 426.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5432, allocations: 37.8 kB / 426.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.852e-06/0.5433, allocations: 0 / 426.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008872/0.5441, allocations: 302.5 kB / 426.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.5443, allocations: 110.7 kB / 426.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.545, allocations: 454.7 kB / 427.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.545, allocations: 28.95 kB / 427.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.5452, allocations: 250.7 kB / 427.4 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.5453, allocations: 53.94 kB / 427.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.5454, allocations: 7.938 kB / 427.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5455, allocations: 318.1 kB / 427.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.5458, allocations: 116.2 kB / 427.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.5462, allocations: 201.3 kB / 428.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.5466, allocations: 134.9 kB / 428.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-06/0.5466, allocations: 4 kB / 428.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008676/0.5475, allocations: 352.2 kB / 428.6 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.5475, allocations: 8 kB / 428.6 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.865e-05/0.5476, allocations: 27.98 kB / 428.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5476, allocations: 4 kB / 428.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.5479, allocations: 47.02 kB / 428.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.548, allocations: 4 kB / 428.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.5484, allocations: 66.94 kB / 428.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.5484, allocations: 12 kB / 428.7 MB, free: 7.621 MB / 330.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 () * 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.0001965/0.5487, allocations: 128.3 kB / 428.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5489, allocations: 39.53 kB / 428.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5499, allocations: 425.6 kB / 429.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5499, allocations: 4 kB / 429.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.246e-06/0.55, allocations: 4 kB / 429.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-06/0.55, allocations: 0 / 429.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.5508, allocations: 381.6 kB / 429.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.104e-05/0.5509, allocations: 27.97 kB / 429.7 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.5511, allocations: 31.97 kB / 429.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-06/0.5511, allocations: 4 kB / 429.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.5512, allocations: 15.55 kB / 429.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.313e-06/0.5512, allocations: 0 / 429.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-06/0.5512, allocations: 0 / 429.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/0.5521, allocations: 0.5658 MB / 430.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.5524, allocations: 169.2 kB / 430.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.5525, allocations: 7.688 kB / 430.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.5529, allocations: 23.97 kB / 430.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.553, allocations: 19.62 kB / 430.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.553, allocations: 15.98 kB / 430.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000528/0.5536, allocations: 359.1 kB / 430.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5536, allocations: 0 / 430.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008165/0.5544, allocations: 123.2 kB / 431.1 MB, free: 5.438 MB / 330.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 () * 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.0004859/0.5549, allocations: 229.8 kB / 431.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008848/0.5558, allocations: 0.5056 MB / 431.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5559, allocations: 0 / 431.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.5564, allocations: 373.5 kB / 432.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.5571, allocations: 85.12 kB / 432.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.5585, allocations: 0.5972 MB / 432.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.5592, allocations: 0.8523 MB / 433.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.5593, allocations: 23.44 kB / 433.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5593, allocations: 0 / 433.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of Templates: time 0.01486/0.5742, allocations: 7.629 MB / 441.3 MB, free: 11.18 MB / 346.7 MB