Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001347/0.001347, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001408/0.001408, allocations: 177.3 kB / 15.94 MB, free: 228 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.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004552/0.0004553, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1317/0.3402, allocations: 125.9 MB / 452.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.3431, allocations: 2.514 MB / 454.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.3432, allocations: 0 / 454.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3435, allocations: 47.72 kB / 454.9 MB, free: 2.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.3453, allocations: 0.7049 MB / 455.6 MB, free: 1.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3457, allocations: 167.6 kB / 455.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.3461, allocations: 219.6 kB / 456 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.3461, allocations: 9.125 kB / 456 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3464, allocations: 155.6 kB / 456.2 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3466, allocations: 83.72 kB / 456.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.3467, allocations: 8 kB / 456.3 MB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.349, allocations: 1.092 MB / 457.4 MB, free: 260 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.3491, allocations: 75.77 kB / 457.4 MB, free: 184 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3492, allocations: 57.64 kB / 457.5 MB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1876/0.5368, allocations: 0.5838 MB / 458.1 MB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5368, allocations: 0.5312 kB / 458.1 MB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5368, allocations: 0 / 458.1 MB, free: 2.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.5369, allocations: 0.5312 kB / 458.1 MB, free: 2.742 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.0007853/0.5376, allocations: 0.4884 MB / 458.6 MB, free: 18.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5377, allocations: 11.08 kB / 458.6 MB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.5392, allocations: 202 kB / 458.8 MB, free: 18.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.5396, allocations: 234.4 kB / 459 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5396, allocations: 13.34 kB / 459 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.5397, allocations: 26.56 kB / 459 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.5403, allocations: 372.5 kB / 459.4 MB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.5403, allocations: 0.7188 kB / 459.4 MB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.5403, allocations: 10.69 kB / 459.4 MB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5404, allocations: 4.219 kB / 459.4 MB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.541, allocations: 408.1 kB / 459.8 MB, free: 18.05 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.00153/0.5425, allocations: 0.8147 MB / 460.6 MB, free: 17.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.5429, allocations: 213.8 kB / 460.8 MB, free: 17.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.5441, allocations: 0.672 MB / 461.5 MB, free: 17.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5442, allocations: 41.66 kB / 461.6 MB, free: 17.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.5442, allocations: 1.125 kB / 461.6 MB, free: 17.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.001188/0.5454, allocations: 369.4 kB / 461.9 MB, free: 16.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5454, allocations: 84.44 kB / 462 MB, free: 16.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.5455, allocations: 114 kB / 462.1 MB, free: 16.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5456, allocations: 34.89 kB / 462.2 MB, free: 16.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.5456, allocations: 114.5 kB / 462.3 MB, free: 16.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.5457, allocations: 103.5 kB / 462.4 MB, free: 16.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.5457, allocations: 5.594 kB / 462.4 MB, free: 16.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5459, allocations: 325.2 kB / 462.7 MB, free: 16.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.5461, allocations: 95.84 kB / 462.8 MB, free: 16.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.5463, allocations: 186.8 kB / 463 MB, free: 16.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.5466, allocations: 118 kB / 463.1 MB, free: 16.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5466, allocations: 5.625 kB / 463.1 MB, free: 16.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000637/0.5472, allocations: 339.7 kB / 463.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5473, allocations: 5.812 kB / 463.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5473, allocations: 3.344 kB / 463.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.5473, allocations: 8.844 kB / 463.4 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.5477, allocations: 73.94 kB / 463.5 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5477, allocations: 7.109 kB / 463.5 MB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5479, allocations: 39.03 kB / 463.6 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.548, allocations: 20.5 kB / 463.6 MB, free: 16.08 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.0001364/0.5481, allocations: 142.5 kB / 463.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.5482, allocations: 16.84 kB / 463.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.5488, allocations: 333.3 kB / 464.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5489, allocations: 2.938 kB / 464.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5489, allocations: 7.312 kB / 464.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5489, allocations: 0 / 464.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.5494, allocations: 340.5 kB / 464.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5494, allocations: 0 / 464.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.5497, allocations: 53.67 kB / 464.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5497, allocations: 0.9062 kB / 464.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5497, allocations: 13.78 kB / 464.5 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5497, allocations: 5.688 kB / 464.5 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5497, allocations: 4.297 kB / 464.5 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.5504, allocations: 0.5128 MB / 465 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.5505, allocations: 93.73 kB / 465.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.5505, allocations: 11.38 kB / 465.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.5509, allocations: 18.72 kB / 465.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.5509, allocations: 22.06 kB / 465.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.551, allocations: 17.42 kB / 465.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.551, allocations: 91.25 kB / 465.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.551, allocations: 0 / 465.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008564/0.5519, allocations: 218.1 kB / 465.4 MB, free: 15.21 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.0008617/0.5528, allocations: 358.7 kB / 465.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.5532, allocations: 245.3 kB / 466 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5532, allocations: 4.625 kB / 466 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.5534, allocations: 132.4 kB / 466.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.5539, allocations: 76.69 kB / 466.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.5549, allocations: 0.8969 MB / 467.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5552, allocations: 0.7289 MB / 467.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.5555, allocations: 72.58 kB / 467.9 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.5556, allocations: 29.19 kB / 468 MB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5556, allocations: 0 / 468 MB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01126/0.5669, allocations: 7.962 MB / 475.9 MB, free: 13.15 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) Environment - environmentSimulation: