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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004369, allocations: 16 kB / 282.5 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002553/0.1085, allocations: 1.594 MB / 332.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1102, allocations: 0.737 MB / 333.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.1103, allocations: 4 kB / 333.6 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1106, allocations: 67.64 kB / 333.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1109, allocations: 75.8 kB / 333.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1112, allocations: 55.86 kB / 333.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.1115, allocations: 199.5 kB / 333.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.1116, allocations: 32.38 kB / 334 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1118, allocations: 91.61 kB / 334.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.112, allocations: 107.5 kB / 334.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.1121, allocations: 8 kB / 334.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.1124, allocations: 139.7 kB / 334.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.1125, allocations: 55.81 kB / 334.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1126, allocations: 65.58 kB / 334.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1129, allocations: 215.7 kB / 334.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.601e-06/0.113, allocations: 0 / 334.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.322e-06/0.113, allocations: 0 / 334.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.113, allocations: 0 / 334.6 MB, free: 5.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000896/0.1139, allocations: 0.5146 MB / 335.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1139, allocations: 8.031 kB / 335.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.114, allocations: 35.61 kB / 335.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1144, allocations: 247.1 kB / 335.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1145, allocations: 12.56 kB / 335.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.1145, allocations: 27.98 kB / 335.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.1154, allocations: 401.2 kB / 335.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1154, allocations: 0 / 335.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.1155, allocations: 12 kB / 335.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.1155, allocations: 32.56 kB / 335.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/0.1165, allocations: 418.3 kB / 336.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1183, allocations: 0.8891 MB / 337.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.1192, allocations: 294.2 kB / 337.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1193, allocations: 12.06 kB / 337.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1193, allocations: 30.56 kB / 337.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.163e-06/0.1193, allocations: 0 / 337.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001098/0.1204, allocations: 380.9 kB / 337.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1205, allocations: 55.41 kB / 338 MB, free: 1.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.121, allocations: 347.2 kB / 338.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1211, allocations: 29.7 kB / 338.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1212, allocations: 210.6 kB / 338.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1213, allocations: 51.3 kB / 338.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.1213, allocations: 7.938 kB / 338.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1215, allocations: 318.8 kB / 338.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1218, allocations: 100.3 kB / 339 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.1222, allocations: 158.6 kB / 339.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.1226, allocations: 119.9 kB / 339.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-06/0.1226, allocations: 0 / 339.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008095/0.1234, allocations: 309.1 kB / 339.6 MB, free: 328 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1234, allocations: 4 kB / 339.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1234, allocations: 4 kB / 339.6 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1235, allocations: 4 kB / 339.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.1242, allocations: 107.9 kB / 339.7 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.215/0.3392, allocations: 3.698 MB / 343.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3396, allocations: 42.8 kB / 343.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3396, allocations: 13.8 kB / 343.5 MB, free: 12.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.3399, allocations: 174.4 kB / 343.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.34, allocations: 27.19 kB / 343.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.341, allocations: 361.8 kB / 344 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-06/0.341, allocations: 3.078 kB / 344 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.807e-06/0.341, allocations: 0 / 344 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.606e-06/0.341, allocations: 3.344 kB / 344 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.3415, allocations: 313.4 kB / 344.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3416, allocations: 0 / 344.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.3424, allocations: 107.8 kB / 344.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.565e-06/0.3424, allocations: 0 / 344.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.3424, allocations: 10.77 kB / 344.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.3442, allocations: 3.705 MB / 348.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-06/0.3443, allocations: 0 / 348.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.3451, allocations: 385.7 kB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.3452, allocations: 109 kB / 348.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.3453, allocations: 4.328 kB / 348.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3455, allocations: 12.08 kB / 348.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3456, allocations: 14.25 kB / 348.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.3457, allocations: 8.312 kB / 348.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003769/0.3461, allocations: 256.8 kB / 348.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.74e-07/0.3461, allocations: 0 / 348.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005093/0.3466, allocations: 68 kB / 349 MB, free: 8.004 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/0.3469, allocations: 130.5 kB / 349.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3482, allocations: 336.5 kB / 349.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.769e-06/0.3482, allocations: 0 / 349.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009349/0.3492, allocations: 207.9 kB / 349.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.3497, allocations: 58.92 kB / 349.7 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.351, allocations: 0.6888 MB / 350.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3514, allocations: 0.8013 MB / 351.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.3515, allocations: 29.58 kB / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of SimCode: time 1.465e-06/0.3515, allocations: 0 / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Templates: time 0.01661/0.3681, allocations: 10.83 MB / 362 MB, free: 3.07 MB / 282.7 MB