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/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.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.222/2.222, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 8 kB / 314.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.4676, allocations: 88.94 MB / 458.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.4679, allocations: 95.94 kB / 458.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05619/0.5241, allocations: 13.64 MB / 472 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.5242, allocations: 0 / 472 MB, free: 5.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.5242, allocations: 4 kB / 472 MB, free: 5.797 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.001204/0.5254, allocations: 0.6471 MB / 472.6 MB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5255, allocations: 8.031 kB / 472.6 MB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.5256, allocations: 43.47 kB / 472.7 MB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.5261, allocations: 283.4 kB / 472.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.5261, allocations: 32.98 kB / 473 MB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.5262, allocations: 36 kB / 473 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5275, allocations: 0.5613 MB / 473.6 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5275, allocations: 7.938 kB / 473.6 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.5276, allocations: 16 kB / 473.6 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.5277, allocations: 17 kB / 473.6 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5288, allocations: 435.6 kB / 474 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.5315, allocations: 1.304 MB / 475.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.5323, allocations: 315.5 kB / 475.7 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.5324, allocations: 7.984 kB / 475.7 MB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5324, allocations: 42.52 kB / 475.7 MB, free: 1.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.716e-06/0.5324, allocations: 0 / 475.7 MB, free: 1.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001905/0.5344, allocations: 0.7561 MB / 476.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.5345, allocations: 106.8 kB / 476.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.5352, allocations: 448.9 kB / 477 MB, free: 472 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.5353, allocations: 29.7 kB / 477 MB, free: 436 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.5355, allocations: 250.6 kB / 477.3 MB, free: 180 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.5356, allocations: 55.2 kB / 477.3 MB, free: 124 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.5357, allocations: 4 kB / 477.3 MB, free: 120 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.5359, allocations: 326.8 kB / 477.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.5364, allocations: 148.1 kB / 477.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.5369, allocations: 242.5 kB / 478 MB, free: 15.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.5375, allocations: 188.3 kB / 478.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.5375, allocations: 4 kB / 478.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001284/0.5388, allocations: 430 kB / 478.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5388, allocations: 4 kB / 478.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.885e-05/0.5389, allocations: 35.92 kB / 478.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.539, allocations: 8 kB / 478.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5393, allocations: 39.91 kB / 478.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5393, allocations: 11.92 kB / 478.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.5397, allocations: 67.45 kB / 478.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.5398, allocations: 15.98 kB / 478.8 MB, free: 14.57 MB / 410.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.000333/0.5401, allocations: 203.2 kB / 479 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.5403, allocations: 35.53 kB / 479.1 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.5415, allocations: 447.2 kB / 479.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.5415, allocations: 7.953 kB / 479.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.011e-06/0.5415, allocations: 0 / 479.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-06/0.5415, allocations: 4 kB / 479.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.5424, allocations: 365.4 kB / 479.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.794e-05/0.5425, allocations: 35.97 kB / 479.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.5427, allocations: 35.91 kB / 479.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.475e-06/0.5427, allocations: 4 kB / 479.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.5428, allocations: 11.98 kB / 479.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5428, allocations: 0 / 479.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.5428, allocations: 3.953 kB / 479.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.544, allocations: 0.6519 MB / 480.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5442, allocations: 128.5 kB / 480.7 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.5443, allocations: 11.92 kB / 480.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.5447, allocations: 23.98 kB / 480.8 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.5448, allocations: 19.97 kB / 480.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.5449, allocations: 12 kB / 480.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005652/0.5455, allocations: 359 kB / 481.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5455, allocations: 0 / 481.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008424/0.5463, allocations: 127.8 kB / 481.3 MB, free: 12.02 MB / 410.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.0005177/0.5469, allocations: 215 kB / 481.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5482, allocations: 0.5848 MB / 482.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5482, allocations: 0.6875 kB / 482.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.5489, allocations: 411.2 kB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.5497, allocations: 94.05 kB / 482.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.5517, allocations: 0.9008 MB / 483.5 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.5523, allocations: 0.8499 MB / 484.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5525, allocations: 23.44 kB / 484.3 MB, free: 8.773 MB / 410.7 MB Notification: Performance of SimCode: time 1.559e-06/0.5525, allocations: 4 kB / 484.3 MB, free: 8.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01475/0.5672, allocations: 7.628 MB / 492 MB, free: 1.18 MB / 410.7 MB