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.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,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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0114/0.01139, allocations: 165.9 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.853/1.853, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001976/0.001976, 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.4578/0.4578, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5012/0.611, allocations: 81.33 MB / 493 MB, free: 6.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004506/0.6115, allocations: 98.98 kB / 493.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08384/0.6954, allocations: 13.35 MB / 0.4946 GB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.6954, allocations: 4 kB / 0.4946 GB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.6955, allocations: 4 kB / 0.4946 GB, free: 11.07 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001951/0.6974, allocations: 0.585 MB / 0.4952 GB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.6975, allocations: 12.03 kB / 0.4952 GB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.6977, allocations: 73.59 kB / 0.4953 GB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6979, allocations: 38.8 kB / 0.4953 GB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.6985, allocations: 244.5 kB / 0.4955 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.6986, allocations: 18.25 kB / 0.4956 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6987, allocations: 26.56 kB / 0.4956 GB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.7005, allocations: 443.7 kB / 0.496 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.7006, allocations: 0 / 0.496 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.7007, allocations: 21.02 kB / 0.496 GB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.256e-05/0.7008, allocations: 13.59 kB / 0.496 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.7026, allocations: 363.4 kB / 0.4964 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.7062, allocations: 1.111 MB / 0.4975 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.7076, allocations: 251.8 kB / 0.4977 GB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.7077, allocations: 7.938 kB / 0.4977 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7078, allocations: 34.56 kB / 0.4977 GB, free: 8.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 4.037e-06/0.7078, allocations: 0 / 0.4977 GB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.002765/0.7106, allocations: 0.6098 MB / 0.4983 GB, free: 7.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7107, allocations: 102.8 kB / 0.4984 GB, free: 7.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.7117, allocations: 366.2 kB / 0.4988 GB, free: 6.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.7118, allocations: 37.39 kB / 0.4988 GB, free: 6.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.712, allocations: 197.4 kB / 0.499 GB, free: 6.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.7121, allocations: 43.05 kB / 0.4991 GB, free: 6.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.7122, allocations: 7.125 kB / 0.4991 GB, free: 6.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.7124, allocations: 345.3 kB / 0.4994 GB, free: 6.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000793/0.7133, allocations: 133.8 kB / 0.4995 GB, free: 6.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009004/0.7142, allocations: 243.5 kB / 0.4997 GB, free: 6.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.7151, allocations: 160.1 kB / 0.4999 GB, free: 5.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.7151, allocations: 0 / 0.4999 GB, free: 5.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002192/0.7173, allocations: 424.1 kB / 0.5003 GB, free: 5.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.7174, allocations: 8 kB / 0.5003 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.7175, allocations: 19.98 kB / 0.5003 GB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.7176, allocations: 12.48 kB / 0.5003 GB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.7182, allocations: 51.91 kB / 0.5004 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/0.7183, allocations: 15.92 kB / 0.5004 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/0.719, allocations: 58.27 kB / 0.5005 GB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.7191, allocations: 19.98 kB / 0.5005 GB, free: 5.316 MB / 346.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.0004613/0.7196, allocations: 181.3 kB / 0.5007 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.7199, allocations: 31.61 kB / 0.5007 GB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.7215, allocations: 308.5 kB / 0.501 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7215, allocations: 0 / 0.501 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.7216, allocations: 4 kB / 0.501 GB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.7216, allocations: 0 / 0.501 GB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.7228, allocations: 305.8 kB / 0.5013 GB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.379e-05/0.7229, allocations: 19.98 kB / 0.5013 GB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.7234, allocations: 35.72 kB / 0.5013 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.7234, allocations: 0 / 0.5013 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.7235, allocations: 8 kB / 0.5013 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.7235, allocations: 7.984 kB / 0.5013 GB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7235, allocations: 0 / 0.5013 GB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.7255, allocations: 0.5566 MB / 0.5019 GB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.7259, allocations: 140 kB / 0.502 GB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7261, allocations: 3.375 kB / 0.502 GB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.7268, allocations: 23.98 kB / 0.502 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.727, allocations: 23.84 kB / 0.5021 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.727, allocations: 7.938 kB / 0.5021 GB, free: 3.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007465/0.7278, allocations: 290 kB / 0.5024 GB, free: 3.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7278, allocations: 0 / 0.5024 GB, free: 3.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001397/0.7292, allocations: 98.39 kB / 0.5024 GB, free: 3.375 MB / 346.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.002972/0.7323, allocations: 1.308 MB / 0.5037 GB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.7344, allocations: 451.1 kB / 0.5042 GB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7344, allocations: 0 / 0.5042 GB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.7354, allocations: 287.7 kB / 0.5044 GB, free: 1.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7365, allocations: 71.09 kB / 0.5045 GB, free: 1.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.747, allocations: 4.728 MB / 0.5091 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.7478, allocations: 0.8067 MB / 0.5099 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005347/0.7484, allocations: 62.91 kB / 0.51 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.7487, allocations: 83.47 kB / 0.51 GB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.934e-06/0.7487, allocations: 4 kB / 0.51 GB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.7908, allocations: 8.512 MB / 0.5184 GB, free: 3.375 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.7911, allocations: 229.8 kB / 0.5186 GB, free: 3.125 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.626, allocations: 3.938 kB / 0.5186 GB, free: 3.121 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_res.mat does not exist to compare? outputFormat=mat