Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 98.92 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.001019/0.001019, 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.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004678/0.0004679, allocations: 15.98 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 47.58 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1475/0.3701, allocations: 127.6 MB / 454.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.3743, allocations: 3.391 MB / 457.4 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3745, allocations: 0 / 457.4 MB, free: 168 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.3749, allocations: 79.7 kB / 457.5 MB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2031/0.578, allocations: 0.7852 MB / 458.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.579, allocations: 299.4 kB / 458.6 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.5796, allocations: 284.4 kB / 458.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.5797, allocations: 12.69 kB / 458.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.5803, allocations: 295.3 kB / 459.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.5805, allocations: 108.8 kB / 459.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.5806, allocations: 9.5 kB / 459.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.5851, allocations: 1.61 MB / 460.9 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.5852, allocations: 123.2 kB / 461 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.5854, allocations: 84.64 kB / 461.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.5871, allocations: 0.8711 MB / 462 MB, free: 2.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.5871, allocations: 0 / 462 MB, free: 2.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5871, allocations: 0 / 462 MB, free: 2.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5871, allocations: 5.031 kB / 462 MB, free: 2.215 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002181/0.5893, allocations: 0.71 MB / 462.7 MB, free: 17.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5894, allocations: 12.89 kB / 462.7 MB, free: 17.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/0.5901, allocations: 108 kB / 462.8 MB, free: 17.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.5905, allocations: 267.3 kB / 463.1 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.5906, allocations: 19.03 kB / 463.1 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.5906, allocations: 39.72 kB / 463.1 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5917, allocations: 0.5826 MB / 463.7 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5918, allocations: 0 / 463.7 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5918, allocations: 11.59 kB / 463.7 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.5919, allocations: 27.14 kB / 463.7 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.593, allocations: 0.6355 MB / 464.4 MB, free: 17.46 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.002593/0.5956, allocations: 1.252 MB / 465.6 MB, free: 17.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/0.5965, allocations: 355.7 kB / 466 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.5983, allocations: 0.9342 MB / 466.9 MB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.5984, allocations: 47.45 kB / 467 MB, free: 16.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.043e-06/0.5984, allocations: 0 / 467 MB, free: 16.18 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01438/0.6128, allocations: 3.478 MB / 470.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.6129, allocations: 82.89 kB / 470.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.613, allocations: 183.1 kB / 470.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.6131, allocations: 29.64 kB / 470.7 MB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.6132, allocations: 175.1 kB / 470.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6133, allocations: 183.7 kB / 471.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.6134, allocations: 14.81 kB / 471.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6135, allocations: 331.9 kB / 471.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.6142, allocations: 263.1 kB / 471.7 MB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.615, allocations: 421.8 kB / 472.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.6157, allocations: 307.6 kB / 472.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6157, allocations: 0 / 472.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001823/0.6176, allocations: 0.7814 MB / 473.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6176, allocations: 10.75 kB / 473.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6176, allocations: 11.81 kB / 473.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.6178, allocations: 53.69 kB / 473.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.6189, allocations: 180.7 kB / 473.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006242/0.6196, allocations: 1.075 MB / 474.5 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.6204, allocations: 50.86 kB / 474.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.6205, allocations: 42.38 kB / 474.6 MB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.6207, allocations: 171.4 kB / 474.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.6208, allocations: 32.42 kB / 474.8 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.6229, allocations: 0.7818 MB / 475.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6229, allocations: 9.188 kB / 475.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.6229, allocations: 0 / 475.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6229, allocations: 0 / 475.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.6259, allocations: 1.563 MB / 477.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6259, allocations: 3 kB / 477.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.627, allocations: 145.1 kB / 477.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.6271, allocations: 52.23 kB / 477.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.6272, allocations: 28.59 kB / 477.4 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.6288, allocations: 2.536 MB / 479.9 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6288, allocations: 2.906 kB / 479.9 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.6313, allocations: 1.162 MB / 481.1 MB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6314, allocations: 102 kB / 481.2 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.6315, allocations: 18.75 kB / 481.2 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.6323, allocations: 48.61 kB / 481.2 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.6324, allocations: 45.45 kB / 481.3 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.6325, allocations: 34.08 kB / 481.3 MB, free: 8.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.6326, allocations: 130.6 kB / 481.4 MB, free: 8.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6326, allocations: 0 / 481.4 MB, free: 8.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001658/0.6342, allocations: 379.1 kB / 481.8 MB, free: 8.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002164/0.6364, allocations: 0.6698 MB / 482.5 MB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.6382, allocations: 0.6365 MB / 483.1 MB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6382, allocations: 4 kB / 483.1 MB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.6392, allocations: 0.5268 MB / 483.6 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.6398, allocations: 98.48 kB / 483.7 MB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.6418, allocations: 1.183 MB / 484.9 MB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6421, allocations: 0.79 MB / 485.7 MB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.6433, allocations: 190.7 kB / 485.9 MB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.6436, allocations: 59.69 kB / 486 MB, free: 6.902 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6436, allocations: 0 / 486 MB, free: 6.902 MB / 398.1 MB Notification: Performance of Templates: time 0.02274/0.6663, allocations: 15.52 MB / 0.4897 GB, free: 168 kB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1) Environment - environmentSimulation: