Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.009907/0.009907, allocations: 165.6 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.719/1.719, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001939/0.001939, allocations: 107.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.5135/0.5135, allocations: 38.06 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007511/0.0007511, allocations: 15.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1321, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.549, allocations: 83.13 MB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.5494, allocations: 94.72 kB / 494.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03403/0.5835, allocations: 7.827 MB / 0.491 GB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5835, allocations: 3 kB / 0.491 GB, free: 13.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.5836, allocations: 4 kB / 0.491 GB, free: 13.76 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009137/0.5845, allocations: 485.9 kB / 0.4914 GB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5846, allocations: 15.97 kB / 0.4915 GB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.5847, allocations: 55.11 kB / 0.4915 GB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.5848, allocations: 23.72 kB / 0.4915 GB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5851, allocations: 209.9 kB / 0.4917 GB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.5851, allocations: 10.56 kB / 0.4918 GB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.5851, allocations: 18.38 kB / 0.4918 GB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.5857, allocations: 209 kB / 0.492 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5858, allocations: 0 / 0.492 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.5858, allocations: 7.75 kB / 0.492 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.5858, allocations: 4 kB / 0.492 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.5864, allocations: 155.2 kB / 0.4921 GB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.5877, allocations: 0.5831 MB / 0.4927 GB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.5881, allocations: 64.61 kB / 0.4928 GB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.5881, allocations: 11.98 kB / 0.4928 GB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5882, allocations: 34.38 kB / 0.4928 GB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.5882, allocations: 0 / 0.4928 GB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008974/0.5891, allocations: 311.4 kB / 0.4931 GB, free: 11.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5892, allocations: 55.41 kB / 0.4932 GB, free: 11.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.5895, allocations: 226.9 kB / 0.4934 GB, free: 11.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.5896, allocations: 25.7 kB / 0.4934 GB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5897, allocations: 164.4 kB / 0.4935 GB, free: 11.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.5898, allocations: 19 kB / 0.4936 GB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.5898, allocations: 0 / 0.4936 GB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.59, allocations: 332.7 kB / 0.4939 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.5902, allocations: 46.16 kB / 0.4939 GB, free: 10.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.5905, allocations: 136.2 kB / 0.4941 GB, free: 10.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.5908, allocations: 57.8 kB / 0.4941 GB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5908, allocations: 0 / 0.4941 GB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007346/0.5916, allocations: 216.2 kB / 0.4943 GB, free: 10.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.5916, allocations: 5.531 kB / 0.4943 GB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/0.5917, allocations: 16 kB / 0.4943 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.5918, allocations: 4 kB / 0.4943 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.592, allocations: 39.91 kB / 0.4944 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.5921, allocations: 4 kB / 0.4944 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5923, allocations: 39.17 kB / 0.4944 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5924, allocations: 12 kB / 0.4944 GB, free: 10.32 MB / 346.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001776/0.5925, allocations: 134 kB / 0.4946 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.5926, allocations: 15.81 kB / 0.4946 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.5933, allocations: 157.8 kB / 0.4947 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5934, allocations: 4.031 kB / 0.4947 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5934, allocations: 4 kB / 0.4947 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5934, allocations: 0 / 0.4947 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.5938, allocations: 224.8 kB / 0.495 GB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.5938, allocations: 11.44 kB / 0.495 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5939, allocations: 11.98 kB / 0.495 GB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.594, allocations: 4 kB / 0.495 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.594, allocations: 0 / 0.495 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.594, allocations: 192 / 0.495 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.594, allocations: 4 kB / 0.495 GB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.5946, allocations: 220.1 kB / 0.4952 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5947, allocations: 92.88 kB / 0.4953 GB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5948, allocations: 3.062 kB / 0.4953 GB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.5949, allocations: 11.98 kB / 0.4953 GB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.595, allocations: 4 kB / 0.4953 GB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.595, allocations: 0 / 0.4953 GB, free: 9.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.5953, allocations: 186 kB / 0.4955 GB, free: 9.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5953, allocations: 0 / 0.4955 GB, free: 9.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006459/0.596, allocations: 83.67 kB / 0.4956 GB, free: 9.168 MB / 346.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001491/0.5975, allocations: 0.8501 MB / 0.4964 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007754/0.5983, allocations: 183.3 kB / 0.4966 GB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5983, allocations: 0 / 0.4966 GB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.5987, allocations: 110.3 kB / 0.4967 GB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5991, allocations: 20.08 kB / 0.4967 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.6032, allocations: 3.351 MB / 0.5 GB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.6037, allocations: 0.7323 MB / 0.5007 GB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.6038, allocations: 17.55 kB / 0.5007 GB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6039, allocations: 59.66 kB / 0.5007 GB, free: 3.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.604, allocations: 0 / 0.5007 GB, free: 3.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.6412, allocations: 6.649 MB / 0.5072 GB, free: 13.39 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003915/0.6417, allocations: 246.5 kB / 0.5075 GB, free: 13.06 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.523, allocations: 0 / 0.5075 GB, free: 13.06 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat