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.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,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.01162/0.01162, allocations: 106 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.001309/0.001309, allocations: 166.4 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.775/1.775, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.3179/0.3179, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006557/0.000656, allocations: 11.94 kB / 323.6 MB, free: 29.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09333, allocations: 48.7 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003043/0.09643, allocations: 1.621 MB / 373.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.09865, allocations: 0.9673 MB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.09881, allocations: 0 / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.09913, allocations: 51.67 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.09935, allocations: 55.83 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.1001, allocations: 131.7 kB / 375.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.1006, allocations: 211.5 kB / 375.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1008, allocations: 40.7 kB / 375.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.101, allocations: 95.62 kB / 375.5 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1012, allocations: 115.5 kB / 375.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1013, allocations: 8 kB / 375.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.1019, allocations: 191.8 kB / 375.8 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.102, allocations: 59.73 kB / 375.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.1021, allocations: 73.58 kB / 375.9 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.1027, allocations: 247.6 kB / 376.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1027, allocations: 0 / 376.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1027, allocations: 0 / 376.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1027, allocations: 3.938 kB / 376.2 MB, free: 8.961 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00145/0.1042, allocations: 0.5886 MB / 376.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1042, allocations: 8.031 kB / 376.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1044, allocations: 66.53 kB / 376.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.1045, allocations: 35.53 kB / 376.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1049, allocations: 246.5 kB / 377.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.1049, allocations: 20.56 kB / 377.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.105, allocations: 31.98 kB / 377.1 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.1062, allocations: 445.9 kB / 377.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1062, allocations: 0 / 377.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.1063, allocations: 12 kB / 377.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.1064, allocations: 12.56 kB / 377.6 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1076, allocations: 349.9 kB / 377.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1099, allocations: 1.112 MB / 379.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.1108, allocations: 263.7 kB / 379.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1108, allocations: 0 / 379.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1109, allocations: 42.59 kB / 379.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.1109, allocations: 0 / 379.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.001937/0.1128, allocations: 0.6177 MB / 380 MB, free: 4.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.1129, allocations: 106.8 kB / 380.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.1136, allocations: 405.5 kB / 380.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.1137, allocations: 29.7 kB / 380.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1139, allocations: 191.8 kB / 380.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.114, allocations: 43.36 kB / 380.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.114, allocations: 8 kB / 380.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1142, allocations: 346.8 kB / 381.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.1148, allocations: 128 kB / 381.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/0.1157, allocations: 257.1 kB / 381.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.1167, allocations: 168.1 kB / 381.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1168, allocations: 0 / 381.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002631/0.1194, allocations: 421.1 kB / 382 MB, free: 2.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.1195, allocations: 8 kB / 382 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/0.1197, allocations: 19.98 kB / 382.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/0.1197, allocations: 8 kB / 382.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.1204, allocations: 55.89 kB / 382.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/0.1205, allocations: 11.94 kB / 382.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.1213, allocations: 67.53 kB / 382.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.1215, allocations: 16 kB / 382.2 MB, free: 2.512 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.122, allocations: 182.6 kB / 382.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.1223, allocations: 27.62 kB / 382.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.1238, allocations: 292.3 kB / 382.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1239, allocations: 0 / 382.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1239, allocations: 4 kB / 382.7 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1239, allocations: 7.984 kB / 382.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1251, allocations: 309.3 kB / 383 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-05/0.1252, allocations: 27.92 kB / 383 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.1256, allocations: 31.91 kB / 383.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.1257, allocations: 4 kB / 383.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.1257, allocations: 4 kB / 383.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.1257, allocations: 0 / 383.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1258, allocations: 0 / 383.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.1277, allocations: 0.5517 MB / 383.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.1281, allocations: 140.6 kB / 383.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.1283, allocations: 11.98 kB / 383.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/0.1291, allocations: 19.98 kB / 383.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.1292, allocations: 15.98 kB / 383.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.1293, allocations: 7.984 kB / 383.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007385/0.1301, allocations: 283.1 kB / 384.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1301, allocations: 0 / 384.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001235/0.1313, allocations: 107.9 kB / 384.2 MB, free: 408 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002948/0.1343, allocations: 1.285 MB / 385.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.1366, allocations: 454.6 kB / 385.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.1366, allocations: 0 / 385.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.1376, allocations: 290.3 kB / 386.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1387, allocations: 65.34 kB / 386.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.1489, allocations: 4.713 MB / 391 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.1498, allocations: 0.8106 MB / 391.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.1504, allocations: 70.89 kB / 391.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.1507, allocations: 79.41 kB / 392 MB, free: 8.379 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1507, allocations: 0 / 392 MB, free: 8.379 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04103/0.1917, allocations: 8.15 MB / 400.1 MB, free: 380 kB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/0.1922, allocations: 233 kB / 400.3 MB, free: 124 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.292, allocations: 0 / 400.3 MB, free: 124 kB / 298.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_res.mat does not exist to compare? outputFormat=mat