Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01646/0.01646, allocations: 105.1 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.1.mo): time 0.001884/0.001883, allocations: 170.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.838/1.838, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.307/0.307, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.000638, allocations: 11.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09606, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003541/0.09967, allocations: 1.504 MB / 373.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.102, allocations: 0.7254 MB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.1021, allocations: 0 / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.1025, allocations: 43.78 kB / 374.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1029, allocations: 55.83 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.1034, allocations: 71.8 kB / 374.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1039, allocations: 163.6 kB / 374.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.104, allocations: 40.34 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1043, allocations: 75.69 kB / 375 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1046, allocations: 91.61 kB / 375.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.1047, allocations: 7.938 kB / 375.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.1052, allocations: 115.8 kB / 375.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1053, allocations: 55.8 kB / 375.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1055, allocations: 65.58 kB / 375.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.106, allocations: 179.8 kB / 375.5 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.106, allocations: 7.938 kB / 375.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.106, allocations: 0 / 375.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.106, allocations: 0 / 375.5 MB, free: 9.633 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001436/0.1075, allocations: 0.5145 MB / 376 MB, free: 9.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1075, allocations: 8.031 kB / 376 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.1077, allocations: 74.45 kB / 376.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1078, allocations: 27.62 kB / 376.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.1083, allocations: 230.7 kB / 376.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.1084, allocations: 20.56 kB / 376.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/0.1085, allocations: 31.92 kB / 376.4 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.1108, allocations: 373.3 kB / 376.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1108, allocations: 3.984 kB / 376.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.1109, allocations: 4 kB / 376.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-05/0.111, allocations: 28.64 kB / 376.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.1125, allocations: 378.3 kB / 377.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1153, allocations: 0.8579 MB / 378 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1165, allocations: 265.6 kB / 378.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.1166, allocations: 8.062 kB / 378.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.1166, allocations: 34.56 kB / 378.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.626e-06/0.1166, allocations: 0 / 378.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001813/0.1185, allocations: 349.4 kB / 378.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1185, allocations: 55.41 kB / 378.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.1193, allocations: 334.9 kB / 379 MB, free: 5.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.1194, allocations: 33.7 kB / 379.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1196, allocations: 167.9 kB / 379.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1198, allocations: 55.2 kB / 379.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1198, allocations: 8 kB / 379.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.12, allocations: 338.8 kB / 379.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.1206, allocations: 100.4 kB / 379.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.1213, allocations: 192.7 kB / 379.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.1219, allocations: 131.8 kB / 380 MB, free: 4.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.122, allocations: 3.938 kB / 380.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001543/0.1235, allocations: 356.2 kB / 380.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.1236, allocations: 5.406 kB / 380.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1236, allocations: 4 kB / 380.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1236, allocations: 7.984 kB / 380.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.1251, allocations: 128.2 kB / 380.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.1286, allocations: 3.661 MB / 384.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.1292, allocations: 43.52 kB / 384.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.1293, allocations: 15.98 kB / 384.3 MB, free: 476 kB / 282.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.0004145/0.1298, allocations: 182.7 kB / 384.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1299, allocations: 23.67 kB / 384.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.1315, allocations: 343.6 kB / 384.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.1316, allocations: 4 kB / 384.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1316, allocations: 0 / 384.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1316, allocations: 0 / 384.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.1324, allocations: 297.3 kB / 385.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1324, allocations: 4 kB / 385.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.1338, allocations: 107.9 kB / 385.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.1338, allocations: 7.891 kB / 385.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.1339, allocations: 7.984 kB / 385.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.1376, allocations: 3.645 MB / 388.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1376, allocations: 0 / 388.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.139, allocations: 355.6 kB / 389.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.1392, allocations: 108.7 kB / 389.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.1393, allocations: 7.984 kB / 389.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.1398, allocations: 8 kB / 389.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1399, allocations: 15.97 kB / 389.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.14, allocations: 8 kB / 389.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005379/0.1405, allocations: 245.9 kB / 389.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1405, allocations: 0 / 389.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008831/0.1414, allocations: 72 kB / 389.7 MB, free: 10.82 MB / 298.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.001918/0.1434, allocations: 0.9256 MB / 390.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.1456, allocations: 328.2 kB / 390.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.1457, allocations: 4 kB / 390.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.1473, allocations: 195.8 kB / 391.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.148, allocations: 64.8 kB / 391.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007616/0.1557, allocations: 3.734 MB / 394.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.1563, allocations: 0.799 MB / 395.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005598/0.1569, allocations: 82.88 kB / 395.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.1572, allocations: 71.41 kB / 395.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1572, allocations: 3.938 kB / 395.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.2102, allocations: 7.636 MB / 403.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/0.2106, allocations: 261.7 kB / 403.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/3.306, allocations: 3.938 kB / 403.8 MB, free: 12.61 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat