Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.01477/0.01477, allocations: 175 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 1.991/1.991, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002116/0.002115, allocations: 136.5 kB / 255.6 MB, free: 10.23 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.2754/0.2754, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007011/0.0007011, allocations: 10.66 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1117, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6226, allocations: 87.44 MB / 0.5357 GB, free: 27.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004879/0.6232, allocations: 97.55 kB / 0.5358 GB, free: 27.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03456/0.6578, allocations: 6.789 MB / 0.5425 GB, free: 27.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6578, allocations: 0.9688 kB / 0.5425 GB, free: 27.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.6579, allocations: 2.031 kB / 0.5425 GB, free: 27.15 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007223/0.6586, allocations: 494.5 kB / 0.5429 GB, free: 26.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6587, allocations: 10.06 kB / 0.543 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.6587, allocations: 55.3 kB / 0.543 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.6588, allocations: 31.08 kB / 0.543 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.6591, allocations: 217.2 kB / 0.5432 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.6591, allocations: 16.12 kB / 0.5433 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.6592, allocations: 20.34 kB / 0.5433 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.6598, allocations: 228.8 kB / 0.5435 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6599, allocations: 0 / 0.5435 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.6599, allocations: 10.09 kB / 0.5435 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.6599, allocations: 9.328 kB / 0.5435 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.6607, allocations: 264.1 kB / 0.5438 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.6621, allocations: 0.6144 MB / 0.5444 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.6627, allocations: 119.8 kB / 0.5445 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.6628, allocations: 5.938 kB / 0.5445 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.6628, allocations: 30.56 kB / 0.5445 GB, free: 26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.386e-06/0.6628, allocations: 1.25 kB / 0.5445 GB, free: 26 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009019/0.6637, allocations: 182.4 kB / 0.5447 GB, free: 25.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.6638, allocations: 61.39 kB / 0.5447 GB, free: 25.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.6641, allocations: 235.6 kB / 0.545 GB, free: 25.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.6642, allocations: 25.7 kB / 0.545 GB, free: 25.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6643, allocations: 173.6 kB / 0.5452 GB, free: 25.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.6643, allocations: 40.62 kB / 0.5452 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.6644, allocations: 8.844 kB / 0.5452 GB, free: 25.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.6645, allocations: 329.6 kB / 0.5455 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.6647, allocations: 54.81 kB / 0.5456 GB, free: 25.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.6651, allocations: 145.6 kB / 0.5457 GB, free: 25.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.6654, allocations: 80.39 kB / 0.5458 GB, free: 25.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6654, allocations: 1 kB / 0.5458 GB, free: 25.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008314/0.6662, allocations: 246.3 kB / 0.546 GB, free: 25.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6663, allocations: 6.438 kB / 0.546 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6663, allocations: 2.844 kB / 0.546 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.6664, allocations: 7.109 kB / 0.546 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.6671, allocations: 83.02 kB / 0.5461 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/0.6679, allocations: 1.22 MB / 0.5473 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6683, allocations: 40.42 kB / 0.5474 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.6684, allocations: 10.59 kB / 0.5474 GB, free: 23.87 MB / 378.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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.6686, allocations: 140.7 kB / 0.5475 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.6686, allocations: 22.09 kB / 0.5475 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.6694, allocations: 179.5 kB / 0.5477 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6694, allocations: 1.062 kB / 0.5477 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6695, allocations: 2.062 kB / 0.5477 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6695, allocations: 0 / 0.5477 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6705, allocations: 463.7 kB / 0.5481 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.6706, allocations: 0 / 0.5481 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.6711, allocations: 62.05 kB / 0.5482 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.6711, allocations: 1.094 kB / 0.5482 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.6712, allocations: 6.031 kB / 0.5482 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006821/0.6718, allocations: 1.212 MB / 0.5494 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.6719, allocations: 11.23 kB / 0.5494 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.6725, allocations: 290 kB / 0.5497 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6726, allocations: 99.05 kB / 0.5498 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.6727, allocations: 1.938 kB / 0.5498 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.673, allocations: 14 kB / 0.5498 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.6731, allocations: 8.156 kB / 0.5498 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.6731, allocations: 6.984 kB / 0.5498 GB, free: 21.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.6734, allocations: 184.8 kB / 0.55 GB, free: 21.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6734, allocations: 0 / 0.55 GB, free: 21.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006574/0.674, allocations: 69.94 kB / 0.55 GB, free: 21.76 MB / 378.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.6754, allocations: 1.029 MB / 0.551 GB, free: 20.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.6765, allocations: 166.6 kB / 0.5512 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6766, allocations: 1.062 kB / 0.5512 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.6771, allocations: 88.97 kB / 0.5513 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.6775, allocations: 35.77 kB / 0.5513 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/0.6826, allocations: 3.481 MB / 0.5547 GB, free: 34.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.6831, allocations: 0.7367 MB / 0.5554 GB, free: 33.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.6833, allocations: 18.47 kB / 0.5555 GB, free: 33.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.6835, allocations: 66.44 kB / 0.5555 GB, free: 33.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6835, allocations: 0 / 0.5555 GB, free: 33.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.7174, allocations: 6.098 MB / 0.5615 GB, free: 32.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.7177, allocations: 253.9 kB / 0.5617 GB, free: 32.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/3.787, allocations: 3.938 kB / 0.5617 GB, free: 32.42 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat