Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.712e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.993/2.269, allocations: 0.7217 GB / 1.071 GB, free: 101.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/2.269, allocations: 78.06 kB / 1.071 GB, free: 101.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09753/2.367, allocations: 32.86 MB / 1.103 GB, free: 68.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.854e-06/2.367, allocations: 0 / 1.103 GB, free: 68.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/2.367, allocations: 4 kB / 1.103 GB, free: 68.25 MB / 474.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.0004523/2.367, allocations: 414.3 kB / 1.104 GB, free: 67.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/2.367, allocations: 15.97 kB / 1.104 GB, free: 67.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/2.369, allocations: 179.7 kB / 1.104 GB, free: 67.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/2.369, allocations: 203 kB / 1.104 GB, free: 67.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/2.369, allocations: 224 / 1.104 GB, free: 67.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/2.37, allocations: 11.95 kB / 1.104 GB, free: 67.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004904/2.37, allocations: 196.2 kB / 1.104 GB, free: 67.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/2.37, allocations: 147.7 kB / 1.105 GB, free: 67.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/2.37, allocations: 4 kB / 1.105 GB, free: 67.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/2.37, allocations: 0 / 1.105 GB, free: 67.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/2.37, allocations: 4 kB / 1.105 GB, free: 67.01 MB / 474.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.001458/2.372, allocations: 0.5869 MB / 1.105 GB, free: 66.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/2.372, allocations: 142.6 kB / 1.105 GB, free: 66.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/2.372, allocations: 88.77 kB / 1.105 GB, free: 66.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/2.373, allocations: 89.09 kB / 1.105 GB, free: 66.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/2.373, allocations: 34.56 kB / 1.105 GB, free: 65.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.974e-06/2.373, allocations: 4 kB / 1.105 GB, free: 65.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.004298/2.377, allocations: 1.002 MB / 1.106 GB, free: 64.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/2.377, allocations: 59.41 kB / 1.107 GB, free: 64.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/2.377, allocations: 101 kB / 1.107 GB, free: 64.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/2.377, allocations: 25.7 kB / 1.107 GB, free: 64.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/2.377, allocations: 170.7 kB / 1.107 GB, free: 64.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/2.377, allocations: 67 kB / 1.107 GB, free: 64.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/2.377, allocations: 0 / 1.107 GB, free: 64.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/2.377, allocations: 314.8 kB / 1.107 GB, free: 64.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/2.377, allocations: 75.98 kB / 1.107 GB, free: 64.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/2.378, allocations: 100.8 kB / 1.107 GB, free: 63.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/2.378, allocations: 82.97 kB / 1.107 GB, free: 63.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/2.378, allocations: 0 / 1.107 GB, free: 63.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005194/2.378, allocations: 230.8 kB / 1.108 GB, free: 63.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/2.378, allocations: 13.12 kB / 1.108 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.422e-06/2.378, allocations: 0 / 1.108 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/2.379, allocations: 24.78 kB / 1.108 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/2.379, allocations: 51.97 kB / 1.108 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002929/2.379, allocations: 0.5406 MB / 1.108 GB, free: 62.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/2.38, allocations: 12.11 kB / 1.108 GB, free: 62.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/2.38, allocations: 8 kB / 1.108 GB, free: 62.95 MB / 474.7 MB 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 9.851e-05/2.38, allocations: 101 kB / 1.108 GB, free: 62.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/2.38, allocations: 11.86 kB / 1.108 GB, free: 62.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/2.38, allocations: 270.3 kB / 1.109 GB, free: 62.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.008e-06/2.381, allocations: 0 / 1.109 GB, free: 62.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.381e-06/2.381, allocations: 4 kB / 1.109 GB, free: 62.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-06/2.381, allocations: 3.984 kB / 1.109 GB, free: 62.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/2.382, allocations: 0.5892 MB / 1.109 GB, free: 61.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-06/2.382, allocations: 0 / 1.109 GB, free: 61.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/2.382, allocations: 47.95 kB / 1.109 GB, free: 61.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/2.382, allocations: 20.84 kB / 1.109 GB, free: 61.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/2.382, allocations: 8.094 kB / 1.109 GB, free: 61.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/2.383, allocations: 1.221 MB / 1.11 GB, free: 60.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.383, allocations: 4.156 kB / 1.11 GB, free: 60.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/2.384, allocations: 436.9 kB / 1.111 GB, free: 60.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/2.384, allocations: 96.98 kB / 1.111 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/2.384, allocations: 0 / 1.111 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/2.384, allocations: 4 kB / 1.111 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/2.384, allocations: 15.97 kB / 1.111 GB, free: 59.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/2.384, allocations: 12 kB / 1.111 GB, free: 59.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/2.384, allocations: 83.27 kB / 1.111 GB, free: 59.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.08e-07/2.384, allocations: 0 / 1.111 GB, free: 59.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007643/2.385, allocations: 151.9 kB / 1.111 GB, free: 59.65 MB / 474.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.001315/2.386, allocations: 0.7064 MB / 1.112 GB, free: 58.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005273/2.387, allocations: 191.8 kB / 1.112 GB, free: 58.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.755e-06/2.387, allocations: 0 / 1.112 GB, free: 58.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/2.387, allocations: 209.6 kB / 1.112 GB, free: 58.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/2.388, allocations: 40.22 kB / 1.112 GB, free: 58.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/2.388, allocations: 329.5 kB / 1.113 GB, free: 58.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/2.389, allocations: 0.7202 MB / 1.113 GB, free: 57.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/2.389, allocations: 23.42 kB / 1.113 GB, free: 57.37 MB / 474.7 MB Notification: Performance of SimCode: time 1.662e-06/2.389, allocations: 0 / 1.113 GB, free: 57.37 MB / 474.7 MB Notification: Performance of Templates: time 0.01122/2.4, allocations: 7.358 MB / 1.121 GB, free: 50 MB / 474.7 MB