Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01196/0.01196, allocations: 174.5 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.056/2.056, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0028/0.0028, allocations: 120.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3152/0.3152, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006322, allocations: 12.27 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1096, allocations: 54.88 MB / 461.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5408/0.6504, allocations: 92.64 MB / 0.5408 GB, free: 21.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.6508, allocations: 97.72 kB / 0.5409 GB, free: 21.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08651/0.7374, allocations: 20.25 MB / 0.5607 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7374, allocations: 0 / 0.5607 GB, free: 19.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.7375, allocations: 7.75 kB / 0.5607 GB, free: 19.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001689/0.7391, allocations: 0.6794 MB / 0.5614 GB, free: 19.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.7392, allocations: 7.75 kB / 0.5614 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.7394, allocations: 114.5 kB / 0.5615 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.7396, allocations: 54.58 kB / 0.5615 GB, free: 19.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.7401, allocations: 298.6 kB / 0.5618 GB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.7402, allocations: 38.19 kB / 0.5618 GB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.7403, allocations: 51.95 kB / 0.5619 GB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.7419, allocations: 0.69 MB / 0.5626 GB, free: 18.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.7419, allocations: 0 / 0.5626 GB, free: 18.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.742, allocations: 23.22 kB / 0.5626 GB, free: 18.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.7421, allocations: 41.41 kB / 0.5626 GB, free: 18.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.744, allocations: 0.7571 MB / 0.5634 GB, free: 18.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.7474, allocations: 1.45 MB / 0.5648 GB, free: 18.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7487, allocations: 461.7 kB / 0.5652 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.088e-05/0.7488, allocations: 7.859 kB / 0.5652 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.7488, allocations: 34.55 kB / 0.5653 GB, free: 17.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/0.7488, allocations: 0 / 0.5653 GB, free: 17.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001824/0.7506, allocations: 0.5469 MB / 0.5658 GB, free: 17.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.7507, allocations: 59.25 kB / 0.5659 GB, free: 17.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.7515, allocations: 480.3 kB / 0.5663 GB, free: 17.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.7516, allocations: 36.27 kB / 0.5664 GB, free: 17.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.7518, allocations: 246.5 kB / 0.5666 GB, free: 17.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.7519, allocations: 104.1 kB / 0.5667 GB, free: 17.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.7519, allocations: 6.875 kB / 0.5667 GB, free: 17.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.752, allocations: 363.7 kB / 0.567 GB, free: 16.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.7525, allocations: 163.5 kB / 0.5672 GB, free: 16.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.7531, allocations: 292.7 kB / 0.5675 GB, free: 16.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.7538, allocations: 216.6 kB / 0.5677 GB, free: 16.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/0.7538, allocations: 112 / 0.5677 GB, free: 16.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00146/0.7553, allocations: 0.5546 MB / 0.5682 GB, free: 16.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7553, allocations: 3.969 kB / 0.5682 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7553, allocations: 3.875 kB / 0.5682 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.7554, allocations: 7.875 kB / 0.5682 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.7571, allocations: 218.1 kB / 0.5684 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/0.7614, allocations: 7.311 MB / 0.5756 GB, free: 25.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.7621, allocations: 66.33 kB / 0.5757 GB, free: 25.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.7622, allocations: 23.05 kB / 0.5757 GB, free: 25.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004404/0.7626, allocations: 236.9 kB / 0.5759 GB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.7627, allocations: 46.78 kB / 0.5759 GB, free: 24.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.7644, allocations: 0.5416 MB / 0.5765 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.7644, allocations: 3.875 kB / 0.5765 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7644, allocations: 0 / 0.5765 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7644, allocations: 0 / 0.5765 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.7653, allocations: 427.8 kB / 0.5769 GB, free: 24.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7653, allocations: 0 / 0.5769 GB, free: 24.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.7669, allocations: 198.6 kB / 0.5771 GB, free: 24.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.767, allocations: 3.938 kB / 0.5771 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.767, allocations: 19.48 kB / 0.5771 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004831/0.7719, allocations: 7.3 MB / 0.5842 GB, free: 17.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7719, allocations: 4.062 kB / 0.5842 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.7732, allocations: 0.5012 MB / 0.5847 GB, free: 16.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.7735, allocations: 127.8 kB / 0.5848 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7736, allocations: 7.25 kB / 0.5848 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.774, allocations: 18.3 kB / 0.5849 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7741, allocations: 23.58 kB / 0.5849 GB, free: 16.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.7742, allocations: 14.94 kB / 0.5849 GB, free: 16.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.7748, allocations: 388 kB / 0.5853 GB, free: 16.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7748, allocations: 0 / 0.5853 GB, free: 16.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008876/0.7757, allocations: 181.7 kB / 0.5854 GB, free: 16.62 MB / 394.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.002094/0.7778, allocations: 1.212 MB / 0.5866 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.7802, allocations: 0.5141 MB / 0.5871 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7802, allocations: 0 / 0.5871 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.7819, allocations: 306.9 kB / 0.5874 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.7826, allocations: 81.67 kB / 0.5875 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.7903, allocations: 5.965 MB / 0.5933 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.7909, allocations: 0.9005 MB / 0.5942 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000555/0.7914, allocations: 138 kB / 0.5943 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.7917, allocations: 138.5 kB / 0.5945 GB, free: 10.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.7917, allocations: 0 / 0.5945 GB, free: 10.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.8347, allocations: 13.87 MB / 0.608 GB, free: 3.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.835, allocations: 261.9 kB / 0.6083 GB, free: 3.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.032, allocations: 0 / 0.6083 GB, free: 3.406 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat