Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 12 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08218, allocations: 38.76 MB / 272.6 MB, free: 11.57 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.387/2.47, allocations: 0.7217 GB / 0.9879 GB, free: 106.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/2.47, allocations: 70.45 kB / 0.988 GB, free: 106.1 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.361/2.831, allocations: 107.1 MB / 1.093 GB, free: 36.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/2.831, allocations: 0 / 1.093 GB, free: 36.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/2.831, allocations: 4 kB / 1.093 GB, free: 36.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003498/2.835, allocations: 0.7796 MB / 1.093 GB, free: 35.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/2.835, allocations: 8.031 kB / 1.093 GB, free: 35.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/2.838, allocations: 247.9 kB / 1.094 GB, free: 35.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/2.838, allocations: 286.6 kB / 1.094 GB, free: 35.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/2.838, allocations: 16.56 kB / 1.094 GB, free: 35.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/2.838, allocations: 35.92 kB / 1.094 GB, free: 35.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/2.841, allocations: 0.6563 MB / 1.095 GB, free: 34.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/2.841, allocations: 0 / 1.095 GB, free: 34.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/2.841, allocations: 12 kB / 1.095 GB, free: 34.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/2.841, allocations: 16.42 kB / 1.095 GB, free: 34.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/2.844, allocations: 0.7516 MB / 1.095 GB, free: 33.62 MB / 362.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.005609/2.849, allocations: 1.803 MB / 1.097 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/2.852, allocations: 472 kB / 1.097 GB, free: 31.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/2.854, allocations: 0.9313 MB / 1.098 GB, free: 30.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/2.854, allocations: 39.44 kB / 1.098 GB, free: 30.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/2.854, allocations: 0 / 1.098 GB, free: 30.12 MB / 362.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02313/2.877, allocations: 3.564 MB / 1.102 GB, free: 26.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/2.877, allocations: 85.05 kB / 1.102 GB, free: 26.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/2.877, allocations: 175.9 kB / 1.102 GB, free: 26.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/2.878, allocations: 37.7 kB / 1.102 GB, free: 26.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/2.878, allocations: 172.1 kB / 1.102 GB, free: 25.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/2.878, allocations: 177.5 kB / 1.103 GB, free: 25.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/2.878, allocations: 16 kB / 1.103 GB, free: 25.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/2.878, allocations: 334.8 kB / 1.103 GB, free: 25.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/2.879, allocations: 261.1 kB / 1.103 GB, free: 25.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/2.881, allocations: 418.1 kB / 1.104 GB, free: 24.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/2.882, allocations: 313 kB / 1.104 GB, free: 24.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/2.882, allocations: 0 / 1.104 GB, free: 24.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003333/2.886, allocations: 0.7692 MB / 1.105 GB, free: 23.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/2.886, allocations: 8.938 kB / 1.105 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/2.886, allocations: 7.984 kB / 1.105 GB, free: 23.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/2.886, allocations: 58.22 kB / 1.105 GB, free: 23.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/2.888, allocations: 187.7 kB / 1.105 GB, free: 23.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/2.888, allocations: 1.077 MB / 1.106 GB, free: 22.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/2.89, allocations: 51.8 kB / 1.106 GB, free: 22.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/2.89, allocations: 35.98 kB / 1.106 GB, free: 22.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003391/2.89, allocations: 165.7 kB / 1.106 GB, free: 21.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/2.89, allocations: 35.8 kB / 1.106 GB, free: 21.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/2.894, allocations: 0.7807 MB / 1.107 GB, free: 21.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/2.894, allocations: 4 kB / 1.107 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/2.894, allocations: 4 kB / 1.107 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/2.894, allocations: 0 / 1.107 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/2.899, allocations: 1.565 MB / 1.108 GB, free: 19.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/2.899, allocations: 4.219 kB / 1.108 GB, free: 19.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/2.901, allocations: 151.8 kB / 1.109 GB, free: 19.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/2.902, allocations: 41.62 kB / 1.109 GB, free: 19.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/2.902, allocations: 27.97 kB / 1.109 GB, free: 19.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/2.903, allocations: 2.541 MB / 1.111 GB, free: 16.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.903, allocations: 7.938 kB / 1.111 GB, free: 16.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/2.908, allocations: 1.072 MB / 1.112 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/2.908, allocations: 96.83 kB / 1.112 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/2.908, allocations: 12 kB / 1.112 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/2.909, allocations: 40 kB / 1.112 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/2.909, allocations: 43.84 kB / 1.112 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/2.91, allocations: 35.97 kB / 1.112 GB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/2.91, allocations: 127.2 kB / 1.113 GB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.91, allocations: 0 / 1.113 GB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002215/2.912, allocations: 423.7 kB / 1.113 GB, free: 14.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004429/2.916, allocations: 1.144 MB / 1.114 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003405/2.92, allocations: 0.6587 MB / 1.115 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/2.92, allocations: 4 kB / 1.115 GB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/2.922, allocations: 0.5373 MB / 1.115 GB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/2.923, allocations: 88.91 kB / 1.115 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/2.927, allocations: 1.209 MB / 1.116 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/2.927, allocations: 0.7969 MB / 1.117 GB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002088/2.929, allocations: 187.1 kB / 1.117 GB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/2.93, allocations: 67.33 kB / 1.118 GB, free: 9.617 MB / 362.7 MB Notification: Performance of SimCode: time 1.402e-06/2.93, allocations: 0 / 1.118 GB, free: 9.617 MB / 362.7 MB Notification: Performance of Templates: time 0.3128/3.242, allocations: 23.45 MB / 1.14 GB, free: 92.36 MB / 362.7 MB