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_roundTube_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.02552/0.02553, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.84/1.84, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002091/0.002091, allocations: 114.5 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.461/0.461, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004822, allocations: 15.98 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 48.7 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5949, allocations: 87.12 MB / 498.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.5953, allocations: 93.94 kB / 498.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06968/0.665, allocations: 11.16 MB / 0.4981 GB, free: 6.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6651, allocations: 0 / 0.4981 GB, free: 6.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.6651, allocations: 4 kB / 0.4981 GB, free: 6.984 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001296/0.6664, allocations: 0.5968 MB / 0.4987 GB, free: 6.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.6665, allocations: 12.03 kB / 0.4987 GB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.6667, allocations: 73.39 kB / 0.4988 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.6668, allocations: 39.53 kB / 0.4988 GB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.6673, allocations: 251.9 kB / 0.4991 GB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.6674, allocations: 25.25 kB / 0.4991 GB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/0.6675, allocations: 38.69 kB / 0.4991 GB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.6688, allocations: 0.5778 MB / 0.4997 GB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.6689, allocations: 7.938 kB / 0.4997 GB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.669, allocations: 17.81 kB / 0.4997 GB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.669, allocations: 16 kB / 0.4997 GB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.6703, allocations: 336.9 kB / 0.5001 GB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.675, allocations: 4.048 MB / 0.504 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.6758, allocations: 115.6 kB / 0.5041 GB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.6759, allocations: 0 / 0.5041 GB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.6759, allocations: 34.5 kB / 0.5041 GB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.676, allocations: 0 / 0.5041 GB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001172/0.6771, allocations: 181.8 kB / 0.5043 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6772, allocations: 51.41 kB / 0.5044 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.678, allocations: 360.7 kB / 0.5047 GB, free: 312 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.678, allocations: 25.7 kB / 0.5047 GB, free: 280 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.6783, allocations: 257.4 kB / 0.505 GB, free: 76 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.6784, allocations: 30.39 kB / 0.505 GB, free: 52 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.6785, allocations: 3.75 kB / 0.505 GB, free: 52 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.6787, allocations: 351.7 kB / 0.5054 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.6791, allocations: 62.92 kB / 0.5054 GB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.6798, allocations: 267.1 kB / 0.5057 GB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.6803, allocations: 98.66 kB / 0.5058 GB, free: 15.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6803, allocations: 8 kB / 0.5058 GB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001424/0.6818, allocations: 356.7 kB / 0.5061 GB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.6818, allocations: 12.11 kB / 0.5061 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.6819, allocations: 12 kB / 0.5061 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.6819, allocations: 12 kB / 0.5061 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.683, allocations: 111.3 kB / 0.5062 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009882/0.684, allocations: 1.22 MB / 0.5074 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.6845, allocations: 70.7 kB / 0.5075 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.6846, allocations: 19.44 kB / 0.5075 GB, free: 13.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002361/0.6848, allocations: 146.3 kB / 0.5077 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.6849, allocations: 35.53 kB / 0.5077 GB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/0.6857, allocations: 188.5 kB / 0.5079 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6857, allocations: 0 / 0.5079 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6858, allocations: 0 / 0.5079 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6858, allocations: 3.953 kB / 0.5079 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.6863, allocations: 269 kB / 0.5081 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6863, allocations: 0 / 0.5081 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.6868, allocations: 51.97 kB / 0.5082 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.6868, allocations: 8 kB / 0.5082 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6869, allocations: 3.984 kB / 0.5082 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/0.6878, allocations: 1.201 MB / 0.5094 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6878, allocations: 0 / 0.5094 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.6885, allocations: 257.1 kB / 0.5096 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.6887, allocations: 112.6 kB / 0.5097 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.6888, allocations: 0 / 0.5097 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.6891, allocations: 19.23 kB / 0.5097 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.6892, allocations: 4 kB / 0.5097 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.6892, allocations: 4 kB / 0.5098 GB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004591/0.6896, allocations: 269.9 kB / 0.51 GB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6897, allocations: 0 / 0.51 GB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009399/0.6906, allocations: 126.9 kB / 0.5101 GB, free: 10.81 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 (7): * Single equations (assignments): 5 * 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.001681/0.6923, allocations: 0.9344 MB / 0.511 GB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.6934, allocations: 199.4 kB / 0.5112 GB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6934, allocations: 0 / 0.5112 GB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.6939, allocations: 71.38 kB / 0.5113 GB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.6944, allocations: 38.53 kB / 0.5113 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.701, allocations: 6.794 MB / 0.518 GB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.7015, allocations: 0.7755 MB / 0.5187 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.7018, allocations: 46.89 kB / 0.5188 GB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.702, allocations: 97.47 kB / 0.5189 GB, free: 2.016 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.702, allocations: 0 / 0.5189 GB, free: 2.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05319/0.7552, allocations: 10.21 MB / 0.5288 GB, free: 7.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004194/0.7557, allocations: 247.1 kB / 0.5291 GB, free: 7.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/4.026, allocations: 0 / 0.5291 GB, free: 7.602 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat