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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.01082/0.01082, allocations: 166.5 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.752/1.752, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001989/0.001989, allocations: 99.41 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.4451/0.4451, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.0006528, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1678, allocations: 48.7 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5858, allocations: 81.95 MB / 493.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.5862, allocations: 90.62 kB / 493.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05716/0.6433, allocations: 14.34 MB / 0.4962 GB, free: 9.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6434, allocations: 4 kB / 0.4962 GB, free: 9.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.6434, allocations: 4 kB / 0.4962 GB, free: 9.34 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001397/0.6448, allocations: 0.6399 MB / 0.4968 GB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6449, allocations: 8.031 kB / 0.4968 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.6451, allocations: 93.27 kB / 0.4969 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.6452, allocations: 47.44 kB / 0.4969 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.6458, allocations: 304.6 kB / 0.4972 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.6459, allocations: 38.8 kB / 0.4973 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.646, allocations: 52.94 kB / 0.4973 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6476, allocations: 0.6228 MB / 0.4979 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.6476, allocations: 0 / 0.4979 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.6477, allocations: 21.3 kB / 0.498 GB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/0.6478, allocations: 44.67 kB / 0.498 GB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.6492, allocations: 0.4959 MB / 0.4985 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.6535, allocations: 1.454 MB / 0.4999 GB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.6551, allocations: 453.9 kB / 0.5003 GB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.489e-05/0.6552, allocations: 15.97 kB / 0.5004 GB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6553, allocations: 37.53 kB / 0.5004 GB, free: 5.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/0.6553, allocations: 0 / 0.5004 GB, free: 5.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001695/0.657, allocations: 0.4935 MB / 0.5009 GB, free: 5.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.6571, allocations: 59.34 kB / 0.5009 GB, free: 4.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/0.6581, allocations: 0.4918 MB / 0.5014 GB, free: 4.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.6582, allocations: 33.02 kB / 0.5014 GB, free: 4.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.6585, allocations: 221.4 kB / 0.5016 GB, free: 4.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6586, allocations: 88.39 kB / 0.5017 GB, free: 4.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.6587, allocations: 11 kB / 0.5017 GB, free: 4.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6589, allocations: 354.2 kB / 0.5021 GB, free: 3.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.6594, allocations: 152.9 kB / 0.5022 GB, free: 3.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.66, allocations: 255.2 kB / 0.5025 GB, free: 3.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.6606, allocations: 197.7 kB / 0.5027 GB, free: 3.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6606, allocations: 0 / 0.5027 GB, free: 3.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001528/0.6622, allocations: 0.499 MB / 0.5031 GB, free: 2.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.6622, allocations: 7.984 kB / 0.5032 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/0.6624, allocations: 39.97 kB / 0.5032 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.6624, allocations: 4 kB / 0.5032 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.6628, allocations: 39.92 kB / 0.5032 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.6628, allocations: 15.92 kB / 0.5032 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.6634, allocations: 58.16 kB / 0.5033 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.6634, allocations: 24.36 kB / 0.5033 GB, free: 2.785 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0005098/0.664, allocations: 228.1 kB / 0.5035 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6641, allocations: 43.44 kB / 0.5036 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.666, allocations: 0.5354 MB / 0.5041 GB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.666, allocations: 8 kB / 0.5041 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.666, allocations: 3.984 kB / 0.5041 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.666, allocations: 3.953 kB / 0.5041 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6671, allocations: 423 kB / 0.5045 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000127/0.6672, allocations: 39.89 kB / 0.5046 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.6676, allocations: 35.91 kB / 0.5046 GB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.6676, allocations: 0 / 0.5046 GB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.6677, allocations: 10.88 kB / 0.5046 GB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.6677, allocations: 4 kB / 0.5046 GB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6677, allocations: 0 / 0.5046 GB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6696, allocations: 0.7106 MB / 0.5053 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.6698, allocations: 124.5 kB / 0.5054 GB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.67, allocations: 7.625 kB / 0.5054 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.6703, allocations: 3.312 kB / 0.5054 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.6704, allocations: 27.72 kB / 0.5055 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.6705, allocations: 15.98 kB / 0.5055 GB, free: 0.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000762/0.6713, allocations: 392.9 kB / 0.5059 GB, free: 452 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6713, allocations: 0 / 0.5059 GB, free: 452 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008768/0.6722, allocations: 165 kB / 0.506 GB, free: 300 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.002699/0.6749, allocations: 1.376 MB / 0.5074 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.6764, allocations: 0.6668 MB / 0.508 GB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6764, allocations: 0 / 0.508 GB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.6772, allocations: 489.1 kB / 0.5085 GB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.678, allocations: 86.53 kB / 0.5086 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008827/0.6868, allocations: 5.256 MB / 0.5137 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.6874, allocations: 0.8891 MB / 0.5146 GB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004974/0.6879, allocations: 112.2 kB / 0.5147 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.6882, allocations: 135.5 kB / 0.5148 GB, free: 7.773 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6882, allocations: 0 / 0.5148 GB, free: 7.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.7336, allocations: 12.58 MB / 0.5271 GB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/0.7341, allocations: 221.8 kB / 0.5273 GB, free: 11.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/3.728, allocations: 7.281 kB / 0.5273 GB, free: 11.06 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat