Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.01023/0.01023, allocations: 166.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.66/1.66, allocations: 170.8 MB / 186.6 MB, free: 1.148 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.002071/0.002071, allocations: 99.41 kB / 226.2 MB, free: 10.12 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.4686/0.4686, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006326/0.0006326, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1067, allocations: 48.72 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.5187, allocations: 80.64 MB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.5191, allocations: 97.81 kB / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04096/0.56, allocations: 9.672 MB / 0.4904 GB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5601, allocations: 0 / 0.4904 GB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5601, allocations: 0 / 0.4904 GB, free: 14.77 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001231/0.5614, allocations: 0.5376 MB / 0.4909 GB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.5614, allocations: 8.031 kB / 0.4909 GB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.676e-05/0.5615, allocations: 52.11 kB / 0.4909 GB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.5616, allocations: 26.98 kB / 0.491 GB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.562, allocations: 221.9 kB / 0.4912 GB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.562, allocations: 11.38 kB / 0.4912 GB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.5621, allocations: 15.25 kB / 0.4912 GB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.563, allocations: 297.9 kB / 0.4915 GB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.563, allocations: 0 / 0.4915 GB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.5631, allocations: 2.438 kB / 0.4915 GB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.5631, allocations: 20.77 kB / 0.4915 GB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5642, allocations: 255 kB / 0.4918 GB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.5659, allocations: 0.7761 MB / 0.4925 GB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5669, allocations: 244 kB / 0.4927 GB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.567, allocations: 0 / 0.4927 GB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5671, allocations: 38.52 kB / 0.4928 GB, free: 12.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.365e-06/0.5671, allocations: 2.438 kB / 0.4928 GB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001869/0.569, allocations: 0.5829 MB / 0.4934 GB, free: 11.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.5691, allocations: 105.9 kB / 0.4935 GB, free: 11.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.5695, allocations: 248.3 kB / 0.4937 GB, free: 11.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.5696, allocations: 33.14 kB / 0.4937 GB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.5697, allocations: 138.1 kB / 0.4939 GB, free: 11.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.5698, allocations: 45.53 kB / 0.4939 GB, free: 11.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.5698, allocations: 4 kB / 0.4939 GB, free: 11.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.57, allocations: 332.8 kB / 0.4942 GB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.5705, allocations: 108.2 kB / 0.4943 GB, free: 10.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.571, allocations: 137.5 kB / 0.4945 GB, free: 10.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.5715, allocations: 105.2 kB / 0.4946 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5715, allocations: 4 kB / 0.4946 GB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001199/0.5728, allocations: 292.2 kB / 0.4948 GB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5728, allocations: 4 kB / 0.4948 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/0.5729, allocations: 11.98 kB / 0.4948 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.5729, allocations: 8.109 kB / 0.4949 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5733, allocations: 47.91 kB / 0.4949 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5733, allocations: 0 / 0.4949 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.5737, allocations: 39.69 kB / 0.4949 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5737, allocations: 8 kB / 0.4949 GB, free: 10.16 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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000238/0.574, allocations: 154.5 kB / 0.4951 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5741, allocations: 25.11 kB / 0.4951 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.575, allocations: 241.1 kB / 0.4953 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.575, allocations: 7.953 kB / 0.4954 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.575, allocations: 4 kB / 0.4954 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5751, allocations: 0 / 0.4954 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.5757, allocations: 261.2 kB / 0.4956 GB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/0.5757, allocations: 15.92 kB / 0.4956 GB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.5761, allocations: 42.97 kB / 0.4957 GB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5761, allocations: 0 / 0.4957 GB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5761, allocations: 4 kB / 0.4957 GB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5762, allocations: 4 kB / 0.4957 GB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.5762, allocations: 3.953 kB / 0.4957 GB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.5774, allocations: 0.5157 MB / 0.4962 GB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.5777, allocations: 120.7 kB / 0.4963 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.5778, allocations: 3.953 kB / 0.4963 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.5782, allocations: 23.92 kB / 0.4963 GB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.5783, allocations: 19.91 kB / 0.4963 GB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.5783, allocations: 4 kB / 0.4963 GB, free: 8.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003239/0.5787, allocations: 205.4 kB / 0.4965 GB, free: 8.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5787, allocations: 0 / 0.4965 GB, free: 8.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006778/0.5794, allocations: 87.17 kB / 0.4966 GB, free: 8.473 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001967/0.5814, allocations: 1.261 MB / 0.4979 GB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5826, allocations: 303.6 kB / 0.4981 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5826, allocations: 320 / 0.4981 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.5832, allocations: 198.6 kB / 0.4983 GB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.5838, allocations: 46.47 kB / 0.4984 GB, free: 6.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.5886, allocations: 2.351 MB / 0.5007 GB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.5891, allocations: 0.7592 MB / 0.5014 GB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.5893, allocations: 45.5 kB / 0.5015 GB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5895, allocations: 61.11 kB / 0.5015 GB, free: 3.594 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5895, allocations: 0 / 0.5015 GB, free: 3.594 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.631, allocations: 5.965 MB / 0.5073 GB, free: 13.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/0.6314, allocations: 224.2 kB / 0.5076 GB, free: 13.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.258, allocations: 8.016 kB / 0.5076 GB, free: 13.5 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat