Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.019/2.019, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 16 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 48.69 MB / 331.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5132, allocations: 80.27 MB / 412.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.5136, allocations: 107.9 kB / 412.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04604/0.5597, allocations: 10.01 MB / 422.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5597, allocations: 0 / 422.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.5598, allocations: 4 kB / 422.2 MB, free: 3.977 MB / 346.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.001036/0.5608, allocations: 0.5106 MB / 422.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5609, allocations: 8.031 kB / 422.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.561, allocations: 35.62 kB / 422.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.5614, allocations: 239.2 kB / 423 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.5614, allocations: 28.48 kB / 423 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.5615, allocations: 24 kB / 423 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.5626, allocations: 393.2 kB / 423.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5626, allocations: 0 / 423.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.5627, allocations: 15.98 kB / 423.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.5628, allocations: 20.64 kB / 423.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.5639, allocations: 414.3 kB / 423.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.5662, allocations: 0.8969 MB / 424.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5672, allocations: 302.2 kB / 425.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.5673, allocations: 11.92 kB / 425.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5674, allocations: 34.52 kB / 425.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/0.5674, allocations: 0 / 425.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001352/0.5687, allocations: 369 kB / 425.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5688, allocations: 55.41 kB / 425.5 MB, free: 484 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.5694, allocations: 347.2 kB / 425.9 MB, free: 128 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.5694, allocations: 29.7 kB / 425.9 MB, free: 92 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5696, allocations: 214.6 kB / 426.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.5697, allocations: 59.27 kB / 426.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.5698, allocations: 4 kB / 426.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5699, allocations: 314.8 kB / 426.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.5703, allocations: 104.3 kB / 426.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.5708, allocations: 161.5 kB / 426.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.5712, allocations: 123.8 kB / 426.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5713, allocations: 0 / 426.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001003/0.5723, allocations: 305.2 kB / 427.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5723, allocations: 7.953 kB / 427.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5723, allocations: 4 kB / 427.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5724, allocations: 0 / 427.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5734, allocations: 115.8 kB / 427.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/0.5774, allocations: 3.704 MB / 431 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.578, allocations: 39.59 kB / 431 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.5781, allocations: 11.98 kB / 431 MB, free: 10.78 MB / 362.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.0004102/0.5785, allocations: 177.9 kB / 431.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5787, allocations: 27.67 kB / 431.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.5805, allocations: 352 kB / 431.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5805, allocations: 8 kB / 431.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5805, allocations: 3.938 kB / 431.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5806, allocations: 0 / 431.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009199/0.5815, allocations: 313.3 kB / 431.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5815, allocations: 0 / 431.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.5831, allocations: 103.9 kB / 432 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.5832, allocations: 0 / 432 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.5832, allocations: 11.94 kB / 432 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/0.5877, allocations: 3.703 MB / 435.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5877, allocations: 0 / 435.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.589, allocations: 375.8 kB / 436.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.5892, allocations: 112.7 kB / 436.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5894, allocations: 3.953 kB / 436.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.5898, allocations: 19.98 kB / 436.2 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.5899, allocations: 11.98 kB / 436.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.59, allocations: 7.984 kB / 436.2 MB, free: 5.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006689/0.5907, allocations: 253.9 kB / 436.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5907, allocations: 0 / 436.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009128/0.5916, allocations: 75.94 kB / 436.5 MB, free: 5.016 MB / 362.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.0003624/0.592, allocations: 178.3 kB / 436.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.5937, allocations: 327.6 kB / 437 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5938, allocations: 4 kB / 437 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.595, allocations: 204.1 kB / 437.2 MB, free: 4.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.5956, allocations: 56.5 kB / 437.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.5971, allocations: 0.688 MB / 438 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.5976, allocations: 0.7949 MB / 438.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5977, allocations: 31.42 kB / 438.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5977, allocations: 0 / 438.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of Templates: time 0.021/0.6187, allocations: 11.15 MB / 450 MB, free: 7.543 MB / 378.7 MB