Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004711, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3486, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7156/1.064, allocations: 237.1 MB / 0.5922 GB, free: 10.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/1.065, allocations: 106.6 kB / 0.5923 GB, free: 10.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83/2.895, allocations: 286.1 MB / 0.8717 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.417e-06/2.895, allocations: 0 / 0.8717 GB, free: 106.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001069/2.895, allocations: 15.22 kB / 0.8717 GB, free: 106.5 MB / 490.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.007629/2.902, allocations: 1.6 MB / 0.8733 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/2.902, allocations: 7.906 kB / 0.8733 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004936/2.903, allocations: 108.4 kB / 0.8734 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/2.905, allocations: 132.2 kB / 0.8735 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/2.908, allocations: 0.5607 MB / 0.8741 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/2.908, allocations: 108.5 kB / 0.8742 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/2.909, allocations: 50.61 kB / 0.8742 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/2.912, allocations: 0.8118 MB / 0.875 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/2.912, allocations: 8.344 kB / 0.875 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/2.912, allocations: 24.08 kB / 0.875 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/2.912, allocations: 39.36 kB / 0.8751 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/2.915, allocations: 0.5763 MB / 0.8756 GB, free: 105.4 MB / 490.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.01086/2.926, allocations: 4.418 MB / 0.88 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/2.928, allocations: 313.4 kB / 0.8803 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/2.928, allocations: 346.3 kB / 0.8806 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/2.928, allocations: 37.44 kB / 0.8806 GB, free: 101.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 4.669e-06/2.928, allocations: 1.219 kB / 0.8806 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.009033/2.938, allocations: 1.496 MB / 0.8821 GB, free: 101.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/2.938, allocations: 132.1 kB / 0.8822 GB, free: 101.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/2.939, allocations: 0.5664 MB / 0.8828 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/2.939, allocations: 32.02 kB / 0.8828 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/2.939, allocations: 438.1 kB / 0.8832 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/2.939, allocations: 127.3 kB / 0.8833 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/2.939, allocations: 16.38 kB / 0.8833 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/2.94, allocations: 337.4 kB / 0.8837 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/2.94, allocations: 205.8 kB / 0.8839 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/2.941, allocations: 0.5227 MB / 0.8844 GB, free: 99.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/2.941, allocations: 298.5 kB / 0.8847 GB, free: 99.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/2.942, allocations: 5.75 kB / 0.8847 GB, free: 99.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002094/2.944, allocations: 0.8428 MB / 0.8855 GB, free: 99.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/2.944, allocations: 11.16 kB / 0.8855 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/2.944, allocations: 16.66 kB / 0.8855 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/2.946, allocations: 274.3 kB / 0.8858 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/2.947, allocations: 131.8 kB / 0.8859 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/2.948, allocations: 1.374 MB / 0.8872 GB, free: 98.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/2.949, allocations: 42.06 kB / 0.8873 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/2.949, allocations: 45.41 kB / 0.8873 GB, free: 98.85 MB / 490.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.0005371/2.95, allocations: 256 kB / 0.8876 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/2.95, allocations: 62.28 kB / 0.8876 GB, free: 98.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/2.952, allocations: 0.6934 MB / 0.8883 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/2.952, allocations: 3.781 kB / 0.8883 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.952, allocations: 0 / 0.8883 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/2.952, allocations: 0 / 0.8883 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/2.955, allocations: 1.206 MB / 0.8895 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/2.955, allocations: 0 / 0.8895 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/2.955, allocations: 43.25 kB / 0.8895 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/2.957, allocations: 198.5 kB / 0.8897 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/2.957, allocations: 24.22 kB / 0.8897 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/2.958, allocations: 1.286 MB / 0.891 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/2.958, allocations: 3.75 kB / 0.891 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/2.96, allocations: 0.8064 MB / 0.8918 GB, free: 96.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/2.961, allocations: 203.2 kB / 0.892 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/2.961, allocations: 8.062 kB / 0.892 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/2.962, allocations: 21.52 kB / 0.892 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.962, allocations: 26.44 kB / 0.892 GB, free: 96.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/2.962, allocations: 24 kB / 0.8921 GB, free: 96.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007873/2.963, allocations: 439.5 kB / 0.8925 GB, free: 96.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.963, allocations: 6.469 kB / 0.8925 GB, free: 96.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001955/2.965, allocations: 366.7 kB / 0.8928 GB, free: 96.7 MB / 490.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.003661/2.968, allocations: 1.816 MB / 0.8946 GB, free: 95.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/2.97, allocations: 0.5261 MB / 0.8951 GB, free: 95.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.97, allocations: 3.172 kB / 0.8951 GB, free: 95.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000743/2.971, allocations: 213.8 kB / 0.8953 GB, free: 95.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/2.973, allocations: 296.5 kB / 0.8956 GB, free: 95.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/2.986, allocations: 11.37 MB / 0.9067 GB, free: 87.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/2.986, allocations: 0.9464 MB / 0.9076 GB, free: 86.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/2.987, allocations: 240.4 kB / 0.9079 GB, free: 86.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/2.987, allocations: 3.75 kB / 0.9079 GB, free: 86.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.399/6.386, allocations: 21.11 MB / 0.9285 GB, free: 85.83 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat