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.General.kc_approxForcedConvection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.44e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3494, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4839, allocations: 88.18 MB / 446.2 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4843, allocations: 95.94 kB / 446.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05377/0.538, allocations: 13.5 MB / 459.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.5381, allocations: 0 / 459.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.5381, allocations: 12 kB / 459.8 MB, free: 8.879 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001137/0.5393, allocations: 0.6245 MB / 460.5 MB, free: 8.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5393, allocations: 12.02 kB / 460.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.5394, allocations: 47.38 kB / 460.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.5399, allocations: 275.4 kB / 460.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.54, allocations: 23.92 kB / 460.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.133e-05/0.54, allocations: 20 kB / 460.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006939/0.5407, allocations: 317.9 kB / 461.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.5417, allocations: 485.7 kB / 461.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5417, allocations: 0 / 461.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.5418, allocations: 4 kB / 461.6 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.5418, allocations: 12.78 kB / 461.6 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.5442, allocations: 1.166 MB / 462.8 MB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.5447, allocations: 259.6 kB / 463.1 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.545, allocations: 121.3 kB / 463.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.5451, allocations: 7.984 kB / 463.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5451, allocations: 42.52 kB / 463.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.013e-06/0.5451, allocations: 0 / 463.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008081/0.546, allocations: 277.2 kB / 463.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.546, allocations: 102.8 kB / 463.6 MB, free: 4.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.5463, allocations: 212.3 kB / 463.8 MB, free: 4.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5464, allocations: 25.7 kB / 463.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.5466, allocations: 286.5 kB / 464.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.5467, allocations: 55.27 kB / 464.2 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.5468, allocations: 4 kB / 464.2 MB, free: 4.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5469, allocations: 318.8 kB / 464.5 MB, free: 3.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.5472, allocations: 108.1 kB / 464.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.5476, allocations: 194.5 kB / 464.8 MB, free: 3.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.5479, allocations: 135.9 kB / 464.9 MB, free: 3.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.382e-06/0.5479, allocations: 4 kB / 464.9 MB, free: 3.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008077/0.5487, allocations: 333.2 kB / 465.2 MB, free: 3.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5487, allocations: 4 kB / 465.2 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.239e-05/0.5489, allocations: 31.97 kB / 465.3 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.5489, allocations: 7.953 kB / 465.3 MB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5492, allocations: 48.25 kB / 465.3 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.346e-06/0.5492, allocations: 4 kB / 465.3 MB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.5495, allocations: 39.8 kB / 465.4 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.5496, allocations: 12 kB / 465.4 MB, free: 3.043 MB / 394.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.0001605/0.5497, allocations: 124.9 kB / 465.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5499, allocations: 23.72 kB / 465.5 MB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.5508, allocations: 385.4 kB / 465.9 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5509, allocations: 8 kB / 465.9 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.081e-06/0.5509, allocations: 3.953 kB / 465.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.923e-06/0.5509, allocations: 0 / 465.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.5516, allocations: 337.9 kB / 466.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-05/0.5517, allocations: 27.98 kB / 466.3 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.552, allocations: 35.97 kB / 466.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.796e-06/0.552, allocations: 0 / 466.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.552, allocations: 11.98 kB / 466.3 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.361e-06/0.552, allocations: 0 / 466.3 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5521, allocations: 0 / 466.3 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.5529, allocations: 0.5509 MB / 466.9 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.553, allocations: 100.8 kB / 467 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.5531, allocations: 0 / 467 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.5535, allocations: 23.94 kB / 467 MB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.5536, allocations: 19.97 kB / 467 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.5536, allocations: 16 kB / 467 MB, free: 1.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.5538, allocations: 156.4 kB / 467.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.5538, allocations: 0 / 467.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008416/0.5547, allocations: 151.5 kB / 467.3 MB, free: 1.012 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 () * 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.0005032/0.5552, allocations: 229.7 kB / 467.5 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.5561, allocations: 0.4911 MB / 468 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.302e-06/0.5561, allocations: 0 / 468 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2367/0.7927, allocations: 359.7 kB / 468.4 MB, free: 99.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.7933, allocations: 26.59 kB / 468.4 MB, free: 99.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.7949, allocations: 0.5375 MB / 469 MB, free: 98.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.7954, allocations: 0.8501 MB / 469.8 MB, free: 98.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.7955, allocations: 17.53 kB / 469.8 MB, free: 98.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.737e-06/0.7955, allocations: 3.688 kB / 469.8 MB, free: 98.24 MB / 394.7 MB Notification: Performance of Templates: time 0.01151/0.8071, allocations: 6.208 MB / 476 MB, free: 97.81 MB / 394.7 MB