Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.021/1.021, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002622, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05374/0.05402, allocations: 25.15 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9321/0.9862, allocations: 296.5 MB / 480.5 MB, free: 348 kB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.9865, allocations: 70.16 kB / 480.6 MB, free: 312 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2902/1.277, allocations: 31.17 MB / 0.4997 GB, free: 67.15 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.277, allocations: 0 / 0.4997 GB, free: 67.15 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/1.277, allocations: 4 kB / 0.4997 GB, free: 67.15 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.000519/1.277, allocations: 395.4 kB / 0.5001 GB, free: 66.71 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.277, allocations: 8.031 kB / 0.5001 GB, free: 66.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/1.277, allocations: 7.906 kB / 0.5001 GB, free: 66.7 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/1.278, allocations: 190.9 kB / 0.5003 GB, free: 66.47 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.278, allocations: 12 kB / 0.5003 GB, free: 66.46 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/1.278, allocations: 4 kB / 0.5003 GB, free: 66.46 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.278, allocations: 128.2 kB / 0.5005 GB, free: 66.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.278, allocations: 4 kB / 0.5005 GB, free: 66.31 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/1.278, allocations: 4 kB / 0.5005 GB, free: 66.31 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.278, allocations: 7.953 kB / 0.5005 GB, free: 66.3 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/1.278, allocations: 99.88 kB / 0.5006 GB, free: 66.2 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.0009501/1.279, allocations: 0.6442 MB / 0.5012 GB, free: 65.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/1.28, allocations: 142.7 kB / 0.5013 GB, free: 65.33 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005557/1.28, allocations: 0.5824 MB / 0.5019 GB, free: 64.61 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/1.28, allocations: 38.5 kB / 0.5019 GB, free: 64.57 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/1.28, allocations: 0 / 0.5019 GB, free: 64.57 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.007842/1.288, allocations: 1.199 MB / 0.5031 GB, free: 63.27 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.288, allocations: 55.39 kB / 0.5032 GB, free: 63.21 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/1.288, allocations: 113.8 kB / 0.5033 GB, free: 63.09 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.288, allocations: 29.7 kB / 0.5033 GB, free: 63.05 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/1.288, allocations: 162.7 kB / 0.5034 GB, free: 62.89 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/1.288, allocations: 74.92 kB / 0.5035 GB, free: 62.82 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/1.288, allocations: 8 kB / 0.5035 GB, free: 62.81 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/1.288, allocations: 310.8 kB / 0.5038 GB, free: 62.5 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.289, allocations: 52.16 kB / 0.5039 GB, free: 62.45 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/1.289, allocations: 95.67 kB / 0.504 GB, free: 62.34 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.289, allocations: 65.61 kB / 0.504 GB, free: 62.28 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.289, allocations: 0 / 0.504 GB, free: 62.28 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000582/1.29, allocations: 232.3 kB / 0.5042 GB, free: 62.05 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.29, allocations: 6.969 kB / 0.5043 GB, free: 62.04 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.29, allocations: 4 kB / 0.5043 GB, free: 62.04 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/1.29, allocations: 56.86 kB / 0.5043 GB, free: 61.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.29, allocations: 51.97 kB / 0.5044 GB, free: 61.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004118/1.291, allocations: 0.564 MB / 0.5049 GB, free: 61.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/1.291, allocations: 8.031 kB / 0.5049 GB, free: 61.33 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.291, allocations: 20 kB / 0.5049 GB, free: 61.31 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.0002325/1.291, allocations: 149.5 kB / 0.5051 GB, free: 61.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/1.291, allocations: 7.906 kB / 0.5051 GB, free: 61.15 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/1.292, allocations: 323.8 kB / 0.5054 GB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.292, allocations: 0 / 0.5054 GB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.292, allocations: 0 / 0.5054 GB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.292, allocations: 0 / 0.5054 GB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/1.293, allocations: 0.568 MB / 0.506 GB, free: 60.19 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.293, allocations: 4 kB / 0.506 GB, free: 60.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/1.294, allocations: 59.89 kB / 0.506 GB, free: 60.12 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/1.294, allocations: 24.75 kB / 0.506 GB, free: 60.1 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/1.294, allocations: 15.94 kB / 0.5061 GB, free: 60.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008456/1.295, allocations: 1.28 MB / 0.5073 GB, free: 58.67 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.295, allocations: 0 / 0.5073 GB, free: 58.67 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/1.296, allocations: 386.9 kB / 0.5077 GB, free: 58.27 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/1.296, allocations: 85.05 kB / 0.5078 GB, free: 58.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/1.296, allocations: 11.98 kB / 0.5078 GB, free: 58.15 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.296, allocations: 7.906 kB / 0.5078 GB, free: 58.14 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.296, allocations: 31.98 kB / 0.5078 GB, free: 58.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/1.296, allocations: 24 kB / 0.5078 GB, free: 58.09 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.88e-05/1.296, allocations: 87.27 kB / 0.5079 GB, free: 58 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.296, allocations: 0 / 0.5079 GB, free: 58 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008813/1.297, allocations: 147.9 kB / 0.5081 GB, free: 57.86 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.001359/1.298, allocations: 0.6055 MB / 0.5086 GB, free: 57.24 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005761/1.299, allocations: 175.2 kB / 0.5088 GB, free: 57.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.299, allocations: 0 / 0.5088 GB, free: 57.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.299, allocations: 194.5 kB / 0.509 GB, free: 56.87 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/1.3, allocations: 53.05 kB / 0.509 GB, free: 56.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/1.301, allocations: 0.5878 MB / 0.5096 GB, free: 56.19 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/1.301, allocations: 0.7126 MB / 0.5103 GB, free: 55.45 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/1.301, allocations: 55.42 kB / 0.5104 GB, free: 55.39 MB / 234.7 MB Notification: Performance of SimCode: time 9.52e-07/1.301, allocations: 0 / 0.5104 GB, free: 55.39 MB / 234.7 MB Notification: Performance of Templates: time 0.01445/1.316, allocations: 7.248 MB / 0.5174 GB, free: 48.15 MB / 234.7 MB