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.9577/0.9577, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002627, allocations: 11.94 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04555/0.04583, allocations: 25.16 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/1.594, allocations: 0.6537 GB / 0.8329 GB, free: 10.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.594, allocations: 63.97 kB / 0.8329 GB, free: 10.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2729/1.867, allocations: 37.61 MB / 0.8697 GB, free: 68.52 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.463e-06/1.867, allocations: 0 / 0.8697 GB, free: 68.52 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.061e-06/1.867, allocations: 0 / 0.8697 GB, free: 68.52 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.0004883/1.868, allocations: 415.7 kB / 0.8701 GB, free: 68.06 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/1.868, allocations: 8.031 kB / 0.8701 GB, free: 68.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/1.868, allocations: 15.86 kB / 0.8701 GB, free: 68.04 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.868, allocations: 187 kB / 0.8703 GB, free: 67.81 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.868, allocations: 12.19 kB / 0.8703 GB, free: 67.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/1.868, allocations: 7.906 kB / 0.8703 GB, free: 67.79 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/1.868, allocations: 139.1 kB / 0.8704 GB, free: 67.65 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.868, allocations: 3.984 kB / 0.8704 GB, free: 67.65 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/1.868, allocations: 4 kB / 0.8704 GB, free: 67.64 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-06/1.868, allocations: 7.953 kB / 0.8704 GB, free: 67.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/1.869, allocations: 160.5 kB / 0.8706 GB, free: 67.48 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.0009402/1.87, allocations: 0.5879 MB / 0.8711 GB, free: 66.81 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/1.87, allocations: 154.5 kB / 0.8713 GB, free: 66.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009757/1.871, allocations: 1.042 MB / 0.8723 GB, free: 65.44 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/1.871, allocations: 38.55 kB / 0.8723 GB, free: 65.39 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.64e-06/1.871, allocations: 0 / 0.8723 GB, free: 65.39 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.004918/1.876, allocations: 1.221 MB / 0.8735 GB, free: 64.05 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/1.876, allocations: 55.41 kB / 0.8736 GB, free: 63.99 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/1.876, allocations: 104.9 kB / 0.8737 GB, free: 63.88 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/1.876, allocations: 29.7 kB / 0.8737 GB, free: 63.84 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/1.876, allocations: 162.6 kB / 0.8739 GB, free: 63.68 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/1.876, allocations: 78.88 kB / 0.874 GB, free: 63.61 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/1.876, allocations: 4 kB / 0.874 GB, free: 63.6 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/1.876, allocations: 326.8 kB / 0.8743 GB, free: 63.27 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/1.876, allocations: 40.36 kB / 0.8743 GB, free: 63.23 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.877, allocations: 83.34 kB / 0.8744 GB, free: 63.14 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/1.877, allocations: 62.98 kB / 0.8744 GB, free: 63.08 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-06/1.877, allocations: 0 / 0.8744 GB, free: 63.08 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004096/1.877, allocations: 202.2 kB / 0.8746 GB, free: 62.88 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.877, allocations: 4 kB / 0.8746 GB, free: 62.87 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.244e-06/1.877, allocations: 0 / 0.8746 GB, free: 62.87 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/1.877, allocations: 24.84 kB / 0.8747 GB, free: 62.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/1.878, allocations: 51.91 kB / 0.8747 GB, free: 62.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002983/1.878, allocations: 0.5368 MB / 0.8752 GB, free: 62.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/1.878, allocations: 8 kB / 0.8752 GB, free: 62.22 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/1.878, allocations: 8 kB / 0.8753 GB, free: 62.21 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" 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.0002203/1.878, allocations: 144 kB / 0.8754 GB, free: 62.06 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/1.878, allocations: 15.84 kB / 0.8754 GB, free: 62.05 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/1.879, allocations: 231.3 kB / 0.8756 GB, free: 61.81 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-06/1.879, allocations: 0 / 0.8756 GB, free: 61.81 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.065e-06/1.879, allocations: 4 kB / 0.8756 GB, free: 61.8 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-06/1.879, allocations: 0 / 0.8756 GB, free: 61.8 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008186/1.88, allocations: 0.5445 MB / 0.8762 GB, free: 61.19 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-06/1.88, allocations: 0 / 0.8762 GB, free: 61.19 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/1.88, allocations: 43.97 kB / 0.8762 GB, free: 61.15 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/1.88, allocations: 24.78 kB / 0.8762 GB, free: 61.12 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.88, allocations: 7.984 kB / 0.8762 GB, free: 61.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/1.881, allocations: 1.269 MB / 0.8775 GB, free: 59.71 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-06/1.881, allocations: 7.969 kB / 0.8775 GB, free: 59.7 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/1.882, allocations: 386 kB / 0.8779 GB, free: 59.28 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/1.882, allocations: 112.9 kB / 0.878 GB, free: 59.15 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/1.882, allocations: 8 kB / 0.878 GB, free: 59.14 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.882, allocations: 7.984 kB / 0.878 GB, free: 59.14 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/1.882, allocations: 23.98 kB / 0.878 GB, free: 59.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.882, allocations: 11.98 kB / 0.878 GB, free: 59.1 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.633e-05/1.882, allocations: 83.28 kB / 0.8781 GB, free: 59.02 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.71e-07/1.882, allocations: 7.875 kB / 0.8781 GB, free: 59.01 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000861/1.883, allocations: 187.8 kB / 0.8783 GB, free: 58.83 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 (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.001369/1.884, allocations: 0.6955 MB / 0.879 GB, free: 58.12 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/1.885, allocations: 147.8 kB / 0.8791 GB, free: 57.98 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.652e-06/1.885, allocations: 0 / 0.8791 GB, free: 57.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/1.885, allocations: 192.4 kB / 0.8793 GB, free: 57.78 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/1.886, allocations: 47.25 kB / 0.8793 GB, free: 57.73 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/1.886, allocations: 0.5722 MB / 0.8799 GB, free: 57.12 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/1.887, allocations: 0.7166 MB / 0.8806 GB, free: 56.38 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/1.887, allocations: 27.42 kB / 0.8806 GB, free: 56.35 MB / 234.7 MB Notification: Performance of SimCode: time 1.34e-06/1.887, allocations: 0 / 0.8806 GB, free: 56.35 MB / 234.7 MB Notification: Performance of Templates: time 0.01175/1.898, allocations: 7.7 MB / 0.8881 GB, free: 48.65 MB / 234.7 MB