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.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,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0105/0.0105, 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.835/1.835, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001943/0.001943, allocations: 107.4 kB / 226.2 MB, free: 10.09 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.5379/0.5379, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5916, allocations: 81.52 MB / 493.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.592, allocations: 99.38 kB / 493.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0449/0.6369, allocations: 10.62 MB / 0.4921 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.637, allocations: 0 / 0.4921 GB, free: 12.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.637, allocations: 8 kB / 0.4921 GB, free: 12.88 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001472/0.6385, allocations: 0.6539 MB / 0.4928 GB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6385, allocations: 8.031 kB / 0.4928 GB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.6387, allocations: 79.78 kB / 0.4929 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.6388, allocations: 47.44 kB / 0.4929 GB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.6393, allocations: 287.8 kB / 0.4932 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.6394, allocations: 30.48 kB / 0.4932 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.6395, allocations: 37.38 kB / 0.4933 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.641, allocations: 0.5801 MB / 0.4938 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.6411, allocations: 0 / 0.4938 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.6412, allocations: 17.44 kB / 0.4938 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.6412, allocations: 24.22 kB / 0.4939 GB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6428, allocations: 452.2 kB / 0.4943 GB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.6459, allocations: 1.411 MB / 0.4957 GB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.647, allocations: 285.4 kB / 0.4959 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.647, allocations: 8 kB / 0.4959 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6471, allocations: 35.19 kB / 0.496 GB, free: 9.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 6.673e-06/0.6471, allocations: 112 / 0.496 GB, free: 9.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002285/0.6494, allocations: 0.72 MB / 0.4967 GB, free: 8.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.6495, allocations: 106.8 kB / 0.4968 GB, free: 8.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/0.6504, allocations: 459.8 kB / 0.4972 GB, free: 7.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.6505, allocations: 29.58 kB / 0.4973 GB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.6507, allocations: 209.5 kB / 0.4975 GB, free: 7.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.6508, allocations: 66.77 kB / 0.4975 GB, free: 7.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.6509, allocations: 3.5 kB / 0.4975 GB, free: 7.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.651, allocations: 349.6 kB / 0.4979 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.6517, allocations: 134.9 kB / 0.498 GB, free: 7.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.6523, allocations: 183.9 kB / 0.4982 GB, free: 7.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.653, allocations: 156 kB / 0.4983 GB, free: 6.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.653, allocations: 4 kB / 0.4983 GB, free: 6.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001595/0.6546, allocations: 397.2 kB / 0.4987 GB, free: 6.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.6547, allocations: 8 kB / 0.4987 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.6548, allocations: 30.66 kB / 0.4987 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.6548, allocations: 4 kB / 0.4987 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.6552, allocations: 40.09 kB / 0.4988 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.6553, allocations: 0 / 0.4988 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.6558, allocations: 70.34 kB / 0.4988 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.6559, allocations: 11.95 kB / 0.4988 GB, free: 6.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003699/0.6563, allocations: 187.9 kB / 0.499 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.6565, allocations: 39.53 kB / 0.4991 GB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.6579, allocations: 404.3 kB / 0.4995 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.658, allocations: 4 kB / 0.4995 GB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.658, allocations: 7.938 kB / 0.4995 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.658, allocations: 0 / 0.4995 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.6589, allocations: 361.2 kB / 0.4998 GB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.545e-05/0.659, allocations: 27.97 kB / 0.4998 GB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.6594, allocations: 31.97 kB / 0.4999 GB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.6594, allocations: 3.938 kB / 0.4999 GB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.6594, allocations: 14.23 kB / 0.4999 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6595, allocations: 6.969 kB / 0.4999 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6595, allocations: 0 / 0.4999 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.661, allocations: 0.6161 MB / 0.5005 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.6614, allocations: 170.4 kB / 0.5007 GB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.841e-05/0.6615, allocations: 6.625 kB / 0.5007 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.6621, allocations: 19.98 kB / 0.5007 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6622, allocations: 22.86 kB / 0.5007 GB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.6623, allocations: 15.98 kB / 0.5007 GB, free: 4.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006843/0.663, allocations: 374.1 kB / 0.5011 GB, free: 4.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.663, allocations: 4 kB / 0.5011 GB, free: 4.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008707/0.6639, allocations: 118.5 kB / 0.5012 GB, free: 4.195 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002582/0.6665, allocations: 1.4 MB / 0.5026 GB, free: 2.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.6682, allocations: 0.5345 MB / 0.5031 GB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6682, allocations: 0 / 0.5031 GB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.669, allocations: 403 kB / 0.5035 GB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.6699, allocations: 93.38 kB / 0.5035 GB, free: 1.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.6779, allocations: 3.552 MB / 0.507 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.6786, allocations: 0.8545 MB / 0.5079 GB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.679, allocations: 67.23 kB / 0.5079 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6792, allocations: 106 kB / 0.508 GB, free: 13.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6792, allocations: 0 / 0.508 GB, free: 13.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.7207, allocations: 10.87 MB / 0.5186 GB, free: 2.773 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.7211, allocations: 212.8 kB / 0.5188 GB, free: 2.539 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/3.797, allocations: 0 / 0.5188 GB, free: 2.539 MB / 362.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_res.mat does not exist to compare? outputFormat=mat