Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 0.9481/0.9481, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002646, allocations: 7.984 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04535/0.04564, allocations: 25.17 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.696/0.7417, allocations: 296.5 MB / 480 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.742, allocations: 65.47 kB / 480 MB, free: 8.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2564/0.9984, allocations: 31.15 MB / 0.4992 GB, free: 73.38 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.179e-06/0.9984, allocations: 7.938 kB / 0.4992 GB, free: 73.37 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.9984, allocations: 7.984 kB / 0.4992 GB, free: 73.36 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004/0.9988, allocations: 395.6 kB / 0.4996 GB, free: 72.93 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.9989, allocations: 15.97 kB / 0.4996 GB, free: 72.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.999, allocations: 7.906 kB / 0.4996 GB, free: 72.9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.9991, allocations: 190.9 kB / 0.4998 GB, free: 72.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9991, allocations: 4 kB / 0.4998 GB, free: 72.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.9992, allocations: 8 kB / 0.4998 GB, free: 72.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.9994, allocations: 138.9 kB / 0.4999 GB, free: 72.52 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9995, allocations: 0 / 0.4999 GB, free: 72.52 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.9995, allocations: 8 kB / 0.4999 GB, free: 72.51 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-06/0.9995, allocations: 3.953 kB / 0.4999 GB, free: 72.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.9997, allocations: 95.94 kB / 0.5 GB, free: 72.41 MB / 234.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.0007673/1, allocations: 0.6481 MB / 0.5007 GB, free: 71.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/1.001, allocations: 139.2 kB / 0.5008 GB, free: 71.54 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/1.001, allocations: 0.5785 MB / 0.5014 GB, free: 70.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/1.001, allocations: 34.5 kB / 0.5014 GB, free: 70.78 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.333e-06/1.001, allocations: 4 kB / 0.5014 GB, free: 70.78 MB / 234.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00495/1.006, allocations: 1.193 MB / 0.5026 GB, free: 69.49 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/1.006, allocations: 59.41 kB / 0.5026 GB, free: 69.42 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/1.006, allocations: 101 kB / 0.5027 GB, free: 69.31 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.006, allocations: 25.7 kB / 0.5028 GB, free: 69.28 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/1.006, allocations: 170.7 kB / 0.5029 GB, free: 69.11 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/1.006, allocations: 74.88 kB / 0.503 GB, free: 69.04 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/1.006, allocations: 4 kB / 0.503 GB, free: 69.04 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/1.007, allocations: 322.8 kB / 0.5033 GB, free: 68.71 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/1.007, allocations: 48.17 kB / 0.5033 GB, free: 68.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.007, allocations: 83.77 kB / 0.5034 GB, free: 68.57 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/1.007, allocations: 64.52 kB / 0.5035 GB, free: 68.51 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-06/1.007, allocations: 0 / 0.5035 GB, free: 68.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004621/1.007, allocations: 231.6 kB / 0.5037 GB, free: 68.28 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.007, allocations: 8.625 kB / 0.5037 GB, free: 68.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.676e-06/1.007, allocations: 4 kB / 0.5037 GB, free: 68.27 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/1.008, allocations: 52.83 kB / 0.5038 GB, free: 68.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.008, allocations: 52 kB / 0.5038 GB, free: 68.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003503/1.008, allocations: 0.5641 MB / 0.5044 GB, free: 67.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/1.008, allocations: 8.031 kB / 0.5044 GB, free: 67.56 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/1.009, allocations: 31.98 kB / 0.5044 GB, free: 67.53 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(200.0, 200.0) max = min(6000.0, 6000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (23): * Single equations (assignments): 22 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001928/1.009, allocations: 142.8 kB / 0.5045 GB, free: 67.38 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/1.009, allocations: 11.91 kB / 0.5046 GB, free: 67.37 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/1.01, allocations: 316 kB / 0.5049 GB, free: 67.05 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.013e-06/1.01, allocations: 0 / 0.5049 GB, free: 67.05 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.639e-06/1.01, allocations: 4 kB / 0.5049 GB, free: 67.05 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-06/1.01, allocations: 3.984 kB / 0.5049 GB, free: 67.04 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/1.011, allocations: 0.5699 MB / 0.5054 GB, free: 66.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.011, allocations: 0 / 0.5054 GB, free: 66.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/1.011, allocations: 59.95 kB / 0.5055 GB, free: 66.35 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/1.011, allocations: 24.69 kB / 0.5055 GB, free: 66.32 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/1.011, allocations: 19.98 kB / 0.5055 GB, free: 66.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007396/1.012, allocations: 1.28 MB / 0.5068 GB, free: 64.89 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.941e-06/1.012, allocations: 320 / 0.5068 GB, free: 64.89 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/1.012, allocations: 422.9 kB / 0.5072 GB, free: 64.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/1.012, allocations: 81.02 kB / 0.5072 GB, free: 64.34 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.013, allocations: 11.94 kB / 0.5073 GB, free: 64.32 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/1.013, allocations: 11.91 kB / 0.5073 GB, free: 64.31 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/1.013, allocations: 24.03 kB / 0.5073 GB, free: 64.29 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/1.013, allocations: 31.98 kB / 0.5073 GB, free: 64.26 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/1.013, allocations: 87.2 kB / 0.5074 GB, free: 64.17 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.6e-07/1.013, allocations: 0 / 0.5074 GB, free: 64.17 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007284/1.014, allocations: 151.9 kB / 0.5076 GB, free: 64.02 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (20): * Single equations (assignments): 19 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/1.015, allocations: 0.5972 MB / 0.5081 GB, free: 63.41 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/1.015, allocations: 172.4 kB / 0.5083 GB, free: 63.25 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/1.015, allocations: 0 / 0.5083 GB, free: 63.25 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/1.016, allocations: 198.6 kB / 0.5085 GB, free: 63.04 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/1.016, allocations: 52.22 kB / 0.5085 GB, free: 62.99 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/1.017, allocations: 0.5923 MB / 0.5091 GB, free: 62.36 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/1.017, allocations: 0.7087 MB / 0.5098 GB, free: 61.62 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.017, allocations: 59.41 kB / 0.5099 GB, free: 61.56 MB / 234.7 MB Notification: Performance of SimCode: time 1.44e-06/1.017, allocations: 0 / 0.5099 GB, free: 61.56 MB / 234.7 MB Notification: Performance of Templates: time 0.01058/1.028, allocations: 7.238 MB / 0.5169 GB, free: 54.32 MB / 234.7 MB