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.001196/0.001197, allocations: 93.08 kB / 16.3 MB, free: 5.992 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.00144/0.00144, allocations: 182.2 kB / 17.19 MB, free: 5.906 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.344/1.344, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0006929/0.0006929, allocations: 10.81 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2345, allocations: 47.57 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1469/0.3815, allocations: 126 MB / 453.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3848, allocations: 2.514 MB / 456.2 MB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.385, allocations: 4 kB / 456.2 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.3852, allocations: 51.72 kB / 456.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.3871, allocations: 0.6971 MB / 456.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.3875, allocations: 167.7 kB / 457.1 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.3879, allocations: 207.6 kB / 457.3 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.728e-05/0.388, allocations: 9.125 kB / 457.3 MB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.3883, allocations: 159.5 kB / 457.4 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.3885, allocations: 87.72 kB / 457.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3886, allocations: 12 kB / 457.5 MB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.3911, allocations: 1.084 MB / 458.6 MB, free: 284 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3913, allocations: 71.78 kB / 458.7 MB, free: 212 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.3914, allocations: 61.64 kB / 458.7 MB, free: 144 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2155/0.6069, allocations: 0.5853 MB / 459.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6069, allocations: 0 / 459.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6069, allocations: 1.031 kB / 459.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.6069, allocations: 0.5312 kB / 459.3 MB, free: 2.789 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.0009875/0.6079, allocations: 0.4936 MB / 459.8 MB, free: 18.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.608, allocations: 9.125 kB / 459.8 MB, free: 18.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.6096, allocations: 203.8 kB / 460 MB, free: 18.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.6099, allocations: 232.1 kB / 460.3 MB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.61, allocations: 17.06 kB / 460.3 MB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.61, allocations: 26.17 kB / 460.3 MB, free: 18.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.6108, allocations: 368.2 kB / 460.7 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6109, allocations: 5.75 kB / 460.7 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.6109, allocations: 6.375 kB / 460.7 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.6109, allocations: 4.781 kB / 460.7 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.6117, allocations: 410.5 kB / 461.1 MB, free: 18.1 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.00159/0.6133, allocations: 0.8116 MB / 461.9 MB, free: 17.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.6137, allocations: 218.5 kB / 462.1 MB, free: 17.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.6151, allocations: 0.6766 MB / 462.8 MB, free: 17.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6151, allocations: 39.11 kB / 462.8 MB, free: 17.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.6152, allocations: 0 / 462.8 MB, free: 17.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.001305/0.6165, allocations: 367.8 kB / 463.2 MB, free: 17.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6165, allocations: 87.3 kB / 463.3 MB, free: 16.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6167, allocations: 120.2 kB / 463.4 MB, free: 16.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.6167, allocations: 31.17 kB / 463.4 MB, free: 16.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.6168, allocations: 110.1 kB / 463.5 MB, free: 16.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.6169, allocations: 106.8 kB / 463.6 MB, free: 16.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.6169, allocations: 4.906 kB / 463.6 MB, free: 16.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.617, allocations: 325.4 kB / 463.9 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.6172, allocations: 95.2 kB / 464 MB, free: 16.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.6174, allocations: 183.7 kB / 464.2 MB, free: 16.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.6177, allocations: 121.6 kB / 464.3 MB, free: 16.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6177, allocations: 0.7812 kB / 464.3 MB, free: 16.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006503/0.6184, allocations: 349.2 kB / 464.7 MB, free: 16.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6184, allocations: 7.156 kB / 464.7 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6184, allocations: 2.188 kB / 464.7 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6184, allocations: 5.094 kB / 464.7 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.6188, allocations: 73.39 kB / 464.8 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.6188, allocations: 4.344 kB / 464.8 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.6191, allocations: 37.34 kB / 464.8 MB, free: 16.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.6192, allocations: 16.38 kB / 464.8 MB, free: 16.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.6193, allocations: 148.2 kB / 465 MB, free: 16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/0.6194, allocations: 12.97 kB / 465 MB, free: 16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.6201, allocations: 326.3 kB / 465.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6202, allocations: 2.156 kB / 465.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6202, allocations: 2.75 kB / 465.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6202, allocations: 2.484 kB / 465.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.6207, allocations: 338.6 kB / 465.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6207, allocations: 0 / 465.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.621, allocations: 60.86 kB / 465.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.621, allocations: 6 kB / 465.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.6211, allocations: 11.5 kB / 465.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6211, allocations: 1.688 kB / 465.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6211, allocations: 0 / 465.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.6218, allocations: 0.5191 MB / 466.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.6219, allocations: 96.42 kB / 466.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.6219, allocations: 6.281 kB / 466.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.6222, allocations: 17.25 kB / 466.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.6223, allocations: 21.78 kB / 466.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.6223, allocations: 16.83 kB / 466.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.434e-05/0.6224, allocations: 88.34 kB / 466.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6224, allocations: 0.625 kB / 466.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009807/0.6234, allocations: 223.7 kB / 466.7 MB, free: 15.26 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 (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.0009381/0.6243, allocations: 369.1 kB / 467.1 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.6248, allocations: 252.2 kB / 467.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6248, allocations: 4.062 kB / 467.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.625, allocations: 125.5 kB / 467.4 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.6256, allocations: 73.91 kB / 467.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.6268, allocations: 0.889 MB / 468.4 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6272, allocations: 0.7356 MB / 469.1 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.6276, allocations: 85 kB / 469.2 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.6277, allocations: 32.41 kB / 469.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6277, allocations: 0 / 469.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01251/0.6403, allocations: 7.951 MB / 477.2 MB, free: 13.19 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: