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.001137/0.001138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001125/0.001125, allocations: 186.6 kB / 16.25 MB, free: 6.633 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.322/1.322, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001201/0.001201, allocations: 55.88 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2201, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3513/0.5714, allocations: 152.1 MB / 477 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.5741, allocations: 3.038 MB / 480 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.5743, allocations: 7.938 kB / 480 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.5748, allocations: 97.08 kB / 480.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.5771, allocations: 1.112 MB / 481.2 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.578, allocations: 350.6 kB / 481.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.5785, allocations: 466.6 kB / 482 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.5785, allocations: 19.16 kB / 482 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.5789, allocations: 225.3 kB / 482.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.579, allocations: 155.3 kB / 482.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.5791, allocations: 15.81 kB / 482.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.5826, allocations: 2.358 MB / 484.8 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.5828, allocations: 134.3 kB / 484.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.583, allocations: 162.6 kB / 485.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.5851, allocations: 1.696 MB / 486.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5851, allocations: 2.531 kB / 486.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5851, allocations: 0 / 486.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.5851, allocations: 0 / 486.8 MB, free: 13.51 MB / 398.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.00206/0.5872, allocations: 0.769 MB / 487.5 MB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5872, allocations: 11.33 kB / 487.5 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.5895, allocations: 271 kB / 487.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.5898, allocations: 286 kB / 488.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5899, allocations: 25.06 kB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.59, allocations: 24.81 kB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5912, allocations: 0.6692 MB / 488.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.5912, allocations: 6.438 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.5913, allocations: 12.72 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.5913, allocations: 20.06 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5928, allocations: 0.7547 MB / 489.6 MB, free: 12.71 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.00355/0.5963, allocations: 1.821 MB / 491.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5975, allocations: 480.8 kB / 491.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.598, allocations: 235.6 kB / 492.1 MB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002316/0.6003, allocations: 1.384 MB / 493.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6004, allocations: 36.97 kB / 493.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.6004, allocations: 0 / 493.5 MB, free: 10.59 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.01337/0.6138, allocations: 3.721 MB / 497.3 MB, free: 9.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6138, allocations: 82.39 kB / 497.3 MB, free: 8.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.614, allocations: 183 kB / 497.5 MB, free: 8.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.6141, allocations: 35.45 kB / 497.6 MB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.6141, allocations: 171.2 kB / 497.7 MB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.6143, allocations: 186.3 kB / 497.9 MB, free: 8.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.6145, allocations: 113.2 kB / 498 MB, free: 8.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6146, allocations: 337.8 kB / 498.3 MB, free: 8.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.6153, allocations: 269.2 kB / 498.6 MB, free: 8.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.6161, allocations: 423.1 kB / 499 MB, free: 7.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.6176, allocations: 0.7099 MB / 499.7 MB, free: 7.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.6176, allocations: 2.781 kB / 499.7 MB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001792/0.6194, allocations: 0.7817 MB / 0.4888 GB, free: 7.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6194, allocations: 11.84 kB / 0.4888 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6194, allocations: 4.969 kB / 0.4888 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.6196, allocations: 52.19 kB / 0.4889 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6207, allocations: 184 kB / 0.489 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005944/0.6213, allocations: 1.074 MB / 0.4901 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.6221, allocations: 48.89 kB / 0.4901 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.6222, allocations: 35.98 kB / 0.4902 GB, free: 6.188 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.6225, allocations: 183.4 kB / 0.4903 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.6226, allocations: 26.69 kB / 0.4904 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.6247, allocations: 0.779 MB / 0.4911 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6248, allocations: 9.656 kB / 0.4911 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6248, allocations: 2.094 kB / 0.4911 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6248, allocations: 7.969 kB / 0.4911 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.6278, allocations: 1.54 MB / 0.4926 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6278, allocations: 2.688 kB / 0.4926 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6289, allocations: 159.2 kB / 0.4928 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.629, allocations: 37.75 kB / 0.4928 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.6291, allocations: 29.53 kB / 0.4929 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.6307, allocations: 2.73 MB / 0.4955 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6307, allocations: 2.562 kB / 0.4955 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.633, allocations: 1.077 MB / 0.4966 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.6331, allocations: 97.44 kB / 0.4967 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.6332, allocations: 11.78 kB / 0.4967 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.634, allocations: 47.03 kB / 0.4967 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.6341, allocations: 43.47 kB / 0.4968 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.6342, allocations: 33.66 kB / 0.4968 GB, free: 1.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.121e-05/0.6343, allocations: 131.9 kB / 0.4969 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6343, allocations: 0 / 0.4969 GB, free: 1.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001393/0.6357, allocations: 390.2 kB / 0.4973 GB, free: 1.305 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002574/0.6382, allocations: 0.8663 MB / 0.4981 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.6401, allocations: 0.6846 MB / 0.4988 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6401, allocations: 0 / 0.4988 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.6411, allocations: 0.5275 MB / 0.4993 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.6419, allocations: 106.5 kB / 0.4994 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.6438, allocations: 1.114 MB / 0.5005 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.6442, allocations: 0.7876 MB / 0.5013 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.6453, allocations: 189.6 kB / 0.5015 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.6456, allocations: 61.98 kB / 0.5015 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6457, allocations: 0 / 0.5015 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Templates: time 0.02264/0.6683, allocations: 15.89 MB / 0.517 GB, free: 0.8594 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.makefile (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)