Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.02073/0.02073, allocations: 106.8 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002169/0.002169, allocations: 181.7 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.244/2.244, allocations: 194.5 MB / 211.3 MB, free: 10.93 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3281/0.3281, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 16 kB / 361.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 54.89 MB / 416.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002841/0.1266, allocations: 1.507 MB / 417.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1284, allocations: 0.7341 MB / 418.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1286, allocations: 0 / 418.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1289, allocations: 47.73 kB / 418.3 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1292, allocations: 55.83 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1296, allocations: 71.78 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.13, allocations: 167.7 kB / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1301, allocations: 24.39 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1303, allocations: 75.64 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1305, allocations: 91.61 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1306, allocations: 4 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.131, allocations: 123.8 kB / 418.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.1311, allocations: 51.81 kB / 419 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.1312, allocations: 65.58 kB / 419.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1316, allocations: 187.8 kB / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1316, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1316, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1317, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001095/0.1328, allocations: 0.5145 MB / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1328, allocations: 8.031 kB / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.642e-05/0.1329, allocations: 62.55 kB / 419.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.133, allocations: 27.62 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1334, allocations: 238.6 kB / 420.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.1334, allocations: 24.55 kB / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.1335, allocations: 27.94 kB / 420.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1345, allocations: 385.1 kB / 420.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1346, allocations: 0 / 420.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.1346, allocations: 8 kB / 420.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.1347, allocations: 24.64 kB / 420.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1358, allocations: 386.3 kB / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.1379, allocations: 0.8541 MB / 421.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.1387, allocations: 262.3 kB / 422 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.1388, allocations: 12.05 kB / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1389, allocations: 30.56 kB / 422.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.125e-06/0.1389, allocations: 0 / 422.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001302/0.1402, allocations: 353.4 kB / 422.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1402, allocations: 51.41 kB / 422.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.1408, allocations: 342.9 kB / 422.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1409, allocations: 25.7 kB / 422.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.141, allocations: 179.8 kB / 423 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.1411, allocations: 51.2 kB / 423.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1412, allocations: 4 kB / 423.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1413, allocations: 338.8 kB / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.1417, allocations: 100.4 kB / 423.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.1422, allocations: 188 kB / 423.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.1427, allocations: 136.4 kB / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1427, allocations: 4 kB / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001159/0.1438, allocations: 352.9 kB / 424.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.1439, allocations: 8 kB / 424.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1439, allocations: 0 / 424.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.144, allocations: 8 kB / 424.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.1451, allocations: 119.8 kB / 424.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.1479, allocations: 3.661 MB / 427.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.1484, allocations: 47.52 kB / 428 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.1484, allocations: 24.28 kB / 428 MB, free: 6.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * 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.000335/0.1488, allocations: 169.7 kB / 428.2 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.1489, allocations: 23.72 kB / 428.2 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1501, allocations: 335.6 kB / 428.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1501, allocations: 7.953 kB / 428.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1501, allocations: 0 / 428.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1501, allocations: 3.938 kB / 428.5 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.1507, allocations: 297.3 kB / 428.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1508, allocations: 0 / 428.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/0.1518, allocations: 111.8 kB / 428.9 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1518, allocations: 4 kB / 428.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1518, allocations: 7.984 kB / 429 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.1546, allocations: 3.649 MB / 432.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1546, allocations: 0 / 432.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.1556, allocations: 355.5 kB / 433 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1557, allocations: 108.8 kB / 433.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.1558, allocations: 4 kB / 433.1 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.1561, allocations: 11.98 kB / 433.1 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.1562, allocations: 19.94 kB / 433.1 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.1563, allocations: 7.984 kB / 433.1 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.1567, allocations: 237.9 kB / 433.3 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1567, allocations: 4 kB / 433.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.1572, allocations: 67.91 kB / 433.4 MB, free: 492 kB / 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 (16): * Single equations (assignments): 10 * 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.001509/0.1588, allocations: 0.9272 MB / 434.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.1605, allocations: 335.5 kB / 434.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1605, allocations: 0 / 434.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.1617, allocations: 196.5 kB / 434.9 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.1623, allocations: 68.77 kB / 434.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.1679, allocations: 3.733 MB / 438.7 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1685, allocations: 0.8028 MB / 439.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.1689, allocations: 78.89 kB / 439.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.1691, allocations: 75.41 kB / 439.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1692, allocations: 0 / 439.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.205, allocations: 7.633 MB / 447.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004058/0.2055, allocations: 257 kB / 447.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.166, allocations: 3.953 kB / 447.5 MB, free: 2.238 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat