Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004144/0.004143, allocations: 362 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.117/4.117, allocations: 388.9 MB / 405.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003518/0.003518, allocations: 227.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5053/0.5053, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000619/0.0006192, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.34/2.444, allocations: 0.7224 GB / 1.402 GB, free: 62.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/2.445, allocations: 79.08 kB / 1.403 GB, free: 62.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/2.57, allocations: 33.5 MB / 1.435 GB, free: 34.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.57, allocations: 0 / 1.435 GB, free: 34.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/2.571, allocations: 0 / 1.435 GB, free: 34.07 MB / 490.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.0006683/2.571, allocations: 426.3 kB / 1.436 GB, free: 33.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/2.571, allocations: 8.031 kB / 1.436 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/2.574, allocations: 181.6 kB / 1.436 GB, free: 33.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/2.574, allocations: 205 kB / 1.436 GB, free: 33.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/2.574, allocations: 8 kB / 1.436 GB, free: 33.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/2.574, allocations: 15.8 kB / 1.436 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/2.575, allocations: 204.5 kB / 1.436 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/2.575, allocations: 0 / 1.436 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/2.575, allocations: 2.875 kB / 1.436 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/2.575, allocations: 8 kB / 1.436 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/2.576, allocations: 212.2 kB / 1.436 GB, free: 32.91 MB / 490.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.001956/2.578, allocations: 0.6154 MB / 1.437 GB, free: 32.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/2.579, allocations: 163.4 kB / 1.437 GB, free: 32.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/2.579, allocations: 89.75 kB / 1.437 GB, free: 32.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/2.579, allocations: 94.97 kB / 1.437 GB, free: 32.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/2.579, allocations: 36.2 kB / 1.437 GB, free: 32.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/2.579, allocations: 3.938 kB / 1.437 GB, free: 32 MB / 490.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.009101/2.588, allocations: 1.467 MB / 1.439 GB, free: 30.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/2.589, allocations: 55.41 kB / 1.439 GB, free: 30.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/2.589, allocations: 109.8 kB / 1.439 GB, free: 30.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/2.589, allocations: 33.7 kB / 1.439 GB, free: 30.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/2.589, allocations: 96.2 kB / 1.439 GB, free: 30.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/2.589, allocations: 75 kB / 1.439 GB, free: 30.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/2.589, allocations: 0 / 1.439 GB, free: 30.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/2.589, allocations: 318.8 kB / 1.44 GB, free: 29.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/2.589, allocations: 83.95 kB / 1.44 GB, free: 29.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/2.59, allocations: 119.7 kB / 1.44 GB, free: 29.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/2.59, allocations: 91.92 kB / 1.44 GB, free: 29.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.59, allocations: 0 / 1.44 GB, free: 29.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009294/2.591, allocations: 258.3 kB / 1.44 GB, free: 29.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.591, allocations: 8 kB / 1.44 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.591, allocations: 0 / 1.44 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/2.591, allocations: 32.88 kB / 1.44 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/2.592, allocations: 55.91 kB / 1.44 GB, free: 29.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003466/2.592, allocations: 0.5367 MB / 1.441 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/2.593, allocations: 4 kB / 1.441 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/2.593, allocations: 8 kB / 1.441 GB, free: 28.59 MB / 490.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 () * 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.0001626/2.593, allocations: 130.7 kB / 1.441 GB, free: 28.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/2.593, allocations: 11.86 kB / 1.441 GB, free: 28.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/2.594, allocations: 299.3 kB / 1.441 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/2.594, allocations: 0 / 1.441 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/2.594, allocations: 0 / 1.441 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/2.594, allocations: 4 kB / 1.441 GB, free: 28.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/2.596, allocations: 0.6628 MB / 1.442 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.596, allocations: 0 / 1.442 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/2.596, allocations: 59.89 kB / 1.442 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/2.596, allocations: 16.84 kB / 1.442 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/2.596, allocations: 8 kB / 1.442 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008843/2.597, allocations: 1.268 MB / 1.443 GB, free: 25.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.597, allocations: 3.984 kB / 1.443 GB, free: 25.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/2.599, allocations: 434 kB / 1.443 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/2.599, allocations: 85.05 kB / 1.444 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/2.599, allocations: 4 kB / 1.444 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/2.599, allocations: 19.88 kB / 1.444 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/2.599, allocations: 20.05 kB / 1.444 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/2.599, allocations: 11.98 kB / 1.444 GB, free: 25.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.537e-05/2.599, allocations: 87.27 kB / 1.444 GB, free: 25.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/2.599, allocations: 0 / 1.444 GB, free: 25.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008898/2.6, allocations: 163.9 kB / 1.444 GB, free: 25.06 MB / 490.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.001475/2.602, allocations: 0.6151 MB / 1.444 GB, free: 24.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009258/2.603, allocations: 218.5 kB / 1.445 GB, free: 24.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.61e-05/2.603, allocations: 0 / 1.445 GB, free: 24.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009621/2.604, allocations: 226.8 kB / 1.445 GB, free: 24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/2.605, allocations: 47.91 kB / 1.445 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/2.606, allocations: 0.5639 MB / 1.445 GB, free: 23.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/2.606, allocations: 0.7049 MB / 1.446 GB, free: 22.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005929/2.607, allocations: 57.55 kB / 1.446 GB, free: 22.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/2.607, allocations: 27.36 kB / 1.446 GB, free: 22.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.607, allocations: 0 / 1.446 GB, free: 22.54 MB / 490.7 MB Notification: Performance of Templates: time 0.02889/2.636, allocations: 11.98 MB / 1.458 GB, free: 10.57 MB / 490.7 MB