Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01019/0.01019, allocations: 165.7 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.743/1.743, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001953/0.001953, allocations: 107.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4545/0.4545, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005075, allocations: 15.98 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5595, allocations: 79.32 MB / 491 MB, free: 8.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.5599, allocations: 97.19 kB / 491.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.054/0.6139, allocations: 11.82 MB / 0.4912 GB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.071e-06/0.6139, allocations: 0 / 0.4912 GB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.614, allocations: 7.938 kB / 0.4912 GB, free: 14 MB / 346.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.001132/0.6151, allocations: 0.5148 MB / 0.4917 GB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.6152, allocations: 12.03 kB / 0.4917 GB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.6153, allocations: 64.36 kB / 0.4918 GB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.6154, allocations: 23.72 kB / 0.4918 GB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.6159, allocations: 244.6 kB / 0.492 GB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.6159, allocations: 19 kB / 0.492 GB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.616, allocations: 27.8 kB / 0.4921 GB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6171, allocations: 361.5 kB / 0.4924 GB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.6171, allocations: 0 / 0.4924 GB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.6172, allocations: 18.12 kB / 0.4924 GB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.6172, allocations: 20.64 kB / 0.4924 GB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6183, allocations: 386.3 kB / 0.4928 GB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.6205, allocations: 0.8513 MB / 0.4936 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.6214, allocations: 258.2 kB / 0.4939 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.6214, allocations: 11.92 kB / 0.4939 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.6215, allocations: 37.95 kB / 0.4939 GB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.6215, allocations: 0.75 kB / 0.4939 GB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001303/0.6228, allocations: 341.6 kB / 0.4943 GB, free: 11.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.6229, allocations: 55.39 kB / 0.4943 GB, free: 11.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.6234, allocations: 302.9 kB / 0.4946 GB, free: 10.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.6235, allocations: 29.7 kB / 0.4946 GB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.6236, allocations: 167.9 kB / 0.4948 GB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.6237, allocations: 60.94 kB / 0.4948 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6238, allocations: 7.25 kB / 0.4949 GB, free: 10.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6239, allocations: 342.9 kB / 0.4952 GB, free: 10.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.6244, allocations: 96.12 kB / 0.4953 GB, free: 10.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.6248, allocations: 193.7 kB / 0.4955 GB, free: 9.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.6253, allocations: 131.2 kB / 0.4956 GB, free: 9.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6253, allocations: 0 / 0.4956 GB, free: 9.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001117/0.6264, allocations: 347.2 kB / 0.4959 GB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6265, allocations: 8 kB / 0.4959 GB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6265, allocations: 4.375 kB / 0.4959 GB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.6265, allocations: 11.95 kB / 0.4959 GB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.6276, allocations: 119.8 kB / 0.496 GB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.6303, allocations: 3.657 MB / 0.4996 GB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.6308, allocations: 39.52 kB / 0.4997 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.6308, allocations: 13.41 kB / 0.4997 GB, free: 5.559 MB / 346.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.0003307/0.6312, allocations: 175.6 kB / 0.4998 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.6312, allocations: 31.61 kB / 0.4999 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.6325, allocations: 335.1 kB / 0.5002 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.6325, allocations: 7.938 kB / 0.5002 GB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6325, allocations: 4 kB / 0.5002 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6325, allocations: 0 / 0.5002 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.6331, allocations: 298.8 kB / 0.5005 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6331, allocations: 0 / 0.5005 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009437/0.6341, allocations: 114.4 kB / 0.5006 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6341, allocations: 0 / 0.5006 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.6341, allocations: 6.125 kB / 0.5006 GB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.6367, allocations: 3.651 MB / 0.5042 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6368, allocations: 3.938 kB / 0.5042 GB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.6378, allocations: 360.6 kB / 0.5045 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.638, allocations: 104.8 kB / 0.5046 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.638, allocations: 3.312 kB / 0.5046 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.6383, allocations: 19.81 kB / 0.5046 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.6384, allocations: 11.98 kB / 0.5046 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.6385, allocations: 8 kB / 0.5047 GB, free: 388 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004005/0.6389, allocations: 241.1 kB / 0.5049 GB, free: 184 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6389, allocations: 0 / 0.5049 GB, free: 184 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000578/0.6395, allocations: 78.31 kB / 0.505 GB, free: 112 kB / 346.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.001572/0.6411, allocations: 0.9456 MB / 0.5059 GB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.6427, allocations: 304.9 kB / 0.5062 GB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6427, allocations: 0 / 0.5062 GB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009853/0.6437, allocations: 168.7 kB / 0.5063 GB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.6443, allocations: 72.84 kB / 0.5064 GB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.6496, allocations: 3.713 MB / 0.51 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.6501, allocations: 0.8017 MB / 0.5108 GB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.6506, allocations: 78.88 kB / 0.5109 GB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.6507, allocations: 79.34 kB / 0.511 GB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 4.127e-06/0.6508, allocations: 0 / 0.511 GB, free: 10.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.6944, allocations: 7.95 MB / 0.5187 GB, free: 2.352 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004297/0.6949, allocations: 258.4 kB / 0.519 GB, free: 2.012 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.574, allocations: 0 / 0.519 GB, free: 2.012 MB / 362.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