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.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.02e-05, allocations: 4 kB / 309.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 54.85 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.384/2.779, allocations: 0.8221 GB / 1.178 GB, free: 89.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/2.779, allocations: 96.77 kB / 1.178 GB, free: 89.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.884/6.663, allocations: 0.7355 GB / 1.914 GB, free: 65.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/6.663, allocations: 0 / 1.914 GB, free: 65.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.03e-05/6.663, allocations: 26.3 kB / 1.914 GB, free: 65.34 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004967/6.668, allocations: 1.373 MB / 1.915 GB, free: 64.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/6.668, allocations: 7.594 kB / 1.915 GB, free: 64.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/6.668, allocations: 124.1 kB / 1.915 GB, free: 64.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/6.67, allocations: 284.2 kB / 1.916 GB, free: 64.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/6.672, allocations: 0.6934 MB / 1.916 GB, free: 64.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/6.673, allocations: 118.4 kB / 1.916 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/6.673, allocations: 62.72 kB / 1.916 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/6.675, allocations: 1.215 MB / 1.918 GB, free: 64.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/6.675, allocations: 10.78 kB / 1.918 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/6.676, allocations: 36.39 kB / 1.918 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/6.676, allocations: 67.22 kB / 1.918 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/6.678, allocations: 1.008 MB / 1.919 GB, free: 64.01 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008881/6.687, allocations: 4.812 MB / 1.923 GB, free: 61.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/6.688, allocations: 257.3 kB / 1.924 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/6.688, allocations: 132.2 kB / 1.924 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/6.688, allocations: 244.6 kB / 1.924 GB, free: 61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/6.689, allocations: 42.39 kB / 1.924 GB, free: 60.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.457e-06/6.689, allocations: 0 / 1.924 GB, free: 60.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.009249/6.698, allocations: 1.575 MB / 1.926 GB, free: 60.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/6.698, allocations: 140.4 kB / 1.926 GB, free: 60.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/6.699, allocations: 0.8086 MB / 1.927 GB, free: 60 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/6.7, allocations: 29.52 kB / 1.927 GB, free: 59.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/6.7, allocations: 0.615 MB / 1.927 GB, free: 59.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/6.7, allocations: 129.9 kB / 1.927 GB, free: 59.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/6.7, allocations: 21.69 kB / 1.927 GB, free: 59.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/6.7, allocations: 355.1 kB / 1.928 GB, free: 59.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/6.701, allocations: 274.2 kB / 1.928 GB, free: 59.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009936/6.702, allocations: 0.9122 MB / 1.929 GB, free: 58.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/6.703, allocations: 485.8 kB / 1.929 GB, free: 58.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/6.703, allocations: 10.81 kB / 1.929 GB, free: 58.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002787/6.706, allocations: 1.243 MB / 1.931 GB, free: 58.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/6.706, allocations: 12.66 kB / 1.931 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/6.706, allocations: 23.62 kB / 1.931 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/6.708, allocations: 272.4 kB / 1.931 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/6.709, allocations: 234.1 kB / 1.931 GB, free: 58.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/6.711, allocations: 0.8794 MB / 1.932 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/6.712, allocations: 62.86 kB / 1.932 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/6.713, allocations: 98.72 kB / 1.932 GB, free: 57.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000297/6.713, allocations: 190.8 kB / 1.932 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/6.713, allocations: 95.38 kB / 1.932 GB, free: 57.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/6.715, allocations: 455.2 kB / 1.933 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/6.715, allocations: 3.344 kB / 1.933 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/6.715, allocations: 10.06 kB / 1.933 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/6.715, allocations: 3.469 kB / 1.933 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/6.717, allocations: 1.075 MB / 1.934 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/6.717, allocations: 6.688 kB / 1.934 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/6.719, allocations: 180.9 kB / 1.934 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/6.719, allocations: 23.62 kB / 1.934 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/6.719, allocations: 10.72 kB / 1.934 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/6.721, allocations: 2.68 MB / 1.937 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/6.721, allocations: 0 / 1.937 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/6.723, allocations: 0.6717 MB / 1.937 GB, free: 54.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/6.723, allocations: 196 kB / 1.937 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/6.724, allocations: 15.59 kB / 1.938 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/6.724, allocations: 18.77 kB / 1.938 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/6.725, allocations: 28 kB / 1.938 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/6.725, allocations: 21.23 kB / 1.938 GB, free: 54.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001172/6.726, allocations: 0.5932 MB / 1.938 GB, free: 53.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/6.726, allocations: 0 / 1.938 GB, free: 53.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002679/6.729, allocations: 0.5233 MB / 1.939 GB, free: 53.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/6.735, allocations: 2.557 MB / 1.941 GB, free: 52.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002176/6.737, allocations: 0.6852 MB / 1.942 GB, free: 52.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/6.737, allocations: 0 / 1.942 GB, free: 52.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/6.738, allocations: 345.2 kB / 1.942 GB, free: 52.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/6.741, allocations: 373 kB / 1.943 GB, free: 52.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/6.746, allocations: 1.529 MB / 1.944 GB, free: 51.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/6.747, allocations: 1.038 MB / 1.945 GB, free: 51.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/6.748, allocations: 364.4 kB / 1.945 GB, free: 51 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/6.748, allocations: 0 / 1.945 GB, free: 51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.539/10.29, allocations: 31.99 MB / 1.977 GB, free: 31.49 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat