Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0144/0.0144, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.851/1.851, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001992/0.001992, allocations: 111.4 kB / 226.2 MB, free: 10.1 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.4447/0.4447, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5226, allocations: 80.53 MB / 492.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.523, allocations: 94.5 kB / 492.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0403/0.5633, allocations: 9.378 MB / 0.49 GB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.272e-06/0.5634, allocations: 0 / 0.49 GB, free: 14.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5634, allocations: 11.94 kB / 0.49 GB, free: 14.98 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001667/0.5651, allocations: 0.5816 MB / 0.4905 GB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/0.5652, allocations: 8.031 kB / 0.4905 GB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/0.5654, allocations: 90.94 kB / 0.4906 GB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.5656, allocations: 39.53 kB / 0.4907 GB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.5662, allocations: 275.9 kB / 0.4909 GB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.5663, allocations: 33.06 kB / 0.491 GB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5664, allocations: 38.05 kB / 0.491 GB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.5683, allocations: 0.5366 MB / 0.4915 GB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.5683, allocations: 4 kB / 0.4915 GB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.5684, allocations: 11.44 kB / 0.4915 GB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.816e-05/0.5685, allocations: 33.55 kB / 0.4916 GB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.5705, allocations: 0.5826 MB / 0.4921 GB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.5743, allocations: 1.207 MB / 0.4933 GB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.576, allocations: 374.8 kB / 0.4937 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.5761, allocations: 8.125 kB / 0.4937 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.5762, allocations: 36.75 kB / 0.4937 GB, free: 11.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.847e-06/0.5762, allocations: 4 kB / 0.4937 GB, free: 11.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002462/0.5787, allocations: 480.3 kB / 0.4942 GB, free: 11.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.5788, allocations: 51.41 kB / 0.4942 GB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.5801, allocations: 413.6 kB / 0.4946 GB, free: 10.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/0.5802, allocations: 33.33 kB / 0.4947 GB, free: 10.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5805, allocations: 189.3 kB / 0.4948 GB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5806, allocations: 73.3 kB / 0.4949 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.5807, allocations: 3.812 kB / 0.4949 GB, free: 10.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.581, allocations: 349.5 kB / 0.4952 GB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/0.5816, allocations: 122.1 kB / 0.4954 GB, free: 10 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.5823, allocations: 118 kB / 0.4955 GB, free: 9.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.583, allocations: 135.9 kB / 0.4956 GB, free: 9.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5831, allocations: 0 / 0.4956 GB, free: 9.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001649/0.5847, allocations: 358.8 kB / 0.4959 GB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.5848, allocations: 4 kB / 0.496 GB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5848, allocations: 4 kB / 0.496 GB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.5848, allocations: 0 / 0.496 GB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.5866, allocations: 147.9 kB / 0.4961 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.5922, allocations: 5.52 MB / 0.5015 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.5929, allocations: 55.67 kB / 0.5015 GB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.593, allocations: 8 kB / 0.5015 GB, free: 3.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004547/0.5934, allocations: 192.2 kB / 0.5017 GB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.5936, allocations: 35.61 kB / 0.5018 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.5957, allocations: 469 kB / 0.5022 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5958, allocations: 4 kB / 0.5022 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5958, allocations: 0 / 0.5022 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5958, allocations: 3.984 kB / 0.5022 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5969, allocations: 373.2 kB / 0.5026 GB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5969, allocations: 0 / 0.5026 GB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/0.5988, allocations: 155.8 kB / 0.5027 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.5988, allocations: 0 / 0.5027 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.5989, allocations: 11.5 kB / 0.5027 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.6044, allocations: 5.524 MB / 0.5081 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6044, allocations: 0 / 0.5081 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.6061, allocations: 455.2 kB / 0.5086 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.6064, allocations: 120.7 kB / 0.5087 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6065, allocations: 6.938 kB / 0.5087 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.607, allocations: 10.98 kB / 0.5087 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.6071, allocations: 19.97 kB / 0.5087 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.6072, allocations: 14.48 kB / 0.5087 GB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008235/0.6081, allocations: 333.3 kB / 0.509 GB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6081, allocations: 0 / 0.509 GB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009268/0.609, allocations: 105.8 kB / 0.5091 GB, free: 11.8 MB / 362.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.002471/0.6115, allocations: 1.058 MB / 0.5102 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.6143, allocations: 382.5 kB / 0.5105 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6143, allocations: 4 kB / 0.5105 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6162, allocations: 242.4 kB / 0.5108 GB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.6172, allocations: 93.95 kB / 0.5109 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.6254, allocations: 2.609 MB / 0.5134 GB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.6262, allocations: 0.8562 MB / 0.5143 GB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.6267, allocations: 83.2 kB / 0.5143 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.627, allocations: 110.1 kB / 0.5144 GB, free: 6.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6271, allocations: 4 kB / 0.5144 GB, free: 6.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06951/0.6966, allocations: 10.75 MB / 0.5249 GB, free: 12.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/0.697, allocations: 256.8 kB / 0.5252 GB, free: 11.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/3.91, allocations: 0 / 0.5252 GB, free: 11.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat