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 0.8189/0.8189, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001713/0.001713, allocations: 142.5 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 4 kB / 184.9 MB, free: 3.941 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 25.16 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.346/1.495, allocations: 0.6613 GB / 0.8665 GB, free: 31.49 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.495, allocations: 60.22 kB / 0.8665 GB, free: 31.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2032/1.698, allocations: 42.91 MB / 0.9084 GB, free: 60.15 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.698, allocations: 0 / 0.9084 GB, free: 60.15 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/1.698, allocations: 5.844 kB / 0.9084 GB, free: 60.15 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001002/1.699, allocations: 0.5129 MB / 0.9089 GB, free: 59.73 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.699, allocations: 9.469 kB / 0.9089 GB, free: 59.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/1.699, allocations: 22.56 kB / 0.909 GB, free: 59.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/1.7, allocations: 225.7 kB / 0.9092 GB, free: 59.53 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/1.7, allocations: 13.44 kB / 0.9092 GB, free: 59.53 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/1.7, allocations: 25.72 kB / 0.9092 GB, free: 59.53 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/1.7, allocations: 333.5 kB / 0.9095 GB, free: 59.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.7, allocations: 0 / 0.9095 GB, free: 59.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/1.7, allocations: 12.22 kB / 0.9095 GB, free: 59.48 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.7, allocations: 7.438 kB / 0.9095 GB, free: 59.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/1.701, allocations: 451.8 kB / 0.91 GB, free: 59.48 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.001534/1.702, allocations: 1.184 MB / 0.9111 GB, free: 58.74 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/1.703, allocations: 302 kB / 0.9114 GB, free: 58.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/1.705, allocations: 2.137 MB / 0.9135 GB, free: 56.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.705, allocations: 36.19 kB / 0.9135 GB, free: 56.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/1.705, allocations: 0 / 0.9135 GB, free: 56.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.00052/1.706, allocations: 332.1 kB / 0.9139 GB, free: 56.67 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.706, allocations: 79.55 kB / 0.9139 GB, free: 56.58 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/1.706, allocations: 106.1 kB / 0.914 GB, free: 56.49 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.706, allocations: 31.73 kB / 0.9141 GB, free: 56.46 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/1.706, allocations: 110.2 kB / 0.9142 GB, free: 56.36 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/1.706, allocations: 107.8 kB / 0.9143 GB, free: 56.3 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/1.706, allocations: 8.562 kB / 0.9143 GB, free: 56.3 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/1.706, allocations: 330.5 kB / 0.9146 GB, free: 55.99 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/1.706, allocations: 77.02 kB / 0.9147 GB, free: 55.98 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/1.706, allocations: 158.5 kB / 0.9148 GB, free: 55.89 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/1.707, allocations: 107.5 kB / 0.9149 GB, free: 55.88 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.707, allocations: 0 / 0.9149 GB, free: 55.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004014/1.707, allocations: 334.4 kB / 0.9152 GB, free: 55.84 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.707, allocations: 5.688 kB / 0.9153 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.707, allocations: 3.438 kB / 0.9153 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.707, allocations: 4.5 kB / 0.9153 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.707, allocations: 72.88 kB / 0.9153 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.707, allocations: 7.875 kB / 0.9153 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/1.707, allocations: 27.47 kB / 0.9154 GB, free: 55.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/1.707, allocations: 22.14 kB / 0.9154 GB, free: 55.84 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0002882/1.708, allocations: 207.7 kB / 0.9156 GB, free: 55.71 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/1.708, allocations: 12.69 kB / 0.9156 GB, free: 55.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/1.708, allocations: 358.6 kB / 0.9159 GB, free: 55.64 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.708, allocations: 3.344 kB / 0.9159 GB, free: 55.64 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.708, allocations: 2.188 kB / 0.9159 GB, free: 55.64 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.708, allocations: 3.188 kB / 0.9159 GB, free: 55.64 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/1.709, allocations: 319 kB / 0.9163 GB, free: 55.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.709, allocations: 6.969 kB / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.709, allocations: 52.14 kB / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.709, allocations: 3.969 kB / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.709, allocations: 12.3 kB / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.709, allocations: 3.875 kB / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.709, allocations: 0 / 0.9163 GB, free: 55.44 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/1.71, allocations: 0.506 MB / 0.9168 GB, free: 55.21 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/1.71, allocations: 134.6 kB / 0.9169 GB, free: 55.11 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/1.71, allocations: 10.11 kB / 0.917 GB, free: 55.11 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/1.71, allocations: 9.219 kB / 0.917 GB, free: 55.11 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/1.71, allocations: 26.92 kB / 0.917 GB, free: 55.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/1.71, allocations: 20.89 kB / 0.917 GB, free: 55.11 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.301e-05/1.71, allocations: 91 kB / 0.9171 GB, free: 55.04 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.71, allocations: 5 kB / 0.9171 GB, free: 55.04 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001206/1.711, allocations: 273.8 kB / 0.9174 GB, free: 55 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 () * Number of clocked 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.001346/1.713, allocations: 0.8185 MB / 0.9182 GB, free: 54.84 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/1.713, allocations: 254.8 kB / 0.9184 GB, free: 54.83 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.713, allocations: 0 / 0.9184 GB, free: 54.83 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/1.713, allocations: 120.4 kB / 0.9185 GB, free: 54.83 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/1.714, allocations: 82.23 kB / 0.9186 GB, free: 54.83 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/1.715, allocations: 0.8805 MB / 0.9195 GB, free: 54.32 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/1.715, allocations: 0.7363 MB / 0.9202 GB, free: 53.62 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002696/1.715, allocations: 85.95 kB / 0.9203 GB, free: 53.59 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/1.715, allocations: 31.62 kB / 0.9203 GB, free: 53.58 MB / 234.7 MB Notification: Performance of SimCode: time 2.31e-07/1.715, allocations: 0 / 0.9203 GB, free: 53.58 MB / 234.7 MB Notification: Performance of Templates: time 0.01959/1.735, allocations: 14.46 MB / 0.9344 GB, free: 51.45 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)