Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.01462/0.01462, allocations: 164.7 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.781/1.781, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.00201/0.002009, allocations: 115 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.4563/0.4563, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.198, allocations: 341.5 MB / 0.7355 GB, free: 6.113 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.199, allocations: 95.66 kB / 0.7356 GB, free: 6.062 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7059/1.904, allocations: 129.9 MB / 0.8625 GB, free: 50.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.904, allocations: 0 / 0.8625 GB, free: 50.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.235e-05/1.905, allocations: 20.16 kB / 0.8625 GB, free: 50.35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002952/1.908, allocations: 0.9704 MB / 0.8634 GB, free: 49.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.908, allocations: 8.031 kB / 0.8634 GB, free: 49.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003223/1.908, allocations: 98.5 kB / 0.8635 GB, free: 49.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/1.908, allocations: 87.14 kB / 0.8636 GB, free: 49.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.91, allocations: 0.5513 MB / 0.8641 GB, free: 48.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.91, allocations: 108.4 kB / 0.8643 GB, free: 48.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.91, allocations: 48 kB / 0.8643 GB, free: 48.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.912, allocations: 0.8075 MB / 0.8651 GB, free: 47.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/1.912, allocations: 11.94 kB / 0.8651 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/1.912, allocations: 27.98 kB / 0.8651 GB, free: 47.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/1.913, allocations: 32.98 kB / 0.8652 GB, free: 47.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.914, allocations: 0.6204 MB / 0.8658 GB, free: 46.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006568/1.921, allocations: 4.019 MB / 0.8697 GB, free: 42.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/1.922, allocations: 335.3 kB / 0.87 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/1.925, allocations: 1.772 MB / 0.8717 GB, free: 40.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.925, allocations: 46.5 kB / 0.8718 GB, free: 40.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.394e-06/1.925, allocations: 0 / 0.8718 GB, free: 40.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004467/1.929, allocations: 1.205 MB / 0.873 GB, free: 38.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.929, allocations: 136.5 kB / 0.8731 GB, free: 38.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/1.93, allocations: 0.5577 MB / 0.8736 GB, free: 38.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/1.93, allocations: 29.7 kB / 0.8737 GB, free: 38.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/1.931, allocations: 409.9 kB / 0.8741 GB, free: 37.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.931, allocations: 130.3 kB / 0.8742 GB, free: 37.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/1.931, allocations: 16 kB / 0.8742 GB, free: 37.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.931, allocations: 374.8 kB / 0.8745 GB, free: 37.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/1.931, allocations: 169.9 kB / 0.8747 GB, free: 37.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/1.932, allocations: 0.5771 MB / 0.8753 GB, free: 36.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/1.933, allocations: 291.8 kB / 0.8756 GB, free: 35.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.933, allocations: 4 kB / 0.8756 GB, free: 35.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001871/1.935, allocations: 0.7853 MB / 0.8763 GB, free: 35.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.935, allocations: 12.91 kB / 0.8763 GB, free: 35.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.935, allocations: 16 kB / 0.8764 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/1.935, allocations: 20 kB / 0.8764 GB, free: 35.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.936, allocations: 211.7 kB / 0.8766 GB, free: 34.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.861e-05/1.936, allocations: 27.88 kB / 0.8766 GB, free: 34.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.937, allocations: 43.97 kB / 0.8766 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/1.938, allocations: 48 kB / 0.8767 GB, free: 34.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005195/1.938, allocations: 265.2 kB / 0.8769 GB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/1.938, allocations: 71.11 kB / 0.877 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/1.939, allocations: 418.1 kB / 0.8774 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.939, allocations: 4 kB / 0.8774 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.939, allocations: 8 kB / 0.8774 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.939, allocations: 11.92 kB / 0.8774 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/1.942, allocations: 1.211 MB / 0.8786 GB, free: 32.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.942, allocations: 4 kB / 0.8786 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/1.943, allocations: 67.89 kB / 0.8787 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/1.943, allocations: 41.25 kB / 0.8787 GB, free: 32.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/1.943, allocations: 15.98 kB / 0.8787 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003694/1.943, allocations: 0.564 MB / 0.8793 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.943, allocations: 4 kB / 0.8793 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.945, allocations: 0.8247 MB / 0.8801 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/1.945, allocations: 180.3 kB / 0.8803 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.945, allocations: 8 kB / 0.8803 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/1.946, allocations: 31.95 kB / 0.8803 GB, free: 30.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/1.946, allocations: 31.86 kB / 0.8803 GB, free: 30.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/1.946, allocations: 23.98 kB / 0.8804 GB, free: 30.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007598/1.947, allocations: 427 kB / 0.8808 GB, free: 30.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.947, allocations: 4 kB / 0.8808 GB, free: 30.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001486/1.948, allocations: 219.9 kB / 0.881 GB, free: 30.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * 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 (35): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002616/1.951, allocations: 2.473 MB / 0.8834 GB, free: 27.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/1.952, allocations: 466.2 kB / 0.8838 GB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.952, allocations: 4.188 kB / 0.8838 GB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/1.953, allocations: 167.7 kB / 0.884 GB, free: 26.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.955, allocations: 275.1 kB / 0.8843 GB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.965, allocations: 12.99 MB / 0.897 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/1.965, allocations: 0.9453 MB / 0.8979 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001207/1.966, allocations: 202 kB / 0.8981 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/1.967, allocations: 231.4 kB / 0.8983 GB, free: 11.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/1.967, allocations: 0 / 0.8983 GB, free: 11.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3855/2.352, allocations: 18.66 MB / 0.9165 GB, free: 83.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/2.353, allocations: 285.1 kB / 0.9168 GB, free: 82.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/5.569, allocations: 6.906 kB / 0.9168 GB, free: 82.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat