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_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.01121/0.01121, 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.001253/0.001253, allocations: 181.4 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.142/2.142, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.2881/0.2881, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005384, allocations: 16 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, 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_KC): time 0.004146/0.1416, allocations: 1.745 MB / 417.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.1466, allocations: 1.584 MB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.1469, allocations: 0 / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.1473, allocations: 55.72 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.1479, allocations: 103.6 kB / 419.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.1507, allocations: 287.1 kB / 419.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.1514, allocations: 319.3 kB / 420.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1516, allocations: 65.03 kB / 420.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1519, allocations: 147.3 kB / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.1522, allocations: 171.2 kB / 420.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.1523, allocations: 12 kB / 420.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.154, allocations: 0.5851 MB / 421.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.1543, allocations: 95.62 kB / 421.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1545, allocations: 101.4 kB / 421.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1556, allocations: 475.2 kB / 421.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1556, allocations: 0 / 421.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1556, allocations: 0 / 421.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1556, allocations: 0 / 421.8 MB, free: 12.8 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001803/0.1574, allocations: 0.7175 MB / 422.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.1575, allocations: 15.97 kB / 422.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.1577, allocations: 106.5 kB / 422.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1579, allocations: 51.34 kB / 422.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.1585, allocations: 314.2 kB / 423 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.1586, allocations: 41.27 kB / 423 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.1587, allocations: 51.98 kB / 423 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1608, allocations: 0.7559 MB / 423.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.1609, allocations: 4 kB / 423.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.161, allocations: 19.98 kB / 423.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.1611, allocations: 53.28 kB / 423.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.1634, allocations: 0.8014 MB / 424.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.1674, allocations: 1.539 MB / 426.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1691, allocations: 456.4 kB / 426.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.1693, allocations: 12.22 kB / 426.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.1693, allocations: 34.8 kB / 426.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 5.35e-06/0.1694, allocations: 0 / 426.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002283/0.1717, allocations: 0.5607 MB / 427.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1718, allocations: 55.41 kB / 427.3 MB, free: 7.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1729, allocations: 0.5797 MB / 427.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.173, allocations: 29.7 kB / 427.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.1732, allocations: 271.5 kB / 428.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1734, allocations: 106.6 kB / 428.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1735, allocations: 8 kB / 428.3 MB, free: 6.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1737, allocations: 362.8 kB / 428.7 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.1743, allocations: 192.9 kB / 428.8 MB, free: 5.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008728/0.1752, allocations: 437.1 kB / 429.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.1761, allocations: 267.9 kB / 429.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.1761, allocations: 11.94 kB / 429.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002101/0.1782, allocations: 0.6768 MB / 430.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.1783, allocations: 15.98 kB / 430.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.1783, allocations: 8.109 kB / 430.2 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.1784, allocations: 15.94 kB / 430.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.1804, allocations: 243.6 kB / 430.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.1861, allocations: 7.31 MB / 437.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.1869, allocations: 94.95 kB / 437.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.1871, allocations: 43.92 kB / 437.9 MB, free: 11.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005221/0.1876, allocations: 261.5 kB / 438.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1877, allocations: 51.56 kB / 438.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.1898, allocations: 0.5681 MB / 438.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1898, allocations: 4 kB / 438.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1898, allocations: 0 / 438.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1898, allocations: 0 / 438.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.1907, allocations: 441.1 kB / 439.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1908, allocations: 4 kB / 439.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.1926, allocations: 215.8 kB / 439.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.1927, allocations: 0 / 439.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.1927, allocations: 15.98 kB / 439.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.1982, allocations: 7.286 MB / 446.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1983, allocations: 3.938 kB / 446.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1998, allocations: 0.5194 MB / 447.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.2, allocations: 128.5 kB / 447.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2002, allocations: 11.92 kB / 447.4 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.2006, allocations: 8 kB / 447.4 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.2008, allocations: 27.95 kB / 447.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.2009, allocations: 11.98 kB / 447.5 MB, free: 2.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007684/0.2016, allocations: 406.8 kB / 447.9 MB, free: 1.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2017, allocations: 4 kB / 447.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009645/0.2026, allocations: 175.8 kB / 448.1 MB, free: 1.492 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.002405/0.205, allocations: 1.168 MB / 449.2 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.3113/0.5163, allocations: 0.6216 MB / 449.8 MB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.5164, allocations: 0 / 449.8 MB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.5193, allocations: 369.4 kB / 450.2 MB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5203, allocations: 105.4 kB / 450.3 MB, free: 60.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5311, allocations: 8.888 MB / 459.2 MB, free: 54.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.5319, allocations: 0.921 MB / 460.1 MB, free: 53.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.533, allocations: 167.8 kB / 460.3 MB, free: 53.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.5334, allocations: 149.5 kB / 460.4 MB, free: 53.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5334, allocations: 2.906 kB / 460.4 MB, free: 53.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08265/0.6161, allocations: 14.63 MB / 475.1 MB, free: 52.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.6165, allocations: 256 kB / 475.3 MB, free: 52.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/3.831, allocations: 0 / 475.3 MB, free: 52.31 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_KC_res.mat does not exist to compare? outputFormat=mat