Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 1.709/1.709, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08853, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.099/2.188, allocations: 0.7129 GB / 0.9791 GB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/2.188, allocations: 79.33 kB / 0.9792 GB, free: 7.746 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.3839/2.572, allocations: 40.35 MB / 1.019 GB, free: 122.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.572, allocations: 4 kB / 1.019 GB, free: 122.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/2.572, allocations: 4 kB / 1.019 GB, free: 122.8 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001059/2.573, allocations: 0.5042 MB / 1.019 GB, free: 122.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/2.573, allocations: 12.03 kB / 1.019 GB, free: 122.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/2.579, allocations: 371.8 kB / 1.019 GB, free: 121.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/2.579, allocations: 262.8 kB / 1.02 GB, free: 121.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/2.579, allocations: 12.38 kB / 1.02 GB, free: 121.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/2.579, allocations: 20 kB / 1.02 GB, free: 121.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/2.581, allocations: 481.3 kB / 1.02 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/2.581, allocations: 0 / 1.02 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/2.581, allocations: 8 kB / 1.02 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/2.581, allocations: 7.938 kB / 1.02 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/2.583, allocations: 0.5074 MB / 1.021 GB, free: 120.6 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.003289/2.586, allocations: 0.997 MB / 1.022 GB, free: 119.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/2.587, allocations: 285 kB / 1.022 GB, free: 119.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/2.589, allocations: 0.6631 MB / 1.023 GB, free: 118.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/2.589, allocations: 34.56 kB / 1.023 GB, free: 118.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.507e-06/2.589, allocations: 0 / 1.023 GB, free: 118.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00154/2.59, allocations: 398.7 kB / 1.023 GB, free: 118 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/2.59, allocations: 85.11 kB / 1.023 GB, free: 117.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/2.591, allocations: 113.7 kB / 1.023 GB, free: 117.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/2.591, allocations: 33.7 kB / 1.023 GB, free: 117.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/2.591, allocations: 112.4 kB / 1.023 GB, free: 117.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/2.591, allocations: 114.3 kB / 1.023 GB, free: 117.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/2.591, allocations: 8 kB / 1.023 GB, free: 117.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/2.591, allocations: 318.8 kB / 1.024 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/2.591, allocations: 124.5 kB / 1.024 GB, free: 117.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/2.592, allocations: 199.5 kB / 1.024 GB, free: 116.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/2.592, allocations: 136 kB / 1.024 GB, free: 116.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/2.592, allocations: 3.938 kB / 1.024 GB, free: 116.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001114/2.593, allocations: 370.2 kB / 1.025 GB, free: 116.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/2.593, allocations: 8 kB / 1.025 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.593, allocations: 0 / 1.025 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/2.593, allocations: 8.312 kB / 1.025 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/2.594, allocations: 79.89 kB / 1.025 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/2.594, allocations: 4 kB / 1.025 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/2.595, allocations: 31.73 kB / 1.025 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/2.595, allocations: 16 kB / 1.025 GB, free: 116.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/2.595, allocations: 148.3 kB / 1.025 GB, free: 116 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/2.595, allocations: 15.86 kB / 1.025 GB, free: 116 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/2.596, allocations: 379.5 kB / 1.025 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/2.596, allocations: 4 kB / 1.025 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/2.596, allocations: 0 / 1.025 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.596, allocations: 11.92 kB / 1.025 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/2.597, allocations: 349.6 kB / 1.026 GB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/2.597, allocations: 3.938 kB / 1.026 GB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/2.598, allocations: 63.91 kB / 1.026 GB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/2.598, allocations: 8 kB / 1.026 GB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/2.598, allocations: 11.98 kB / 1.026 GB, free: 115.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/2.598, allocations: 0 / 1.026 GB, free: 115.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.598, allocations: 3.938 kB / 1.026 GB, free: 115.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/2.6, allocations: 0.5497 MB / 1.026 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/2.6, allocations: 92.86 kB / 1.026 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/2.6, allocations: 12.02 kB / 1.026 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/2.601, allocations: 19.98 kB / 1.026 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/2.601, allocations: 15.97 kB / 1.026 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/2.601, allocations: 19.98 kB / 1.026 GB, free: 114.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.113e-05/2.601, allocations: 95.25 kB / 1.026 GB, free: 114.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.601, allocations: 0 / 1.026 GB, free: 114.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001861/2.603, allocations: 255.7 kB / 1.027 GB, free: 114.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002615/2.606, allocations: 0.7608 MB / 1.027 GB, free: 113.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/2.607, allocations: 292.2 kB / 1.028 GB, free: 113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/2.607, allocations: 4.125 kB / 1.028 GB, free: 113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/2.608, allocations: 145 kB / 1.028 GB, free: 112.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/2.609, allocations: 84.42 kB / 1.028 GB, free: 112.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/2.612, allocations: 0.8909 MB / 1.029 GB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/2.612, allocations: 0.7326 MB / 1.03 GB, free: 111.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001378/2.614, allocations: 81.78 kB / 1.03 GB, free: 111 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/2.614, allocations: 35.42 kB / 1.03 GB, free: 111 MB / 362.7 MB Notification: Performance of SimCode: time 2.184e-06/2.614, allocations: 0 / 1.03 GB, free: 111 MB / 362.7 MB Notification: Performance of Templates: time 0.04262/2.657, allocations: 14.44 MB / 1.044 GB, free: 96.56 MB / 362.7 MB