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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.01133/0.01133, allocations: 108.5 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.001201/0.001201, 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.13/2.13, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.3132/0.3132, allocations: 40.04 MB / 296.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007018/0.000702, allocations: 15.98 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1494, allocations: 54.89 MB / 416.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.00337/0.1528, allocations: 1.808 MB / 417.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.1571, allocations: 1.81 MB / 419.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.1574, allocations: 4 kB / 419.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1578, allocations: 67.58 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1582, allocations: 75.72 kB / 419.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.16, allocations: 347.1 kB / 420.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.1607, allocations: 359.2 kB / 420.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1609, allocations: 69.05 kB / 420.6 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.1613, allocations: 163.2 kB / 420.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.1616, allocations: 175.2 kB / 420.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.1617, allocations: 12 kB / 420.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.1635, allocations: 0.6593 MB / 421.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.1637, allocations: 95.62 kB / 421.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1639, allocations: 97.39 kB / 421.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1652, allocations: 0.499 MB / 422.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1652, allocations: 0 / 422.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1652, allocations: 4 kB / 422.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1653, allocations: 0 / 422.3 MB, free: 12.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002026/0.1673, allocations: 0.7682 MB / 423 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1674, allocations: 8.031 kB / 423 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.1676, allocations: 106.5 kB / 423.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1677, allocations: 51.34 kB / 423.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.1684, allocations: 314.2 kB / 423.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.1685, allocations: 45.31 kB / 423.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1686, allocations: 51.95 kB / 423.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.1706, allocations: 0.7736 MB / 424.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.1707, allocations: 0 / 424.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.1708, allocations: 20 kB / 424.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.1708, allocations: 33.3 kB / 424.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.1727, allocations: 0.571 MB / 425 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.1766, allocations: 1.688 MB / 426.7 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1777, allocations: 311.5 kB / 427 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.221e-05/0.1778, allocations: 24.06 kB / 427 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1779, allocations: 34.5 kB / 427 MB, free: 7.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.966e-06/0.1779, allocations: 4 kB / 427 MB, free: 7.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002458/0.1804, allocations: 0.7619 MB / 427.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.1805, allocations: 110.9 kB / 427.9 MB, free: 6.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1817, allocations: 0.6352 MB / 428.6 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.1817, allocations: 29.7 kB / 428.6 MB, free: 5.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.1821, allocations: 291.4 kB / 428.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1822, allocations: 71 kB / 428.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1823, allocations: 8 kB / 428.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1825, allocations: 362.8 kB / 429.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/0.1833, allocations: 200.9 kB / 429.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/0.1843, allocations: 481.1 kB / 430 MB, free: 4.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.1853, allocations: 286.1 kB / 430.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.1853, allocations: 4 kB / 430.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002374/0.1877, allocations: 0.7035 MB / 430.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1877, allocations: 8 kB / 431 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.1879, allocations: 51.95 kB / 431 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.1879, allocations: 12.59 kB / 431 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.1885, allocations: 83.83 kB / 431.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/0.1885, allocations: 15.94 kB / 431.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.1893, allocations: 110.9 kB / 431.2 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.1894, allocations: 35.98 kB / 431.3 MB, free: 2.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004891/0.1899, allocations: 261.4 kB / 431.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.1902, allocations: 51.34 kB / 431.6 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.192, allocations: 484.7 kB / 432 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.192, allocations: 4 kB / 432 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.192, allocations: 0 / 432 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1921, allocations: 8 kB / 432.1 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1932, allocations: 413.2 kB / 432.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000131/0.1933, allocations: 43.92 kB / 432.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.1936, allocations: 27.97 kB / 432.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.1937, allocations: 4 kB / 432.5 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.1937, allocations: 15.98 kB / 432.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.1937, allocations: 0 / 432.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1937, allocations: 3.938 kB / 432.5 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.1954, allocations: 0.6611 MB / 433.2 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.1957, allocations: 132.5 kB / 433.3 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1959, allocations: 19.95 kB / 433.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.1964, allocations: 23.98 kB / 433.4 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1966, allocations: 19.97 kB / 433.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.1966, allocations: 15.98 kB / 433.4 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008359/0.1975, allocations: 446.7 kB / 433.9 MB, free: 120 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1975, allocations: 0 / 433.9 MB, free: 120 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001156/0.1987, allocations: 179.9 kB / 434 MB, free: 15.94 MB / 378.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00264/0.2013, allocations: 1.475 MB / 435.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.2034, allocations: 0.7794 MB / 436.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2034, allocations: 0 / 436.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2044, allocations: 484.3 kB / 436.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2057, allocations: 130.2 kB / 436.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.2214, allocations: 9.736 MB / 446.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.2226, allocations: 0.8974 MB / 447.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008878/0.2235, allocations: 132.4 kB / 447.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.224, allocations: 144.4 kB / 447.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.224, allocations: 0 / 447.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/0.6769, allocations: 14.41 MB / 462.2 MB, free: 58.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.6772, allocations: 220.5 kB / 462.4 MB, free: 58.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/3.717, allocations: 0 / 462.4 MB, free: 58.28 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_overall_res.mat does not exist to compare? outputFormat=mat