Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001331/0.001331, allocations: 97.72 kB / 16.5 MB, free: 6.648 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.001482/0.001482, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.303/1.303, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001124/0.001124, allocations: 56.39 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07636, allocations: 46.63 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2973/0.3737, allocations: 149 MB / 474.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.3781, allocations: 3.123 MB / 478 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3782, allocations: 0 / 478 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.3787, allocations: 55.7 kB / 478.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.3811, allocations: 0.9277 MB / 479 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.3817, allocations: 180.8 kB / 479.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.3823, allocations: 494.4 kB / 479.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.3824, allocations: 17.08 kB / 479.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.3828, allocations: 131.5 kB / 479.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.3831, allocations: 119.6 kB / 479.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.3832, allocations: 8 kB / 479.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.3861, allocations: 1.722 MB / 481.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3862, allocations: 79.72 kB / 481.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3863, allocations: 99.62 kB / 481.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.3882, allocations: 1.107 MB / 482.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3882, allocations: 0 / 482.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3882, allocations: 0 / 482.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3882, allocations: 4 kB / 482.9 MB, free: 10.81 MB / 382.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.0009924/0.3892, allocations: 0.5467 MB / 483.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3892, allocations: 8.031 kB / 483.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/0.3931, allocations: 382.1 kB / 483.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3935, allocations: 267.9 kB / 484.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3935, allocations: 12.94 kB / 484.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.3936, allocations: 23.94 kB / 484.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3946, allocations: 493.3 kB / 484.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3947, allocations: 3.938 kB / 484.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.3947, allocations: 8 kB / 484.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3948, allocations: 4 kB / 484.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3959, allocations: 0.5152 MB / 485.2 MB, free: 8.477 MB / 382.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.002271/0.3981, allocations: 0.9897 MB / 486.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.3988, allocations: 293.1 kB / 486.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.399, allocations: 157.5 kB / 486.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.4008, allocations: 0.8892 MB / 487.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.4009, allocations: 42.55 kB / 487.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.4009, allocations: 0 / 487.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.00104/0.4019, allocations: 397.5 kB / 487.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.402, allocations: 85.05 kB / 488 MB, free: 5.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4021, allocations: 113.8 kB / 488.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.4022, allocations: 33.7 kB / 488.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.4022, allocations: 108.4 kB / 488.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4024, allocations: 110.4 kB / 488.4 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.4025, allocations: 62.02 kB / 488.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4027, allocations: 326.8 kB / 488.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4029, allocations: 116.6 kB / 488.9 MB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.4032, allocations: 215.4 kB / 489.1 MB, free: 4.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.4038, allocations: 336.2 kB / 489.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4038, allocations: 0 / 489.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008839/0.4047, allocations: 381.8 kB / 489.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4047, allocations: 4 kB / 489.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4047, allocations: 4.312 kB / 489.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4048, allocations: 8 kB / 489.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.4052, allocations: 79.83 kB / 489.9 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4052, allocations: 8 kB / 489.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.4056, allocations: 27.73 kB / 489.9 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.4056, allocations: 20 kB / 489.9 MB, free: 3.363 MB / 382.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.000144/0.4058, allocations: 141.7 kB / 490.1 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4059, allocations: 19.84 kB / 490.1 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.4067, allocations: 377.8 kB / 490.5 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4068, allocations: 4 kB / 490.5 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4068, allocations: 0 / 490.5 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4068, allocations: 0 / 490.5 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.4074, allocations: 372.4 kB / 490.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4074, allocations: 0 / 490.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.4078, allocations: 63.91 kB / 490.9 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4078, allocations: 0 / 490.9 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.4079, allocations: 11.98 kB / 490.9 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4079, allocations: 7.938 kB / 490.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4079, allocations: 0 / 490.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.4088, allocations: 0.5607 MB / 491.5 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.4089, allocations: 88.95 kB / 491.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4089, allocations: 8.062 kB / 491.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.4093, allocations: 15.98 kB / 491.6 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4094, allocations: 23.97 kB / 491.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.4095, allocations: 15.98 kB / 491.6 MB, free: 1.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.4095, allocations: 89.45 kB / 491.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4095, allocations: 0 / 491.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009086/0.4105, allocations: 239.7 kB / 491.9 MB, free: 1.262 MB / 382.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.001111/0.4116, allocations: 430.7 kB / 492.4 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.4122, allocations: 291.9 kB / 492.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4122, allocations: 3.938 kB / 492.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4125, allocations: 147.8 kB / 492.8 MB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.4132, allocations: 90.31 kB / 492.9 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4144, allocations: 0.7988 MB / 493.7 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.4148, allocations: 0.7287 MB / 494.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.4153, allocations: 86.36 kB / 494.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.4154, allocations: 35.42 kB / 494.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4154, allocations: 0 / 494.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01296/0.4284, allocations: 8.268 MB / 0.491 GB, free: 6.348 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)