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.001609/0.001609, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001829/0.001829, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.331/1.331, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001265/0.001265, allocations: 51.92 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.08119, allocations: 46.63 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.305/0.3863, allocations: 151.2 MB / 477.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.3896, allocations: 3.036 MB / 480.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.3897, allocations: 8 kB / 480.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.3901, allocations: 59.64 kB / 480.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.3922, allocations: 1.001 MB / 481.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3927, allocations: 204.1 kB / 482.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.3931, allocations: 350.7 kB / 482.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3931, allocations: 9.078 kB / 482.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.3934, allocations: 155.5 kB / 482.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3936, allocations: 111.6 kB / 482.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3936, allocations: 12 kB / 482.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3962, allocations: 1.504 MB / 484.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3963, allocations: 71.78 kB / 484.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3964, allocations: 107.6 kB / 484.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3979, allocations: 0.9939 MB / 485.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3979, allocations: 0 / 485.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3979, allocations: 0 / 485.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3979, allocations: 0 / 485.4 MB, free: 8.344 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.0009537/0.3989, allocations: 0.539 MB / 485.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3989, allocations: 12.03 kB / 485.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.403, allocations: 384.7 kB / 486.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.4033, allocations: 260 kB / 486.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4033, allocations: 16.94 kB / 486.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.4034, allocations: 23.92 kB / 486.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.4044, allocations: 0.4895 MB / 487.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4044, allocations: 0 / 487.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.4045, allocations: 8 kB / 487.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4045, allocations: 4 kB / 487.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4055, allocations: 0.5114 MB / 487.6 MB, free: 6.016 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.002275/0.4078, allocations: 0.993 MB / 488.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.4084, allocations: 289.6 kB / 488.9 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4087, allocations: 161.6 kB / 489.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/0.4105, allocations: 0.8853 MB / 489.9 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4105, allocations: 38.56 kB / 490 MB, free: 3.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.375e-06/0.4105, allocations: 0 / 490 MB, free: 3.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009847/0.4115, allocations: 402.5 kB / 490.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4116, allocations: 85.11 kB / 490.5 MB, free: 2.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4117, allocations: 119.4 kB / 490.6 MB, free: 2.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4117, allocations: 29.7 kB / 490.6 MB, free: 2.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.4118, allocations: 112.4 kB / 490.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.4119, allocations: 106.4 kB / 490.8 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.412, allocations: 66.02 kB / 490.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4121, allocations: 322.8 kB / 491.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.4124, allocations: 112.6 kB / 491.3 MB, free: 2.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.4127, allocations: 211.4 kB / 491.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.4132, allocations: 336 kB / 491.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4132, allocations: 0 / 491.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007333/0.414, allocations: 389.8 kB / 492.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.414, allocations: 8.062 kB / 492.2 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.414, allocations: 4 kB / 492.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.414, allocations: 4 kB / 492.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4145, allocations: 72.64 kB / 492.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4145, allocations: 7.938 kB / 492.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.4149, allocations: 43.61 kB / 492.4 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.4149, allocations: 12 kB / 492.4 MB, free: 0.8984 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.0001345/0.4151, allocations: 141.8 kB / 492.5 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4152, allocations: 19.84 kB / 492.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008154/0.416, allocations: 376 kB / 492.9 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.416, allocations: 4 kB / 492.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.416, allocations: 1.375 kB / 492.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.416, allocations: 0 / 492.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.4166, allocations: 376.5 kB / 493.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4167, allocations: 0 / 493.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.4171, allocations: 67.89 kB / 493.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4171, allocations: 0 / 493.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.4172, allocations: 12 kB / 493.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4172, allocations: 0 / 493.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4172, allocations: 0 / 493.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.4181, allocations: 0.5591 MB / 493.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.4182, allocations: 92.95 kB / 494 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.4182, allocations: 8.047 kB / 494 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.4187, allocations: 15.98 kB / 494 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.4187, allocations: 19.92 kB / 494 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.4188, allocations: 15.98 kB / 494 MB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.629e-05/0.4188, allocations: 95.2 kB / 494.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4188, allocations: 0 / 494.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007781/0.4196, allocations: 227.7 kB / 494.4 MB, free: 14.81 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.001032/0.4207, allocations: 430.7 kB / 494.8 MB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.4213, allocations: 316 kB / 495.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4213, allocations: 0 / 495.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.4216, allocations: 143.9 kB / 495.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.4223, allocations: 81.14 kB / 495.3 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4235, allocations: 0.7376 MB / 496.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.4238, allocations: 0.7245 MB / 496.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005065/0.4243, allocations: 97.64 kB / 496.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4244, allocations: 35.42 kB / 496.9 MB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4244, allocations: 0 / 496.9 MB, free: 12.21 MB / 398.1 MB Notification: Performance of Templates: time 0.01346/0.4379, allocations: 8.436 MB / 0.4935 GB, free: 3.766 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)