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.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.01543/0.01544, allocations: 107.9 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.00172/0.00172, allocations: 181.3 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.248/2.248, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2759/0.2759, allocations: 40.03 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004821, allocations: 12 kB / 361.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.89 MB / 416.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002856/0.1234, allocations: 1.612 MB / 417.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1253, allocations: 0.8353 MB / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.1254, allocations: 0 / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1257, allocations: 43.8 kB / 418.5 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.1261, allocations: 91.64 kB / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1265, allocations: 87.77 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1269, allocations: 243.5 kB / 419 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.127, allocations: 44.7 kB / 419 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1273, allocations: 119.4 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1276, allocations: 135.4 kB / 419.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1276, allocations: 8 kB / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.1281, allocations: 159.8 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1283, allocations: 79.72 kB / 419.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1284, allocations: 77.52 kB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.1289, allocations: 271.6 kB / 419.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1289, allocations: 0 / 419.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.129, allocations: 0 / 419.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.129, allocations: 0 / 419.8 MB, free: 14.71 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001367/0.1304, allocations: 0.5927 MB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1304, allocations: 12.03 kB / 420.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.1306, allocations: 94.44 kB / 420.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1307, allocations: 43.44 kB / 420.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.1312, allocations: 266.5 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1312, allocations: 32.98 kB / 420.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.1313, allocations: 39.95 kB / 420.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1327, allocations: 0.549 MB / 421.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1328, allocations: 0 / 421.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.1328, allocations: 19.98 kB / 421.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-05/0.1329, allocations: 48.91 kB / 421.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1345, allocations: 0.5737 MB / 422.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.1375, allocations: 1.187 MB / 423.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1387, allocations: 384 kB / 423.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1388, allocations: 12.16 kB / 423.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1389, allocations: 38.75 kB / 423.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.945e-06/0.1389, allocations: 0 / 423.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001696/0.1406, allocations: 480.7 kB / 424.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1407, allocations: 55.41 kB / 424.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.1415, allocations: 453.6 kB / 424.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.1415, allocations: 25.7 kB / 424.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1418, allocations: 192.3 kB / 424.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1419, allocations: 70.92 kB / 425 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1419, allocations: 4 kB / 425 MB, free: 9.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1421, allocations: 350.8 kB / 425.3 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.1426, allocations: 119.9 kB / 425.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.143, allocations: 123.9 kB / 425.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.1435, allocations: 141.1 kB / 425.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1436, allocations: 0 / 425.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001232/0.1448, allocations: 364 kB / 426 MB, free: 8.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1449, allocations: 4 kB / 426 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1449, allocations: 3.984 kB / 426 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1449, allocations: 3.938 kB / 426 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.1464, allocations: 155.9 kB / 426.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.1506, allocations: 5.508 MB / 431.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.1511, allocations: 55.39 kB / 431.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.1512, allocations: 8 kB / 431.8 MB, free: 2.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003365/0.1515, allocations: 193.9 kB / 432 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.1516, allocations: 39.48 kB / 432 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1532, allocations: 456.5 kB / 432.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1532, allocations: 4 kB / 432.4 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1532, allocations: 8 kB / 432.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1533, allocations: 3.984 kB / 432.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.154, allocations: 377.2 kB / 432.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.154, allocations: 0 / 432.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.1554, allocations: 151.8 kB / 433 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1555, allocations: 3.953 kB / 433 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.1555, allocations: 15.98 kB / 433 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.1594, allocations: 5.524 MB / 438.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1595, allocations: 0 / 438.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1607, allocations: 462.7 kB / 439 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1609, allocations: 120.6 kB / 439.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/0.161, allocations: 4 kB / 439.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.1614, allocations: 11.98 kB / 439.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1615, allocations: 27.97 kB / 439.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1616, allocations: 7.984 kB / 439.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005706/0.1621, allocations: 335.1 kB / 439.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1622, allocations: 0 / 439.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.1627, allocations: 103.8 kB / 439.6 MB, free: 10.23 MB / 378.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.1645, allocations: 1.028 MB / 440.6 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.1668, allocations: 411.4 kB / 441 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1668, allocations: 0 / 441 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.1685, allocations: 279.7 kB / 441.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.1693, allocations: 89.42 kB / 441.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.1757, allocations: 2.632 MB / 444 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.1763, allocations: 0.8542 MB / 444.8 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000481/0.1768, allocations: 91.2 kB / 444.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.1771, allocations: 115.4 kB / 445 MB, free: 4.648 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1771, allocations: 0 / 445 MB, free: 4.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3388/0.5159, allocations: 10.22 MB / 455.3 MB, free: 58.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.5162, allocations: 254.9 kB / 455.5 MB, free: 58.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.584, allocations: 0 / 455.5 MB, free: 58.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat