Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001335/0.001335, allocations: 89.94 kB / 16.3 MB, free: 5.996 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.00157/0.00157, allocations: 184.4 kB / 17.2 MB, free: 5.914 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.447/1.447, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004634/0.0004635, allocations: 10.66 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 47.57 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1435/0.3733, allocations: 127.6 MB / 455.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.3771, allocations: 3.391 MB / 458.7 MB, free: 180 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3773, allocations: 0 / 458.7 MB, free: 180 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3776, allocations: 75.66 kB / 458.8 MB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1957/0.5734, allocations: 0.7907 MB / 459.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.5745, allocations: 300.7 kB / 459.9 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006884/0.5752, allocations: 284.9 kB / 460.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.5753, allocations: 11.62 kB / 460.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.5759, allocations: 294.5 kB / 460.4 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.5762, allocations: 106.7 kB / 460.5 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.5763, allocations: 9.844 kB / 460.5 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006056/0.5823, allocations: 1.612 MB / 462.2 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.5826, allocations: 123.2 kB / 462.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.5827, allocations: 81.61 kB / 462.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5849, allocations: 0.8748 MB / 463.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5849, allocations: 0 / 463.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5849, allocations: 0 / 463.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.585, allocations: 5.312 kB / 463.2 MB, free: 2.148 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.002434/0.5874, allocations: 0.7066 MB / 463.9 MB, free: 17.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5874, allocations: 8.406 kB / 464 MB, free: 17.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.5882, allocations: 113.9 kB / 464.1 MB, free: 17.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.5887, allocations: 268 kB / 464.3 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.5887, allocations: 18.34 kB / 464.3 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.5888, allocations: 34.66 kB / 464.4 MB, free: 17.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5898, allocations: 0.588 MB / 465 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5899, allocations: 4.844 kB / 465 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.5899, allocations: 9.719 kB / 465 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.59, allocations: 27.88 kB / 465 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5911, allocations: 0.6282 MB / 465.6 MB, free: 17.39 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.002606/0.5937, allocations: 1.251 MB / 466.9 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/0.5946, allocations: 356 kB / 467.2 MB, free: 16.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.5962, allocations: 0.9354 MB / 468.2 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.5963, allocations: 44.55 kB / 468.2 MB, free: 16.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.717e-06/0.5963, allocations: 3.984 kB / 468.2 MB, free: 16.11 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.01443/0.6108, allocations: 3.485 MB / 471.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.6108, allocations: 82.02 kB / 471.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.611, allocations: 176.5 kB / 472 MB, free: 14.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.6111, allocations: 37.73 kB / 472 MB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.6111, allocations: 179.7 kB / 472.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.6113, allocations: 172.5 kB / 472.3 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.6113, allocations: 15.97 kB / 472.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6114, allocations: 334.5 kB / 472.7 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.6121, allocations: 263.5 kB / 472.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/0.6129, allocations: 425.5 kB / 473.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.6136, allocations: 301.4 kB / 473.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6136, allocations: 0 / 473.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001763/0.6154, allocations: 0.7868 MB / 474.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6154, allocations: 5.719 kB / 474.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6154, allocations: 8.828 kB / 474.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.6156, allocations: 56.83 kB / 474.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6167, allocations: 183.9 kB / 474.7 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.6174, allocations: 1.068 MB / 475.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.6182, allocations: 59.03 kB / 475.8 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.6183, allocations: 37.39 kB / 475.8 MB, free: 12.82 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.0002341/0.6185, allocations: 174.3 kB / 476 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6187, allocations: 27.5 kB / 476 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6208, allocations: 0.7838 MB / 476.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6208, allocations: 4.875 kB / 476.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6208, allocations: 0 / 476.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.6208, allocations: 9.953 kB / 476.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.6238, allocations: 1.566 MB / 478.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6239, allocations: 3.188 kB / 478.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6249, allocations: 142.7 kB / 478.5 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.6251, allocations: 50.47 kB / 478.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.6251, allocations: 26.78 kB / 478.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.6267, allocations: 2.537 MB / 481.2 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6267, allocations: 5.719 kB / 481.2 MB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.6293, allocations: 1.158 MB / 482.3 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6294, allocations: 100.5 kB / 482.4 MB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.6295, allocations: 16.66 kB / 482.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6303, allocations: 46.89 kB / 482.5 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.6304, allocations: 44.97 kB / 482.5 MB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.6305, allocations: 35.69 kB / 482.6 MB, free: 8.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.029e-05/0.6306, allocations: 130 kB / 482.7 MB, free: 8.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6306, allocations: 0 / 482.7 MB, free: 8.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00156/0.6321, allocations: 381.1 kB / 483.1 MB, free: 8.75 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.002583/0.6347, allocations: 0.6653 MB / 483.7 MB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.6365, allocations: 0.639 MB / 484.4 MB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6366, allocations: 4 kB / 484.4 MB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6376, allocations: 0.5293 MB / 484.9 MB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.6383, allocations: 94.36 kB / 485 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.6405, allocations: 1.185 MB / 486.2 MB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.6409, allocations: 0.7879 MB / 487 MB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.6421, allocations: 193.1 kB / 487.2 MB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.6424, allocations: 65.55 kB / 487.2 MB, free: 6.844 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6424, allocations: 1.75 kB / 487.2 MB, free: 6.844 MB / 398.1 MB Notification: Performance of Templates: time 0.02596/0.6684, allocations: 15.52 MB / 0.491 GB, free: 100 kB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1) Environment - environmentSimulation: