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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",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.01444/0.01444, allocations: 165.1 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.804/1.804, 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.001961/0.001961, 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.5/0.5, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006642, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1064, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5423, allocations: 82.02 MB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.5427, allocations: 98.58 kB / 493.8 MB, free: 5.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06077/0.6035, allocations: 14.03 MB / 0.496 GB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6036, allocations: 0 / 0.496 GB, free: 9.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.6036, allocations: 8 kB / 0.496 GB, free: 9.555 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001578/0.6052, allocations: 0.6597 MB / 0.4966 GB, free: 8.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.6053, allocations: 8.031 kB / 0.4966 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.6054, allocations: 103.2 kB / 0.4967 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.6056, allocations: 51.34 kB / 0.4968 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.6062, allocations: 303.8 kB / 0.4971 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.6063, allocations: 43.23 kB / 0.4971 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6064, allocations: 49 kB / 0.4971 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.6081, allocations: 0.6888 MB / 0.4978 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.6081, allocations: 0 / 0.4978 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.6082, allocations: 20.44 kB / 0.4978 GB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.6083, allocations: 41.28 kB / 0.4979 GB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.6103, allocations: 0.7497 MB / 0.4986 GB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.614, allocations: 1.469 MB / 0.5 GB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6154, allocations: 449.8 kB / 0.5005 GB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.6155, allocations: 15.2 kB / 0.5005 GB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6156, allocations: 34.75 kB / 0.5005 GB, free: 5.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.817e-06/0.6156, allocations: 4 kB / 0.5005 GB, free: 5.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001978/0.6176, allocations: 0.5478 MB / 0.5011 GB, free: 4.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.6177, allocations: 55.52 kB / 0.5011 GB, free: 4.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.6186, allocations: 493 kB / 0.5016 GB, free: 4.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.6186, allocations: 29.39 kB / 0.5016 GB, free: 4.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.6189, allocations: 231.5 kB / 0.5018 GB, free: 4.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.619, allocations: 99.94 kB / 0.5019 GB, free: 4.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.6191, allocations: 7 kB / 0.5019 GB, free: 4.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.6193, allocations: 359.7 kB / 0.5023 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.6198, allocations: 161.1 kB / 0.5024 GB, free: 3.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.6205, allocations: 248.8 kB / 0.5027 GB, free: 3.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.6212, allocations: 200.4 kB / 0.5029 GB, free: 3.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6212, allocations: 0 / 0.5029 GB, free: 3.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001574/0.6228, allocations: 0.4969 MB / 0.5033 GB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.6228, allocations: 4 kB / 0.5033 GB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6228, allocations: 4 kB / 0.5033 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.6229, allocations: 7.953 kB / 0.5034 GB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6247, allocations: 207.3 kB / 0.5035 GB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.6303, allocations: 7.318 MB / 0.5107 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.6311, allocations: 62.58 kB / 0.5108 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.6312, allocations: 26.94 kB / 0.5108 GB, free: 11.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0004799/0.6316, allocations: 227.1 kB / 0.511 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.6318, allocations: 51.38 kB / 0.511 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.6336, allocations: 0.5524 MB / 0.5116 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.6337, allocations: 3.984 kB / 0.5116 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6337, allocations: 0 / 0.5116 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6337, allocations: 4 kB / 0.5116 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.6346, allocations: 424.1 kB / 0.512 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6346, allocations: 0 / 0.512 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.6364, allocations: 199.8 kB / 0.5122 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.6364, allocations: 0 / 0.5122 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.6365, allocations: 23.81 kB / 0.5122 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005455/0.6419, allocations: 7.307 MB / 0.5193 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.642, allocations: 4.094 kB / 0.5194 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.6434, allocations: 0.4972 MB / 0.5198 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.6437, allocations: 124.5 kB / 0.52 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6438, allocations: 15.7 kB / 0.52 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.6442, allocations: 15.48 kB / 0.52 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.6444, allocations: 27.77 kB / 0.52 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.6444, allocations: 19.86 kB / 0.52 GB, free: 1.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007094/0.6452, allocations: 381.2 kB / 0.5204 GB, free: 1.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6452, allocations: 0 / 0.5204 GB, free: 1.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.646, allocations: 145.4 kB / 0.5205 GB, free: 1.047 MB / 362.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.002153/0.6481, allocations: 1.137 MB / 0.5216 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.6508, allocations: 492.5 kB / 0.5221 GB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6508, allocations: 0 / 0.5221 GB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.6527, allocations: 316.3 kB / 0.5224 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.6534, allocations: 82.28 kB / 0.5225 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.6618, allocations: 5.016 MB / 0.5274 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.6626, allocations: 0.9109 MB / 0.5283 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005693/0.6632, allocations: 128.1 kB / 0.5284 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.6635, allocations: 138.3 kB / 0.5285 GB, free: 9.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6635, allocations: 0 / 0.5285 GB, free: 9.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09195/0.7554, allocations: 12.76 MB / 0.541 GB, free: 12.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004239/0.7559, allocations: 254.1 kB / 0.5412 GB, free: 12.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/3.877, allocations: 0 / 0.5412 GB, free: 12.42 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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat