Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004183/0.004183, allocations: 347.5 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.754/3.754, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003597/0.003597, allocations: 217.5 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4749/0.4749, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004762, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09588, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.453/2.549, allocations: 0.7092 GB / 1.316 GB, free: 123.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/2.55, allocations: 76.45 kB / 1.316 GB, free: 123.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1166/2.666, allocations: 33.32 MB / 1.348 GB, free: 95.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/2.666, allocations: 4 kB / 1.348 GB, free: 95.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/2.666, allocations: 0 / 1.348 GB, free: 95.74 MB / 442.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.0006292/2.667, allocations: 417.9 kB / 1.349 GB, free: 95.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/2.667, allocations: 8.031 kB / 1.349 GB, free: 95.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/2.67, allocations: 185.5 kB / 1.349 GB, free: 95.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/2.67, allocations: 208.5 kB / 1.349 GB, free: 94.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/2.67, allocations: 4.188 kB / 1.349 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/2.67, allocations: 11.69 kB / 1.349 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/2.671, allocations: 209.9 kB / 1.349 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/2.671, allocations: 0 / 1.349 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/2.671, allocations: 3.625 kB / 1.349 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/2.671, allocations: 4 kB / 1.349 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/2.672, allocations: 222.3 kB / 1.35 GB, free: 94.59 MB / 442.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.001996/2.674, allocations: 0.6199 MB / 1.35 GB, free: 94.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/2.675, allocations: 167.8 kB / 1.35 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/2.675, allocations: 80.39 kB / 1.351 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/2.675, allocations: 95.91 kB / 1.351 GB, free: 93.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/2.675, allocations: 30.56 kB / 1.351 GB, free: 93.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.386e-06/2.675, allocations: 4 kB / 1.351 GB, free: 93.71 MB / 442.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.009019/2.684, allocations: 1.457 MB / 1.352 GB, free: 92.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/2.684, allocations: 59.41 kB / 1.352 GB, free: 92.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/2.684, allocations: 108.3 kB / 1.352 GB, free: 92.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/2.685, allocations: 29.7 kB / 1.352 GB, free: 92.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/2.685, allocations: 102.2 kB / 1.352 GB, free: 92.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/2.685, allocations: 65.5 kB / 1.352 GB, free: 92.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/2.685, allocations: 7 kB / 1.352 GB, free: 92.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/2.685, allocations: 325.7 kB / 1.353 GB, free: 91.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/2.685, allocations: 81.39 kB / 1.353 GB, free: 91.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/2.685, allocations: 116.3 kB / 1.353 GB, free: 91.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/2.686, allocations: 94.67 kB / 1.353 GB, free: 91.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.686, allocations: 0 / 1.353 GB, free: 91.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008564/2.687, allocations: 261.4 kB / 1.353 GB, free: 91.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/2.687, allocations: 12.09 kB / 1.353 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/2.687, allocations: 2.625 kB / 1.353 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/2.687, allocations: 24.53 kB / 1.353 GB, free: 91.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/2.688, allocations: 51.91 kB / 1.353 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003536/2.688, allocations: 0.5349 MB / 1.354 GB, free: 90.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/2.688, allocations: 15.28 kB / 1.354 GB, free: 90.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/2.688, allocations: 7.984 kB / 1.354 GB, free: 90.68 MB / 442.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.0001555/2.689, allocations: 126.5 kB / 1.354 GB, free: 90.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/2.689, allocations: 7.906 kB / 1.354 GB, free: 90.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/2.69, allocations: 301.8 kB / 1.354 GB, free: 90.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/2.69, allocations: 0 / 1.354 GB, free: 90.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/2.69, allocations: 0 / 1.354 GB, free: 90.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/2.69, allocations: 15.94 kB / 1.354 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/2.691, allocations: 0.6369 MB / 1.355 GB, free: 89.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.691, allocations: 0.75 kB / 1.355 GB, free: 89.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/2.692, allocations: 51.58 kB / 1.355 GB, free: 89.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.692, allocations: 20.88 kB / 1.355 GB, free: 89.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/2.692, allocations: 15.31 kB / 1.355 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008486/2.693, allocations: 1.264 MB / 1.356 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.693, allocations: 6.094 kB / 1.356 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/2.694, allocations: 423.7 kB / 1.357 GB, free: 87.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/2.694, allocations: 92.41 kB / 1.357 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/2.694, allocations: 8.125 kB / 1.357 GB, free: 87.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/2.695, allocations: 6.938 kB / 1.357 GB, free: 87.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/2.695, allocations: 23.09 kB / 1.357 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/2.695, allocations: 8 kB / 1.357 GB, free: 87.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.893e-05/2.695, allocations: 89.45 kB / 1.357 GB, free: 87.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/2.695, allocations: 0 / 1.357 GB, free: 87.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008861/2.696, allocations: 165.5 kB / 1.357 GB, free: 87.59 MB / 442.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.001479/2.697, allocations: 0.6261 MB / 1.358 GB, free: 86.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009407/2.698, allocations: 216.3 kB / 1.358 GB, free: 86.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.698, allocations: 8 kB / 1.358 GB, free: 86.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/2.699, allocations: 223.4 kB / 1.358 GB, free: 86.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/2.699, allocations: 44.91 kB / 1.358 GB, free: 86.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/2.701, allocations: 0.5672 MB / 1.359 GB, free: 86.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/2.701, allocations: 0.7165 MB / 1.359 GB, free: 85.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006138/2.701, allocations: 47.73 kB / 1.359 GB, free: 85.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/2.702, allocations: 19.44 kB / 1.359 GB, free: 85.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/2.702, allocations: 0 / 1.359 GB, free: 85.23 MB / 442.7 MB Notification: Performance of Templates: time 0.02493/2.727, allocations: 12.01 MB / 1.371 GB, free: 73.3 MB / 442.7 MB