Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006111/0.00611, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001218/0.001219, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001216/0.001216, allocations: 53.5 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08382, allocations: 46.63 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3729/0.4567, allocations: 150.9 MB / 0.5117 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.4584, allocations: 1.482 MB / 0.5132 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.4585, allocations: 0 / 0.5132 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.4589, allocations: 51.41 kB / 0.5132 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008663/0.4597, allocations: 387.6 kB / 0.5136 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.4602, allocations: 179.2 kB / 0.5138 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.4604, allocations: 181.8 kB / 0.514 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.4605, allocations: 9.359 kB / 0.514 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4606, allocations: 83.34 kB / 0.514 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.4608, allocations: 52.14 kB / 0.5141 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.4608, allocations: 4.688 kB / 0.5141 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.4617, allocations: 0.5721 MB / 0.5147 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.4617, allocations: 36.34 kB / 0.5147 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.4618, allocations: 52.67 kB / 0.5147 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.4623, allocations: 394 kB / 0.5151 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4623, allocations: 3.125 kB / 0.5151 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4623, allocations: 0 / 0.5151 GB, free: 3.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.4624, allocations: 1.5 kB / 0.5151 GB, free: 3.062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005039/0.4629, allocations: 421.7 kB / 0.5155 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4629, allocations: 10.19 kB / 0.5155 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.465, allocations: 193.8 kB / 0.5157 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.4653, allocations: 204.1 kB / 0.5159 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4653, allocations: 13.5 kB / 0.5159 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.4654, allocations: 8.219 kB / 0.5159 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.4658, allocations: 206.5 kB / 0.5161 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4658, allocations: 0 / 0.5161 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.4659, allocations: 5.625 kB / 0.5161 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4659, allocations: 7.219 kB / 0.5161 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4664, allocations: 237.8 kB / 0.5164 GB, free: 2.23 MB / 398.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.001597/0.468, allocations: 0.6716 MB / 0.517 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.4684, allocations: 199.2 kB / 0.5172 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.4686, allocations: 88.95 kB / 0.5173 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4688, allocations: 95.81 kB / 0.5174 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4688, allocations: 37.44 kB / 0.5174 GB, free: 1.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4688, allocations: 0 / 0.5174 GB, free: 1.371 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005535/0.4744, allocations: 1.528 MB / 0.5189 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.4744, allocations: 51.41 kB / 0.519 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.4745, allocations: 118.5 kB / 0.5191 GB, free: 112 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4745, allocations: 25.7 kB / 0.5191 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.4746, allocations: 90.77 kB / 0.5192 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.4747, allocations: 74.89 kB / 0.5193 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.4748, allocations: 42.64 kB / 0.5193 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.4749, allocations: 329.4 kB / 0.5196 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.4751, allocations: 90.98 kB / 0.5197 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.4753, allocations: 128.9 kB / 0.5198 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.4757, allocations: 229.8 kB / 0.52 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4757, allocations: 0 / 0.52 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000575/0.4763, allocations: 286.6 kB / 0.5203 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4764, allocations: 5.812 kB / 0.5203 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4764, allocations: 0 / 0.5203 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.4765, allocations: 29.12 kB / 0.5204 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4769, allocations: 57.95 kB / 0.5204 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003388/0.4773, allocations: 0.5312 MB / 0.5209 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.4776, allocations: 13.23 kB / 0.5209 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.4776, allocations: 7.531 kB / 0.5209 GB, free: 14.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4777, allocations: 134.8 kB / 0.5211 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.4778, allocations: 15.17 kB / 0.5211 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.4785, allocations: 315.2 kB / 0.5214 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4785, allocations: 2.719 kB / 0.5214 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4786, allocations: 7.875 kB / 0.5214 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4786, allocations: 6.078 kB / 0.5214 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.4797, allocations: 0.6744 MB / 0.5221 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4797, allocations: 0.875 kB / 0.5221 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.4801, allocations: 47.02 kB / 0.5221 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.4802, allocations: 23.03 kB / 0.5221 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.4802, allocations: 6.859 kB / 0.5221 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008215/0.4811, allocations: 1.372 MB / 0.5235 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4811, allocations: 2.5 kB / 0.5235 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.4819, allocations: 440.1 kB / 0.5239 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.4819, allocations: 94.23 kB / 0.524 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.482, allocations: 6.781 kB / 0.524 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.4823, allocations: 12.86 kB / 0.524 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.4823, allocations: 15.33 kB / 0.524 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4824, allocations: 15.23 kB / 0.524 GB, free: 11.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.4824, allocations: 88.69 kB / 0.5241 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4824, allocations: 0 / 0.5241 GB, free: 11.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.4829, allocations: 131 kB / 0.5242 GB, free: 11.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0006586/0.4836, allocations: 249.1 kB / 0.5245 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008901/0.4845, allocations: 246.2 kB / 0.5247 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4845, allocations: 0 / 0.5247 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.4851, allocations: 222.6 kB / 0.5249 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.4858, allocations: 60.67 kB / 0.525 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.487, allocations: 483 kB / 0.5255 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.4874, allocations: 0.7085 MB / 0.5261 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000459/0.4878, allocations: 53.33 kB / 0.5262 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.488, allocations: 23.44 kB / 0.5262 GB, free: 9.602 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4881, allocations: 0 / 0.5262 GB, free: 9.602 MB / 414.1 MB Notification: Performance of Templates: time 0.01459/0.5026, allocations: 6.322 MB / 0.5324 GB, free: 3.266 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)