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.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 0.9379/0.9379, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.325e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 25.14 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.574/1.712, allocations: 0.6536 GB / 0.8288 GB, free: 33.77 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/1.712, allocations: 64.84 kB / 0.8289 GB, free: 33.74 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2358/1.948, allocations: 37.46 MB / 0.8654 GB, free: 60.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.241e-06/1.948, allocations: 0 / 0.8654 GB, free: 60.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.854e-06/1.948, allocations: 4.156 kB / 0.8654 GB, free: 60.73 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005333/1.949, allocations: 406.6 kB / 0.8658 GB, free: 60.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.949, allocations: 9.312 kB / 0.8658 GB, free: 60.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/1.949, allocations: 9.656 kB / 0.8658 GB, free: 60.38 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.949, allocations: 189.5 kB / 0.866 GB, free: 60.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/1.949, allocations: 11.34 kB / 0.866 GB, free: 60.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/1.949, allocations: 9.688 kB / 0.866 GB, free: 60.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/1.949, allocations: 130.5 kB / 0.8662 GB, free: 60.15 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.949, allocations: 0 / 0.8662 GB, free: 60.15 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.949, allocations: 4.875 kB / 0.8662 GB, free: 60.15 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.295e-06/1.949, allocations: 6.266 kB / 0.8662 GB, free: 60.15 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/1.95, allocations: 165.3 kB / 0.8663 GB, free: 60.15 MB / 234.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.001047/1.951, allocations: 0.5901 MB / 0.8669 GB, free: 59.72 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/1.951, allocations: 161.1 kB / 0.8671 GB, free: 59.7 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/1.951, allocations: 47.67 kB / 0.8671 GB, free: 59.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.952, allocations: 1.04 MB / 0.8681 GB, free: 58.66 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/1.952, allocations: 35.67 kB / 0.8682 GB, free: 58.62 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.491e-06/1.952, allocations: 2.25 kB / 0.8682 GB, free: 58.62 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.004734/1.957, allocations: 1.061 MB / 0.8692 GB, free: 58.14 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.957, allocations: 54.06 kB / 0.8693 GB, free: 58.07 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/1.957, allocations: 106.2 kB / 0.8694 GB, free: 57.98 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.957, allocations: 26.69 kB / 0.8694 GB, free: 57.95 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/1.957, allocations: 170 kB / 0.8695 GB, free: 57.79 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/1.958, allocations: 69.88 kB / 0.8696 GB, free: 57.76 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.958, allocations: 4.5 kB / 0.8696 GB, free: 57.76 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/1.958, allocations: 323.9 kB / 0.8699 GB, free: 57.44 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.958, allocations: 48.81 kB / 0.87 GB, free: 57.44 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/1.958, allocations: 80.69 kB / 0.87 GB, free: 57.41 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.958, allocations: 50.41 kB / 0.8701 GB, free: 57.41 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-06/1.958, allocations: 0 / 0.8701 GB, free: 57.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004559/1.958, allocations: 200.8 kB / 0.8703 GB, free: 57.36 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.959, allocations: 6.625 kB / 0.8703 GB, free: 57.36 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-06/1.959, allocations: 3.938 kB / 0.8703 GB, free: 57.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/1.959, allocations: 32.36 kB / 0.8703 GB, free: 57.35 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/1.959, allocations: 51.28 kB / 0.8704 GB, free: 57.35 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002985/1.959, allocations: 0.5339 MB / 0.8709 GB, free: 56.83 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/1.959, allocations: 9.781 kB / 0.8709 GB, free: 56.83 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.959, allocations: 9.938 kB / 0.8709 GB, free: 56.83 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" 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" 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 () * 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.0001687/1.96, allocations: 136.3 kB / 0.871 GB, free: 56.72 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/1.96, allocations: 11.08 kB / 0.8711 GB, free: 56.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/1.96, allocations: 230.3 kB / 0.8713 GB, free: 56.65 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-06/1.96, allocations: 3.969 kB / 0.8713 GB, free: 56.65 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.96, allocations: 0 / 0.8713 GB, free: 56.65 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.96, allocations: 3.516 kB / 0.8713 GB, free: 56.65 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/1.961, allocations: 0.5325 MB / 0.8718 GB, free: 56.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/1.961, allocations: 3.875 kB / 0.8718 GB, free: 56.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.962, allocations: 43.27 kB / 0.8718 GB, free: 56.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/1.962, allocations: 26.81 kB / 0.8719 GB, free: 56.31 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/1.962, allocations: 7.562 kB / 0.8719 GB, free: 56.31 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007546/1.962, allocations: 1.266 MB / 0.8731 GB, free: 55.06 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.973e-06/1.962, allocations: 0 / 0.8731 GB, free: 55.06 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/1.963, allocations: 389.6 kB / 0.8735 GB, free: 54.84 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/1.963, allocations: 110.4 kB / 0.8736 GB, free: 54.74 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/1.963, allocations: 3.781 kB / 0.8736 GB, free: 54.74 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.963, allocations: 5.531 kB / 0.8736 GB, free: 54.74 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/1.963, allocations: 17.64 kB / 0.8736 GB, free: 54.74 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/1.963, allocations: 11.39 kB / 0.8736 GB, free: 54.74 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.61e-05/1.964, allocations: 91.97 kB / 0.8737 GB, free: 54.66 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.8e-07/1.964, allocations: 3.531 kB / 0.8737 GB, free: 54.66 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000856/1.964, allocations: 194.2 kB / 0.8739 GB, free: 54.64 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.001362/1.966, allocations: 0.685 MB / 0.8746 GB, free: 54.51 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004107/1.966, allocations: 153.8 kB / 0.8747 GB, free: 54.5 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.252e-06/1.966, allocations: 0 / 0.8747 GB, free: 54.5 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/1.967, allocations: 192.8 kB / 0.8749 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/1.967, allocations: 44.75 kB / 0.875 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/1.968, allocations: 335.8 kB / 0.8753 GB, free: 54.23 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.968, allocations: 0.7086 MB / 0.876 GB, free: 53.54 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/1.968, allocations: 30.45 kB / 0.876 GB, free: 53.53 MB / 234.7 MB Notification: Performance of SimCode: time 1.547e-06/1.968, allocations: 3 kB / 0.876 GB, free: 53.53 MB / 234.7 MB Notification: Performance of Templates: time 0.01217/1.98, allocations: 7.654 MB / 0.8835 GB, free: 52.76 MB / 234.7 MB