Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 199.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 55.92 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2089, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3545/0.5634, allocations: 149 MB / 473.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.5663, allocations: 3.126 MB / 476.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.5664, allocations: 3.406 kB / 476.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.5668, allocations: 56.19 kB / 476.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.5685, allocations: 0.9263 MB / 477.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.5689, allocations: 183 kB / 477.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.5693, allocations: 482.8 kB / 478.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.5694, allocations: 12.98 kB / 478.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.5696, allocations: 141.3 kB / 478.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.5697, allocations: 113.7 kB / 478.6 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.5698, allocations: 12.53 kB / 478.7 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.5721, allocations: 1.728 MB / 480.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.5722, allocations: 70.84 kB / 480.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.5723, allocations: 104 kB / 480.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.5736, allocations: 1.114 MB / 481.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5736, allocations: 2.906 kB / 481.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.5736, allocations: 0 / 481.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.5736, allocations: 0 / 481.7 MB, free: 14.2 MB / 398.1 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.0008166/0.5744, allocations: 0.538 MB / 482.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.5745, allocations: 8.031 kB / 482.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.5782, allocations: 383.6 kB / 482.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.5785, allocations: 261 kB / 482.8 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5785, allocations: 14.19 kB / 482.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.5786, allocations: 27.83 kB / 482.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/0.5795, allocations: 496.2 kB / 483.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5795, allocations: 0 / 483.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.5796, allocations: 12.33 kB / 483.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5796, allocations: 5.984 kB / 483.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.5805, allocations: 0.5141 MB / 483.9 MB, free: 13.46 MB / 398.1 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.002104/0.5826, allocations: 0.9979 MB / 484.9 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.5832, allocations: 292 kB / 485.2 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.5835, allocations: 150.3 kB / 485.3 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.5851, allocations: 0.8943 MB / 486.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5852, allocations: 37.61 kB / 486.3 MB, free: 12.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.5852, allocations: 0 / 486.3 MB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009282/0.5861, allocations: 397.8 kB / 486.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.5862, allocations: 85.48 kB / 486.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.5863, allocations: 118 kB / 486.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.5863, allocations: 31.77 kB / 486.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.5864, allocations: 108.5 kB / 487 MB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.5865, allocations: 109.4 kB / 487.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5866, allocations: 60.36 kB / 487.2 MB, free: 11.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5867, allocations: 327.6 kB / 487.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5869, allocations: 117.1 kB / 487.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5872, allocations: 203.1 kB / 487.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.5877, allocations: 347.2 kB / 488.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5877, allocations: 2.75 kB / 488.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006647/0.5884, allocations: 377.9 kB / 488.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5884, allocations: 5.656 kB / 488.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5884, allocations: 7.266 kB / 488.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5885, allocations: 7.562 kB / 488.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.5889, allocations: 78.41 kB / 488.6 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5889, allocations: 9.469 kB / 488.6 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.5892, allocations: 31.3 kB / 488.6 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.5893, allocations: 22.53 kB / 488.7 MB, free: 11.04 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.5894, allocations: 139.9 kB / 488.8 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5895, allocations: 17.38 kB / 488.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.5903, allocations: 373.5 kB / 489.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5903, allocations: 2.719 kB / 489.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5903, allocations: 2.375 kB / 489.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5903, allocations: 0 / 489.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.5909, allocations: 370.6 kB / 489.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5909, allocations: 5.203 kB / 489.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.5913, allocations: 60.72 kB / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5914, allocations: 2.406 kB / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.5914, allocations: 10.55 kB / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5914, allocations: 0 / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.5914, allocations: 6.562 kB / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.5922, allocations: 0.5573 MB / 490.2 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.5923, allocations: 89.8 kB / 490.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.5924, allocations: 10.31 kB / 490.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.5928, allocations: 21.41 kB / 490.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.5928, allocations: 17.69 kB / 490.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5929, allocations: 19.36 kB / 490.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.5929, allocations: 92.56 kB / 490.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5929, allocations: 4 kB / 490.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009074/0.5938, allocations: 243.1 kB / 490.7 MB, free: 10.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.5949, allocations: 429.3 kB / 491.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.5955, allocations: 291.3 kB / 491.4 MB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5955, allocations: 0 / 491.4 MB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.5958, allocations: 146.3 kB / 491.5 MB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.5964, allocations: 85.84 kB / 491.6 MB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.5977, allocations: 0.8055 MB / 492.4 MB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.598, allocations: 0.7342 MB / 493.1 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.5985, allocations: 83.7 kB / 493.2 MB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5987, allocations: 28.28 kB / 493.2 MB, free: 8.695 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5987, allocations: 4 kB / 493.2 MB, free: 8.691 MB / 398.1 MB Notification: Performance of Templates: time 0.01256/0.6112, allocations: 8.269 MB / 0.4898 GB, free: 4.488 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)