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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.015/0.015, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.88/1.88, 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.002027/0.002026, allocations: 114.9 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.4549/0.4549, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 19.98 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5176, allocations: 86.78 MB / 498.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/0.518, allocations: 97.41 kB / 498.6 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1392/0.6572, allocations: 21.22 MB / 0.5076 GB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6573, allocations: 0 / 0.5076 GB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.6573, allocations: 8 kB / 0.5076 GB, free: 14.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001717/0.659, allocations: 0.7426 MB / 0.5084 GB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.6591, allocations: 11.97 kB / 0.5084 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.6593, allocations: 94.95 kB / 0.5085 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.6594, allocations: 55.34 kB / 0.5085 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.6601, allocations: 301 kB / 0.5088 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.6601, allocations: 37.44 kB / 0.5088 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.6602, allocations: 51.17 kB / 0.5089 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6621, allocations: 0.7023 MB / 0.5096 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.6621, allocations: 0 / 0.5096 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.6622, allocations: 21.69 kB / 0.5096 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.6623, allocations: 32.98 kB / 0.5096 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.664, allocations: 0.5182 MB / 0.5101 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.6677, allocations: 1.529 MB / 0.5116 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6689, allocations: 334.9 kB / 0.5119 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.669, allocations: 11.97 kB / 0.5119 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.669, allocations: 37.88 kB / 0.512 GB, free: 10.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.011e-05/0.669, allocations: 0 / 0.512 GB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002632/0.6717, allocations: 1.018 MB / 0.513 GB, free: 9.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.6718, allocations: 110.9 kB / 0.5131 GB, free: 9.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6728, allocations: 0.5037 MB / 0.5136 GB, free: 8.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.6729, allocations: 29.7 kB / 0.5136 GB, free: 8.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.6732, allocations: 229.1 kB / 0.5138 GB, free: 8.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6733, allocations: 82.03 kB / 0.5139 GB, free: 8.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.6734, allocations: 3 kB / 0.5139 GB, free: 8.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6736, allocations: 357.3 kB / 0.5142 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.6743, allocations: 166 kB / 0.5144 GB, free: 8.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.675, allocations: 267.2 kB / 0.5147 GB, free: 7.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.6758, allocations: 189.2 kB / 0.5148 GB, free: 7.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6758, allocations: 0 / 0.5148 GB, free: 7.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001948/0.6778, allocations: 0.5009 MB / 0.5153 GB, free: 7.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.6778, allocations: 8 kB / 0.5153 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.678, allocations: 35.97 kB / 0.5154 GB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.678, allocations: 11.98 kB / 0.5154 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6784, allocations: 43.98 kB / 0.5154 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.6784, allocations: 15.92 kB / 0.5154 GB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.679, allocations: 74.16 kB / 0.5155 GB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.6791, allocations: 16 kB / 0.5155 GB, free: 7.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004156/0.6795, allocations: 221 kB / 0.5157 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6797, allocations: 51.34 kB / 0.5158 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.6814, allocations: 486.9 kB / 0.5162 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.6814, allocations: 4 kB / 0.5163 GB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6815, allocations: 7.953 kB / 0.5163 GB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6815, allocations: 4 kB / 0.5163 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6825, allocations: 404 kB / 0.5166 GB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001287/0.6826, allocations: 35.97 kB / 0.5167 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.683, allocations: 31.91 kB / 0.5167 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.683, allocations: 0 / 0.5167 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.683, allocations: 14.61 kB / 0.5167 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.6831, allocations: 4 kB / 0.5167 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6831, allocations: 4 kB / 0.5167 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.6849, allocations: 0.6655 MB / 0.5174 GB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.6853, allocations: 183.8 kB / 0.5176 GB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6854, allocations: 7.953 kB / 0.5176 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.6859, allocations: 30.78 kB / 0.5176 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6861, allocations: 23.05 kB / 0.5176 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.6862, allocations: 11.98 kB / 0.5176 GB, free: 5.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007997/0.687, allocations: 411.8 kB / 0.518 GB, free: 4.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.687, allocations: 4 kB / 0.518 GB, free: 4.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/0.6881, allocations: 186.9 kB / 0.5182 GB, free: 4.523 MB / 362.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002962/0.6911, allocations: 1.548 MB / 0.5197 GB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.693, allocations: 0.6783 MB / 0.5204 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.693, allocations: 0 / 0.5204 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.694, allocations: 0.4895 MB / 0.5209 GB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.6949, allocations: 96.91 kB / 0.521 GB, free: 1.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.7045, allocations: 5.379 MB / 0.5262 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.7053, allocations: 0.8912 MB / 0.5271 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.7057, allocations: 75.34 kB / 0.5271 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.7059, allocations: 130.2 kB / 0.5273 GB, free: 11.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7059, allocations: 7.938 kB / 0.5273 GB, free: 11.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.7549, allocations: 13.56 MB / 0.5405 GB, free: 14.16 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/0.7553, allocations: 217.8 kB / 0.5407 GB, free: 13.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.679, allocations: 4 kB / 0.5407 GB, free: 13.92 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat