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_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_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01437/0.01437, allocations: 165.4 kB / 15.11 MB, free: 5.984 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.787/1.787, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001968/0.001968, allocations: 111.4 kB / 226.2 MB, free: 10.1 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.4604/0.4604, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5444, allocations: 81.06 MB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.5448, allocations: 94.06 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02814/0.5729, allocations: 6.774 MB / 499.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.573, allocations: 7.938 kB / 499.6 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.573, allocations: 0 / 499.6 MB, free: 0.8477 MB / 330.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.0006323/0.5737, allocations: 495 kB / 0.4884 GB, free: 340 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5737, allocations: 12.03 kB / 0.4884 GB, free: 328 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.5738, allocations: 51.36 kB / 0.4885 GB, free: 280 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.5739, allocations: 28.09 kB / 0.4885 GB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.5741, allocations: 209.7 kB / 0.4887 GB, free: 12 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.5741, allocations: 15.25 kB / 0.4887 GB, free: 4 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.5742, allocations: 19.86 kB / 0.4887 GB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.5748, allocations: 234.3 kB / 0.489 GB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5749, allocations: 0 / 0.489 GB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.5749, allocations: 11.09 kB / 0.489 GB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5749, allocations: 4 kB / 0.489 GB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000703/0.5756, allocations: 253.9 kB / 0.4892 GB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.5771, allocations: 0.6279 MB / 0.4898 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.5778, allocations: 127.7 kB / 0.4899 GB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.5778, allocations: 0 / 0.4899 GB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5779, allocations: 34.55 kB / 0.49 GB, free: 14.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.838e-06/0.5779, allocations: 0 / 0.49 GB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009139/0.5788, allocations: 186.2 kB / 0.4902 GB, free: 14.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.5789, allocations: 53.78 kB / 0.4902 GB, free: 14.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.5792, allocations: 235.7 kB / 0.4904 GB, free: 14.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.5793, allocations: 29.64 kB / 0.4905 GB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5794, allocations: 173.2 kB / 0.4906 GB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.5795, allocations: 39.11 kB / 0.4907 GB, free: 14.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.5795, allocations: 7.875 kB / 0.4907 GB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5797, allocations: 326.5 kB / 0.491 GB, free: 13.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.58, allocations: 55.7 kB / 0.491 GB, free: 13.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.5803, allocations: 145.6 kB / 0.4912 GB, free: 13.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.5807, allocations: 72.34 kB / 0.4912 GB, free: 13.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5807, allocations: 8 kB / 0.4912 GB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008296/0.5815, allocations: 251.8 kB / 0.4915 GB, free: 13.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5816, allocations: 4 kB / 0.4915 GB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5816, allocations: 4 kB / 0.4915 GB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.5816, allocations: 8 kB / 0.4915 GB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.5823, allocations: 83.83 kB / 0.4916 GB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.5834, allocations: 1.219 MB / 0.4928 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.5838, allocations: 39.61 kB / 0.4928 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.5839, allocations: 12 kB / 0.4928 GB, free: 12.05 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 (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.0002023/0.5841, allocations: 130.9 kB / 0.4929 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.5841, allocations: 23.91 kB / 0.493 GB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.5849, allocations: 186.7 kB / 0.4931 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5849, allocations: 3.953 kB / 0.4932 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.585, allocations: 0 / 0.4932 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.585, allocations: 7.984 kB / 0.4932 GB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.586, allocations: 456.2 kB / 0.4936 GB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.586, allocations: 3.984 kB / 0.4936 GB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.5866, allocations: 59.89 kB / 0.4937 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5866, allocations: 7.953 kB / 0.4937 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5866, allocations: 0 / 0.4937 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/0.5876, allocations: 1.216 MB / 0.4949 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5876, allocations: 3.953 kB / 0.4949 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.5883, allocations: 272.9 kB / 0.4951 GB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5884, allocations: 108.8 kB / 0.4952 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.5885, allocations: 3.953 kB / 0.4952 GB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.5888, allocations: 15.42 kB / 0.4952 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.5888, allocations: 4 kB / 0.4952 GB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.5889, allocations: 7.984 kB / 0.4952 GB, free: 9.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.5891, allocations: 182.2 kB / 0.4954 GB, free: 9.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5892, allocations: 0 / 0.4954 GB, free: 9.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005741/0.5897, allocations: 74.05 kB / 0.4955 GB, free: 9.297 MB / 346.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.0015/0.5913, allocations: 1.035 MB / 0.4965 GB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.5922, allocations: 171.6 kB / 0.4967 GB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.5923, allocations: 0 / 0.4967 GB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.5928, allocations: 79.45 kB / 0.4967 GB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.5932, allocations: 30 kB / 0.4968 GB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.5975, allocations: 3.478 MB / 0.5002 GB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.598, allocations: 0.7404 MB / 0.5009 GB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000168/0.5982, allocations: 25.83 kB / 0.5009 GB, free: 3.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5983, allocations: 64.58 kB / 0.501 GB, free: 3.773 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5983, allocations: 4 kB / 0.501 GB, free: 3.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.6363, allocations: 6.088 MB / 0.5069 GB, free: 13.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.6367, allocations: 253.8 kB / 0.5072 GB, free: 13.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.591, allocations: 0 / 0.5072 GB, free: 13.47 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_KC_res.mat does not exist to compare? outputFormat=mat