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.001056/0.001056, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.001111/0.001111, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.372/1.372, allocations: 205.1 MB / 223.4 MB, free: 12.37 MB / 190.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.001187/0.001187, allocations: 47.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08308, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3119/0.395, allocations: 152.1 MB / 478.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.3983, allocations: 3.045 MB / 481.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.3984, allocations: 3.938 kB / 481.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.3989, allocations: 95.58 kB / 481.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.4012, allocations: 1.111 MB / 482.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.4021, allocations: 351.9 kB / 482.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.4027, allocations: 466.6 kB / 483.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.4027, allocations: 17.56 kB / 483.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.4032, allocations: 227.1 kB / 483.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.4034, allocations: 155.5 kB / 483.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.4035, allocations: 19.94 kB / 483.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.4075, allocations: 2.345 MB / 486.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.4077, allocations: 151.5 kB / 486.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.4079, allocations: 159.4 kB / 486.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.4113, allocations: 1.695 MB / 488.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4113, allocations: 0 / 488.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4113, allocations: 0 / 488.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4114, allocations: 0 / 488.1 MB, free: 5.586 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.00229/0.4137, allocations: 0.7729 MB / 488.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4137, allocations: 8.031 kB / 488.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.4161, allocations: 272.8 kB / 489.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.4165, allocations: 287.9 kB / 489.4 MB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4166, allocations: 20.5 kB / 489.4 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.4167, allocations: 28 kB / 489.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.4181, allocations: 0.6706 MB / 490.1 MB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4181, allocations: 0 / 490.1 MB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.4182, allocations: 12 kB / 490.1 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.4183, allocations: 20.42 kB / 490.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.4199, allocations: 0.7629 MB / 490.9 MB, free: 2.645 MB / 382.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.004139/0.4241, allocations: 1.833 MB / 492.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4254, allocations: 476.8 kB / 493.2 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.426, allocations: 233.5 kB / 493.4 MB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/0.4285, allocations: 1.387 MB / 494.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.4285, allocations: 38.56 kB / 494.8 MB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.4285, allocations: 0 / 494.8 MB, free: 14.34 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.01453/0.443, allocations: 3.708 MB / 498.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4431, allocations: 85.05 kB / 498.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4433, allocations: 186.5 kB / 498.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.4434, allocations: 29.7 kB / 498.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.4435, allocations: 180.1 kB / 499 MB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4436, allocations: 177.5 kB / 499.2 MB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4439, allocations: 114.3 kB / 499.3 MB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.444, allocations: 342.8 kB / 499.6 MB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.4447, allocations: 261.1 kB / 499.9 MB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008401/0.4456, allocations: 425.5 kB / 0.4886 GB, free: 8.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4471, allocations: 0.7069 MB / 0.4893 GB, free: 7.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4472, allocations: 4 kB / 0.4893 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001948/0.4491, allocations: 0.7837 MB / 0.49 GB, free: 6.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4491, allocations: 11.98 kB / 0.4901 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4492, allocations: 4.625 kB / 0.4901 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.4494, allocations: 57.69 kB / 0.4901 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4506, allocations: 179.7 kB / 0.4903 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006478/0.4512, allocations: 1.074 MB / 0.4913 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.452, allocations: 44.14 kB / 0.4914 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.4521, allocations: 43.97 kB / 0.4914 GB, free: 5.516 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.0002379/0.4524, allocations: 177.5 kB / 0.4916 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4525, allocations: 27.72 kB / 0.4916 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.4547, allocations: 0.7746 MB / 0.4924 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4548, allocations: 7.938 kB / 0.4924 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4548, allocations: 8 kB / 0.4924 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4548, allocations: 7.922 kB / 0.4924 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.458, allocations: 1.546 MB / 0.4939 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.458, allocations: 7.938 kB / 0.4939 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4591, allocations: 148 kB / 0.4941 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.4593, allocations: 37.69 kB / 0.4941 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.4593, allocations: 31.91 kB / 0.4941 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.4611, allocations: 2.726 MB / 0.4968 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4611, allocations: 4.031 kB / 0.4968 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.4637, allocations: 1.071 MB / 0.4978 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.4638, allocations: 108.7 kB / 0.4979 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.4638, allocations: 12 kB / 0.4979 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.4647, allocations: 40.09 kB / 0.498 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.4648, allocations: 51.86 kB / 0.498 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.4649, allocations: 31.97 kB / 0.4981 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.465, allocations: 124.4 kB / 0.4982 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.465, allocations: 4 kB / 0.4982 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4664, allocations: 387.8 kB / 0.4986 GB, free: 13.74 MB / 414.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.002622/0.469, allocations: 0.8691 MB / 0.4994 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.471, allocations: 0.6792 MB / 0.5001 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.471, allocations: 4 kB / 0.5001 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.4721, allocations: 0.5293 MB / 0.5006 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.4729, allocations: 96.95 kB / 0.5007 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4751, allocations: 1.124 MB / 0.5018 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4755, allocations: 0.7852 MB / 0.5025 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.4767, allocations: 183.1 kB / 0.5027 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.477, allocations: 63.39 kB / 0.5028 GB, free: 9.301 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.477, allocations: 0 / 0.5028 GB, free: 9.301 MB / 414.1 MB Notification: Performance of Templates: time 0.02316/0.5002, allocations: 15.89 MB / 0.5183 GB, free: 9.379 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (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)