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_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01408/0.01408, allocations: 164.7 kB / 15.11 MB, free: 5.988 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.717/1.717, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.002032/0.002031, allocations: 111.4 kB / 226.2 MB, free: 10.11 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.4824/0.4824, allocations: 38.05 MB / 303.7 MB, free: 42.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004762, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5445, allocations: 86.22 MB / 497.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.5449, allocations: 98.8 kB / 498 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09388/0.6388, allocations: 20.22 MB / 0.5061 GB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6388, allocations: 0 / 0.5061 GB, free: 76 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.6389, allocations: 4 kB / 0.5061 GB, free: 72 kB / 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.001812/0.6407, allocations: 0.6852 MB / 0.5068 GB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.6408, allocations: 8.031 kB / 0.5068 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.641, allocations: 102.5 kB / 0.5069 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.6412, allocations: 55.34 kB / 0.5069 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.6419, allocations: 310.3 kB / 0.5072 GB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.642, allocations: 39 kB / 0.5073 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6421, allocations: 50.06 kB / 0.5073 GB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.6438, allocations: 0.6876 MB / 0.508 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.6439, allocations: 0 / 0.508 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.644, allocations: 21.98 kB / 0.508 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.6441, allocations: 44.55 kB / 0.5081 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.6462, allocations: 0.7513 MB / 0.5088 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.6501, allocations: 1.457 MB / 0.5102 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6515, allocations: 458.9 kB / 0.5106 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.6516, allocations: 8.219 kB / 0.5107 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.6516, allocations: 42.69 kB / 0.5107 GB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/0.6516, allocations: 0 / 0.5107 GB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002001/0.6536, allocations: 0.5515 MB / 0.5112 GB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.6537, allocations: 55.41 kB / 0.5113 GB, free: 11.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.6547, allocations: 488.9 kB / 0.5118 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.6548, allocations: 29.14 kB / 0.5118 GB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.655, allocations: 244.2 kB / 0.512 GB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.6552, allocations: 100.4 kB / 0.5121 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.6553, allocations: 10.88 kB / 0.5121 GB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6555, allocations: 359.5 kB / 0.5125 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/0.6561, allocations: 165.5 kB / 0.5126 GB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.6568, allocations: 296.6 kB / 0.5129 GB, free: 9.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.6575, allocations: 215.7 kB / 0.5131 GB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.6575, allocations: 0 / 0.5131 GB, free: 9.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002059/0.6596, allocations: 0.5372 MB / 0.5136 GB, free: 9.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.6597, allocations: 12.02 kB / 0.5136 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6597, allocations: 4 kB / 0.5137 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.6597, allocations: 11.98 kB / 0.5137 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.6622, allocations: 219.4 kB / 0.5139 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.6694, allocations: 7.317 MB / 0.521 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.6705, allocations: 66.48 kB / 0.5211 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.6706, allocations: 16 kB / 0.5211 GB, free: 1.371 MB / 362.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.0006618/0.6713, allocations: 237.7 kB / 0.5213 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.6715, allocations: 47.39 kB / 0.5214 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.6743, allocations: 0.5562 MB / 0.5219 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.6743, allocations: 4 kB / 0.5219 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6744, allocations: 0 / 0.5219 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6744, allocations: 0 / 0.5219 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.6757, allocations: 424.6 kB / 0.5223 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6757, allocations: 0 / 0.5223 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.6782, allocations: 199 kB / 0.5225 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.6782, allocations: 3.953 kB / 0.5225 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/0.6783, allocations: 11.97 kB / 0.5225 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007143/0.6855, allocations: 7.308 MB / 0.5297 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6855, allocations: 288 / 0.5297 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.6876, allocations: 0.4966 MB / 0.5301 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.688, allocations: 132.4 kB / 0.5303 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6882, allocations: 7.422 kB / 0.5303 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.6889, allocations: 15.81 kB / 0.5303 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6891, allocations: 23.95 kB / 0.5303 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.6892, allocations: 15.42 kB / 0.5303 GB, free: 7.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.6903, allocations: 379.9 kB / 0.5307 GB, free: 7.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.6904, allocations: 0 / 0.5307 GB, free: 7.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001696/0.6921, allocations: 177.1 kB / 0.5309 GB, free: 7.363 MB / 378.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.003435/0.6956, allocations: 1.218 MB / 0.5321 GB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.6992, allocations: 0.5094 MB / 0.5326 GB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.6993, allocations: 0 / 0.5326 GB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.7018, allocations: 307.3 kB / 0.5328 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.7027, allocations: 79.61 kB / 0.5329 GB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.7149, allocations: 5.96 MB / 0.5387 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/0.7158, allocations: 0.9083 MB / 0.5396 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000849/0.7167, allocations: 144.2 kB / 0.5398 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7171, allocations: 141.2 kB / 0.5399 GB, free: 14.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7171, allocations: 0 / 0.5399 GB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.7831, allocations: 13.86 MB / 0.5534 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004481/0.7837, allocations: 246 kB / 0.5537 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.142, allocations: 0 / 0.5537 GB, free: 0.5664 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_KC_res.mat does not exist to compare? outputFormat=mat