Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.05/1.05, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001967/0.001967, allocations: 151.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.825e-05, allocations: 4 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05511/0.05515, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.808/1.864, allocations: 0.6606 GB / 0.8549 GB, free: 39.36 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.864, allocations: 61.62 kB / 0.855 GB, free: 39.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09385/1.958, allocations: 42.04 MB / 0.8961 GB, free: 104 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.958, allocations: 0 / 0.8961 GB, free: 104 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/1.958, allocations: 4 kB / 0.8961 GB, free: 100 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1484/2.106, allocations: 0.4962 MB / 0.8965 GB, free: 57.85 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/2.106, allocations: 10.22 kB / 0.8966 GB, free: 57.85 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/2.107, allocations: 24.36 kB / 0.8966 GB, free: 57.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/2.107, allocations: 223.4 kB / 0.8968 GB, free: 57.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/2.107, allocations: 3.781 kB / 0.8968 GB, free: 57.64 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/2.107, allocations: 13.03 kB / 0.8968 GB, free: 57.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006572/2.108, allocations: 434.7 kB / 0.8972 GB, free: 57.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/2.108, allocations: 311.2 kB / 0.8975 GB, free: 57.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/2.108, allocations: 0 / 0.8975 GB, free: 57.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/2.108, allocations: 1.906 kB / 0.8975 GB, free: 57.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/2.108, allocations: 8.469 kB / 0.8975 GB, free: 57.59 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001795/2.11, allocations: 1.135 MB / 0.8986 GB, free: 56.89 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/2.111, allocations: 280.3 kB / 0.8989 GB, free: 56.84 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/2.111, allocations: 109.1 kB / 0.899 GB, free: 56.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003019/2.114, allocations: 2.133 MB / 0.9011 GB, free: 54.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/2.114, allocations: 36.7 kB / 0.9011 GB, free: 54.85 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 4.478e-06/2.114, allocations: 0 / 0.9011 GB, free: 54.85 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.002102/2.116, allocations: 0.5558 MB / 0.9017 GB, free: 54.81 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/2.116, allocations: 79.86 kB / 0.9017 GB, free: 54.71 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/2.116, allocations: 103.1 kB / 0.9018 GB, free: 54.62 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/2.116, allocations: 27.17 kB / 0.9019 GB, free: 54.59 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/2.116, allocations: 111.7 kB / 0.902 GB, free: 54.5 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/2.116, allocations: 105 kB / 0.9021 GB, free: 54.45 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/2.116, allocations: 0 / 0.9021 GB, free: 54.45 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/2.116, allocations: 322.9 kB / 0.9024 GB, free: 54.13 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/2.116, allocations: 74.53 kB / 0.9025 GB, free: 54.12 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/2.117, allocations: 150.7 kB / 0.9026 GB, free: 54.03 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/2.118, allocations: 430.2 kB / 0.903 GB, free: 54.02 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/2.118, allocations: 0 / 0.903 GB, free: 54.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001819/2.12, allocations: 0.6147 MB / 0.9036 GB, free: 53.98 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/2.12, allocations: 6.469 kB / 0.9036 GB, free: 53.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/2.12, allocations: 6.344 kB / 0.9036 GB, free: 53.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/2.12, allocations: 8.281 kB / 0.9036 GB, free: 53.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/2.12, allocations: 71 kB / 0.9037 GB, free: 53.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/2.12, allocations: 13.39 kB / 0.9037 GB, free: 53.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/2.121, allocations: 25.45 kB / 0.9037 GB, free: 53.97 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/2.121, allocations: 24.94 kB / 0.9038 GB, free: 53.97 MB / 234.7 MB Warning: Assuming fixed start value for the following 6 variables: medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.8 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002353/2.121, allocations: 160.7 kB / 0.9039 GB, free: 53.86 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/2.121, allocations: 22.86 kB / 0.9039 GB, free: 53.86 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/2.123, allocations: 0.6439 MB / 0.9046 GB, free: 53.8 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/2.123, allocations: 3.469 kB / 0.9046 GB, free: 53.8 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.123, allocations: 3.531 kB / 0.9046 GB, free: 53.8 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/2.123, allocations: 0 / 0.9046 GB, free: 53.8 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/2.123, allocations: 271.7 kB / 0.9048 GB, free: 53.64 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/2.123, allocations: 0 / 0.9048 GB, free: 53.64 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/2.124, allocations: 66.77 kB / 0.9049 GB, free: 53.63 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/2.124, allocations: 1.031 kB / 0.9049 GB, free: 53.63 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/2.124, allocations: 11.64 kB / 0.9049 GB, free: 53.63 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/2.124, allocations: 6.469 kB / 0.9049 GB, free: 53.63 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/2.124, allocations: 0 / 0.9049 GB, free: 53.63 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/2.125, allocations: 0.7961 MB / 0.9057 GB, free: 53.39 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/2.126, allocations: 135 kB / 0.9058 GB, free: 53.29 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/2.126, allocations: 3.828 kB / 0.9058 GB, free: 53.29 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/2.126, allocations: 10.75 kB / 0.9058 GB, free: 53.29 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/2.126, allocations: 22.47 kB / 0.9059 GB, free: 53.29 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/2.126, allocations: 21.09 kB / 0.9059 GB, free: 53.29 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/2.126, allocations: 89.06 kB / 0.906 GB, free: 53.22 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.7e-07/2.126, allocations: 0 / 0.906 GB, free: 53.22 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001273/2.127, allocations: 263.7 kB / 0.9062 GB, free: 53.21 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/2.13, allocations: 0.8934 MB / 0.9071 GB, free: 53.06 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/2.13, allocations: 231.5 kB / 0.9073 GB, free: 53.06 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.13, allocations: 6.75 kB / 0.9073 GB, free: 53.05 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/2.131, allocations: 118.2 kB / 0.9074 GB, free: 53.05 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/2.131, allocations: 78.61 kB / 0.9075 GB, free: 53.05 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/2.132, allocations: 0.5794 MB / 0.9081 GB, free: 52.89 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/2.133, allocations: 0.7348 MB / 0.9088 GB, free: 52.2 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/2.133, allocations: 84.58 kB / 0.9089 GB, free: 52.17 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/2.133, allocations: 38.16 kB / 0.9089 GB, free: 52.16 MB / 234.7 MB Notification: Performance of SimCode: time 3.2e-07/2.133, allocations: 0 / 0.9089 GB, free: 52.16 MB / 234.7 MB Notification: Performance of Templates: time 0.01633/2.149, allocations: 10.45 MB / 0.9191 GB, free: 51.11 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)