Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7809/0.7809, allocations: 110.9 MB / 125.9 MB, free: 6.211 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001842/0.001842, allocations: 143.3 kB / 151.8 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1551, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.513, allocations: 0.6671 GB / 0.8722 GB, free: 47.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/1.513, allocations: 63.97 kB / 0.8722 GB, free: 47.15 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3144/1.827, allocations: 94.5 MB / 0.9645 GB, free: 43.12 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.827, allocations: 0 / 0.9645 GB, free: 43.12 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/1.827, allocations: 4 kB / 0.9645 GB, free: 43.12 MB / 234.7 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.002301/1.83, allocations: 0.7838 MB / 0.9653 GB, free: 42.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.83, allocations: 8.031 kB / 0.9653 GB, free: 42.28 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/1.83, allocations: 35.62 kB / 0.9653 GB, free: 42.24 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/1.83, allocations: 258.7 kB / 0.9656 GB, free: 41.95 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.83, allocations: 28.5 kB / 0.9656 GB, free: 41.92 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/1.83, allocations: 28 kB / 0.9656 GB, free: 41.89 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/1.831, allocations: 0.5743 MB / 0.9662 GB, free: 41.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.831, allocations: 0 / 0.9662 GB, free: 41.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/1.831, allocations: 12 kB / 0.9662 GB, free: 41.29 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/1.831, allocations: 16.42 kB / 0.9662 GB, free: 41.28 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/1.832, allocations: 0.6501 MB / 0.9669 GB, free: 40.63 MB / 234.7 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.002255/1.834, allocations: 1.431 MB / 0.9683 GB, free: 39.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.835, allocations: 434.6 kB / 0.9687 GB, free: 38.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/1.838, allocations: 2.057 MB / 0.9707 GB, free: 36.3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/1.838, allocations: 30.56 kB / 0.9707 GB, free: 36.27 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 2.245e-06/1.838, allocations: 4 kB / 0.9707 GB, free: 36.26 MB / 234.7 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: medium2.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: medium1.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01052/1.848, allocations: 3.034 MB / 0.9737 GB, free: 33.03 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/1.848, allocations: 85.11 kB / 0.9738 GB, free: 32.93 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.848, allocations: 162.4 kB / 0.9739 GB, free: 32.76 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/1.849, allocations: 33.7 kB / 0.974 GB, free: 32.72 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/1.849, allocations: 184 kB / 0.9741 GB, free: 32.54 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/1.849, allocations: 165.6 kB / 0.9743 GB, free: 32.38 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/1.849, allocations: 12 kB / 0.9743 GB, free: 32.36 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/1.849, allocations: 330.8 kB / 0.9746 GB, free: 32.03 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/1.849, allocations: 193.1 kB / 0.9748 GB, free: 31.84 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/1.85, allocations: 349.4 kB / 0.9751 GB, free: 31.44 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/1.85, allocations: 232.5 kB / 0.9754 GB, free: 31.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.85, allocations: 0 / 0.9754 GB, free: 31.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001227/1.851, allocations: 0.6449 MB / 0.976 GB, free: 30.56 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.851, allocations: 8.625 kB / 0.976 GB, free: 30.55 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.852, allocations: 8 kB / 0.976 GB, free: 30.54 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/1.852, allocations: 53.69 kB / 0.976 GB, free: 30.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.852, allocations: 167.8 kB / 0.9762 GB, free: 30.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/1.853, allocations: 1.081 MB / 0.9773 GB, free: 29.19 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/1.853, allocations: 44 kB / 0.9773 GB, free: 29.14 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/1.853, allocations: 39.98 kB / 0.9773 GB, free: 29.11 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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.0002996/1.854, allocations: 217.7 kB / 0.9776 GB, free: 28.88 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/1.854, allocations: 27.72 kB / 0.9776 GB, free: 28.86 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/1.855, allocations: 0.6319 MB / 0.9782 GB, free: 28.21 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.855, allocations: 4 kB / 0.9782 GB, free: 28.21 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.855, allocations: 0 / 0.9782 GB, free: 28.21 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/1.855, allocations: 3.984 kB / 0.9782 GB, free: 28.2 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.857, allocations: 1.207 MB / 0.9794 GB, free: 26.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.857, allocations: 8.219 kB / 0.9794 GB, free: 26.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/1.858, allocations: 131.8 kB / 0.9795 GB, free: 26.78 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/1.858, allocations: 41.69 kB / 0.9796 GB, free: 26.73 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/1.858, allocations: 23.97 kB / 0.9796 GB, free: 26.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/1.859, allocations: 2.541 MB / 0.9821 GB, free: 23.9 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.86, allocations: 0 / 0.9821 GB, free: 23.9 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.861, allocations: 1.004 MB / 0.983 GB, free: 22.8 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/1.861, allocations: 144.7 kB / 0.9832 GB, free: 22.64 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/1.861, allocations: 12 kB / 0.9832 GB, free: 22.62 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/1.862, allocations: 31.97 kB / 0.9832 GB, free: 22.59 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/1.862, allocations: 43.94 kB / 0.9833 GB, free: 22.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/1.862, allocations: 35.97 kB / 0.9833 GB, free: 22.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.654e-05/1.862, allocations: 124.4 kB / 0.9834 GB, free: 22.39 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.862, allocations: 0 / 0.9834 GB, free: 22.39 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001735/1.864, allocations: 431.6 kB / 0.9838 GB, free: 21.97 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.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.002606/1.866, allocations: 1.207 MB / 0.985 GB, free: 20.76 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/1.868, allocations: 0.5152 MB / 0.9855 GB, free: 20.25 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.868, allocations: 0 / 0.9855 GB, free: 20.25 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/1.868, allocations: 470 kB / 0.986 GB, free: 19.76 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/1.869, allocations: 87.91 kB / 0.986 GB, free: 19.68 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.871, allocations: 1.176 MB / 0.9872 GB, free: 18.45 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/1.871, allocations: 0.793 MB / 0.988 GB, free: 17.63 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000671/1.872, allocations: 158.7 kB / 0.9881 GB, free: 17.47 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/1.872, allocations: 63.39 kB / 0.9882 GB, free: 17.41 MB / 234.7 MB Notification: Performance of SimCode: time 7.41e-07/1.872, allocations: 0 / 0.9882 GB, free: 17.41 MB / 234.7 MB Notification: Performance of Templates: time 0.1475/2.019, allocations: 22.01 MB / 1.01 GB, free: 44.12 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1)