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.001027/0.001027, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001186/0.001186, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004257/0.0004257, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3718/0.6168, allocations: 137.1 MB / 463.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.62, allocations: 2.826 MB / 466.4 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.6201, allocations: 5.781 kB / 466.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.6204, allocations: 44.06 kB / 466.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.6222, allocations: 0.6935 MB / 467.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.6226, allocations: 165.1 kB / 467.3 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.6231, allocations: 403.3 kB / 467.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.6231, allocations: 7.875 kB / 467.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.6234, allocations: 141.1 kB / 467.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.6236, allocations: 120.3 kB / 468 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.6236, allocations: 11.95 kB / 468 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.6259, allocations: 1.046 MB / 469 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.626, allocations: 78.55 kB / 469.1 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.6261, allocations: 57.73 kB / 469.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.6268, allocations: 0.6053 MB / 469.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6268, allocations: 7.562 kB / 469.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6268, allocations: 0 / 469.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.6268, allocations: 0 / 469.8 MB, free: 1.797 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.000744/0.6276, allocations: 497.4 kB / 470.3 MB, free: 17.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.6276, allocations: 9.438 kB / 470.3 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.6309, allocations: 377.9 kB / 470.6 MB, free: 17.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.6312, allocations: 261.6 kB / 470.9 MB, free: 17.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.6312, allocations: 12.72 kB / 470.9 MB, free: 17.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.6313, allocations: 31.52 kB / 470.9 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.6321, allocations: 492.9 kB / 471.4 MB, free: 17.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6321, allocations: 0.875 kB / 471.4 MB, free: 17.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.6322, allocations: 9.781 kB / 471.4 MB, free: 17.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.6322, allocations: 3.562 kB / 471.4 MB, free: 17.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.6331, allocations: 0.5088 MB / 471.9 MB, free: 17.09 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.001927/0.635, allocations: 0.9923 MB / 472.9 MB, free: 16.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.6355, allocations: 296.6 kB / 473.2 MB, free: 16.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.6358, allocations: 149.7 kB / 473.4 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.6373, allocations: 0.8962 MB / 474.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6374, allocations: 41.41 kB / 474.3 MB, free: 15.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.6374, allocations: 0 / 474.3 MB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008291/0.6382, allocations: 400.8 kB / 474.7 MB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.6383, allocations: 86.23 kB / 474.8 MB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.6384, allocations: 108.6 kB / 474.9 MB, free: 15.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.6384, allocations: 34.92 kB / 474.9 MB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.6385, allocations: 116.2 kB / 475 MB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.6385, allocations: 106.6 kB / 475.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.6386, allocations: 6.75 kB / 475.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6387, allocations: 327.8 kB / 475.5 MB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.6389, allocations: 121.6 kB / 475.6 MB, free: 14.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.6392, allocations: 201.4 kB / 475.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.6394, allocations: 139.2 kB / 475.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6394, allocations: 3.125 kB / 475.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006587/0.6401, allocations: 377.9 kB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6401, allocations: 9.312 kB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6401, allocations: 3.312 kB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6402, allocations: 6.031 kB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.6405, allocations: 73.34 kB / 476.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6406, allocations: 8.375 kB / 476.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.6408, allocations: 35.77 kB / 476.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.6409, allocations: 20.72 kB / 476.4 MB, free: 14.82 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.0001365/0.641, allocations: 149.8 kB / 476.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.6411, allocations: 13.94 kB / 476.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007144/0.6419, allocations: 367.2 kB / 477 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6419, allocations: 7.297 kB / 477 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6419, allocations: 0 / 477 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6419, allocations: 3.188 kB / 477 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.6424, allocations: 372.2 kB / 477.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6425, allocations: 0 / 477.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.6428, allocations: 58.36 kB / 477.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6429, allocations: 3.219 kB / 477.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.6429, allocations: 9.219 kB / 477.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6429, allocations: 3.281 kB / 477.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6429, allocations: 6.609 kB / 477.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.6437, allocations: 0.5544 MB / 478 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.6438, allocations: 95.33 kB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.6438, allocations: 5.812 kB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.6442, allocations: 18.7 kB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.6442, allocations: 17.83 kB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.6442, allocations: 17.67 kB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.6443, allocations: 90.78 kB / 478.2 MB, free: 14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6443, allocations: 0 / 478.2 MB, free: 14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.645, allocations: 229.9 kB / 478.4 MB, free: 13.96 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.001001/0.646, allocations: 363.2 kB / 478.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.6466, allocations: 288.5 kB / 479.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6466, allocations: 0 / 479.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.6468, allocations: 147 kB / 479.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.6475, allocations: 90 kB / 479.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6487, allocations: 0.9079 MB / 480.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.6491, allocations: 0.7387 MB / 480.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005297/0.6497, allocations: 79.75 kB / 481 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6498, allocations: 37.12 kB / 481.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6498, allocations: 0 / 481.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of Templates: time 0.01334/0.6632, allocations: 8.031 MB / 489.1 MB, free: 10.81 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)