Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007019/0.0007019, allocations: 20 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4218, allocations: 48.69 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6457/1.068, allocations: 230.6 MB / 0.5488 GB, free: 35.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.068, allocations: 93.14 kB / 0.5489 GB, free: 35.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601/2.669, allocations: 281.5 MB / 0.8238 GB, free: 79.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.246e-06/2.669, allocations: 3.938 kB / 0.8238 GB, free: 79.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.661e-05/2.67, allocations: 24.64 kB / 0.8238 GB, free: 79.59 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00524/2.675, allocations: 1.598 MB / 0.8254 GB, free: 78.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/2.675, allocations: 7.906 kB / 0.8254 GB, free: 78.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002875/2.675, allocations: 104.2 kB / 0.8255 GB, free: 78.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/2.676, allocations: 138.2 kB / 0.8256 GB, free: 78.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/2.678, allocations: 0.5547 MB / 0.8262 GB, free: 78.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/2.678, allocations: 100.7 kB / 0.8263 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/2.678, allocations: 55.31 kB / 0.8263 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/2.68, allocations: 0.8121 MB / 0.8271 GB, free: 78.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/2.68, allocations: 6.719 kB / 0.8271 GB, free: 78.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/2.681, allocations: 31.89 kB / 0.8271 GB, free: 78.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/2.681, allocations: 41.09 kB / 0.8272 GB, free: 78.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/2.683, allocations: 0.5709 MB / 0.8277 GB, free: 78.23 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006938/2.69, allocations: 4.415 MB / 0.832 GB, free: 75.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/2.691, allocations: 318.7 kB / 0.8324 GB, free: 75.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/2.691, allocations: 339.8 kB / 0.8327 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/2.691, allocations: 41.88 kB / 0.8327 GB, free: 74.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.407e-06/2.691, allocations: 0 / 0.8327 GB, free: 74.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005867/2.697, allocations: 1.488 MB / 0.8342 GB, free: 74.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/2.697, allocations: 139 kB / 0.8343 GB, free: 74.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/2.698, allocations: 0.5661 MB / 0.8349 GB, free: 73.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/2.698, allocations: 33.3 kB / 0.8349 GB, free: 73.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/2.698, allocations: 436.7 kB / 0.8353 GB, free: 73.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/2.699, allocations: 124.3 kB / 0.8354 GB, free: 73.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/2.699, allocations: 16.78 kB / 0.8354 GB, free: 73.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/2.699, allocations: 342.3 kB / 0.8358 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/2.699, allocations: 200.2 kB / 0.836 GB, free: 73.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/2.7, allocations: 0.5236 MB / 0.8365 GB, free: 72.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/2.701, allocations: 313.3 kB / 0.8368 GB, free: 72.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/2.701, allocations: 3.812 kB / 0.8368 GB, free: 72.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002064/2.703, allocations: 0.8362 MB / 0.8376 GB, free: 72.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/2.703, allocations: 8.5 kB / 0.8376 GB, free: 72.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/2.703, allocations: 17.44 kB / 0.8376 GB, free: 72.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/2.705, allocations: 276 kB / 0.8379 GB, free: 72.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/2.706, allocations: 136.6 kB / 0.838 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/2.707, allocations: 1.367 MB / 0.8393 GB, free: 71.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/2.708, allocations: 36.56 kB / 0.8394 GB, free: 71.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/2.708, allocations: 42 kB / 0.8394 GB, free: 71.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005286/2.709, allocations: 259.7 kB / 0.8397 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/2.709, allocations: 66.09 kB / 0.8397 GB, free: 71.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/2.711, allocations: 0.6894 MB / 0.8404 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/2.711, allocations: 3.625 kB / 0.8404 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.711, allocations: 0 / 0.8404 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/2.711, allocations: 3.703 kB / 0.8404 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/2.714, allocations: 1.209 MB / 0.8416 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.714, allocations: 0 / 0.8416 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/2.714, allocations: 42.95 kB / 0.8416 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/2.715, allocations: 202.1 kB / 0.8418 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/2.715, allocations: 13.7 kB / 0.8418 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/2.717, allocations: 1.293 MB / 0.8431 GB, free: 69.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.717, allocations: 0 / 0.8431 GB, free: 69.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/2.719, allocations: 0.8037 MB / 0.8439 GB, free: 69.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/2.719, allocations: 203.8 kB / 0.8441 GB, free: 69.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/2.719, allocations: 10.28 kB / 0.8441 GB, free: 69.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/2.72, allocations: 19.48 kB / 0.8441 GB, free: 69.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/2.72, allocations: 27.5 kB / 0.8441 GB, free: 69.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/2.72, allocations: 18.41 kB / 0.8441 GB, free: 69.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007557/2.721, allocations: 438.3 kB / 0.8446 GB, free: 69.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.773e-06/2.721, allocations: 0 / 0.8446 GB, free: 69.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001725/2.723, allocations: 368.4 kB / 0.8449 GB, free: 69.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003372/2.726, allocations: 1.847 MB / 0.8467 GB, free: 68.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/2.728, allocations: 0.5175 MB / 0.8472 GB, free: 68.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/2.728, allocations: 0 / 0.8472 GB, free: 68.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/2.728, allocations: 210.3 kB / 0.8474 GB, free: 68.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/2.731, allocations: 286.4 kB / 0.8477 GB, free: 68.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/2.742, allocations: 11.38 MB / 0.8588 GB, free: 59.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/2.742, allocations: 0.9467 MB / 0.8597 GB, free: 58.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/2.743, allocations: 251.6 kB / 0.86 GB, free: 58.95 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/2.743, allocations: 0 / 0.86 GB, free: 58.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.314/6.057, allocations: 21.12 MB / 0.8806 GB, free: 57.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat