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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007758/0.007758, allocations: 98.34 kB / 15.73 MB, free: 6.008 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.001695/0.001695, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.343/1.343, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.00113/0.00113, allocations: 46.69 kB / 326.5 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08566, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.384/0.4697, allocations: 151.2 MB / 0.5121 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.4733, allocations: 3.042 MB / 0.515 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.4735, allocations: 2.469 kB / 0.515 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.4738, allocations: 62.97 kB / 0.5151 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.4764, allocations: 1.013 MB / 0.5161 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.477, allocations: 195.1 kB / 0.5163 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.4774, allocations: 353 kB / 0.5166 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.4775, allocations: 8.781 kB / 0.5166 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.4778, allocations: 149 kB / 0.5167 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.478, allocations: 105.2 kB / 0.5168 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.4781, allocations: 16.56 kB / 0.5169 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.4809, allocations: 1.463 MB / 0.5183 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.481, allocations: 81.39 kB / 0.5184 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.4812, allocations: 103.3 kB / 0.5185 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.4831, allocations: 0.9887 MB / 0.5194 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4831, allocations: 0 / 0.5194 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4831, allocations: 0 / 0.5194 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.4831, allocations: 6.969 kB / 0.5194 GB, free: 288 kB / 398.1 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.001144/0.4843, allocations: 0.5476 MB / 0.52 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4843, allocations: 9.469 kB / 0.52 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.4858, allocations: 198.7 kB / 0.5202 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.4862, allocations: 253.9 kB / 0.5204 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4863, allocations: 12.69 kB / 0.5204 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.4863, allocations: 28.55 kB / 0.5205 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.487, allocations: 370.2 kB / 0.5208 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.487, allocations: 3.938 kB / 0.5208 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.487, allocations: 12.72 kB / 0.5208 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4871, allocations: 9 kB / 0.5208 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.4876, allocations: 415.5 kB / 0.5212 GB, free: 15.01 MB / 414.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.001724/0.4894, allocations: 0.8185 MB / 0.522 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4898, allocations: 221.8 kB / 0.5222 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.49, allocations: 121.6 kB / 0.5224 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.4916, allocations: 0.8931 MB / 0.5232 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4917, allocations: 38.56 kB / 0.5233 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.4917, allocations: 4 kB / 0.5233 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.001193/0.4929, allocations: 367.1 kB / 0.5236 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.493, allocations: 81.11 kB / 0.5237 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.4931, allocations: 120.5 kB / 0.5238 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.4931, allocations: 37.64 kB / 0.5238 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.4932, allocations: 108.6 kB / 0.5239 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.4933, allocations: 115 kB / 0.5241 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4934, allocations: 62.03 kB / 0.5241 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4935, allocations: 322.8 kB / 0.5244 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.4937, allocations: 96.59 kB / 0.5245 GB, free: 11.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.494, allocations: 187.5 kB / 0.5247 GB, free: 11.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.4945, allocations: 298.8 kB / 0.525 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4945, allocations: 4 kB / 0.525 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006274/0.4951, allocations: 341.8 kB / 0.5253 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4951, allocations: 5.094 kB / 0.5253 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4952, allocations: 4 kB / 0.5253 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4952, allocations: 4 kB / 0.5253 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.4955, allocations: 75.89 kB / 0.5254 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4956, allocations: 4 kB / 0.5254 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4958, allocations: 27.78 kB / 0.5254 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.4958, allocations: 27.92 kB / 0.5255 GB, free: 10.64 MB / 414.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.496, allocations: 137.9 kB / 0.5256 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4961, allocations: 23.84 kB / 0.5256 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.4968, allocations: 326.3 kB / 0.5259 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4968, allocations: 4 kB / 0.5259 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4968, allocations: 0 / 0.5259 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4968, allocations: 3.984 kB / 0.5259 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.4974, allocations: 327.1 kB / 0.5262 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4974, allocations: 3.984 kB / 0.5262 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.4978, allocations: 59.91 kB / 0.5263 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4978, allocations: 0 / 0.5263 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.4978, allocations: 12 kB / 0.5263 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4978, allocations: 4 kB / 0.5263 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4978, allocations: 0.5625 kB / 0.5263 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.4986, allocations: 0.5068 MB / 0.5268 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.4986, allocations: 89 kB / 0.5269 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4987, allocations: 8.062 kB / 0.5269 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.499, allocations: 16.73 kB / 0.5269 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4991, allocations: 23.91 kB / 0.5269 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.4991, allocations: 15.98 kB / 0.527 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.148e-05/0.4992, allocations: 92.75 kB / 0.527 GB, free: 8.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4992, allocations: 3.938 kB / 0.527 GB, free: 8.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008321/0.5, allocations: 227.4 kB / 0.5273 GB, free: 8.68 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.5012, allocations: 434.3 kB / 0.5277 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.5018, allocations: 256.4 kB / 0.5279 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5018, allocations: 4.625 kB / 0.5279 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.5021, allocations: 136.1 kB / 0.5281 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.5027, allocations: 87.77 kB / 0.5281 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5039, allocations: 0.7168 MB / 0.5288 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5042, allocations: 0.7283 MB / 0.5296 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.5045, allocations: 73.83 kB / 0.5296 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5047, allocations: 31.44 kB / 0.5297 GB, free: 6.176 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5047, allocations: 4 kB / 0.5297 GB, free: 6.172 MB / 414.1 MB Notification: Performance of Templates: time 0.01358/0.5182, allocations: 8.346 MB / 0.5378 GB, free: 13.81 MB / 430.1 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)