Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.00135/0.001349, allocations: 200 kB / 18 MB, free: 5.18 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.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001321/0.001321, allocations: 55.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08548, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.357/0.4426, allocations: 154.3 MB / 0.5164 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.4462, allocations: 3.043 MB / 0.5193 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4464, allocations: 3.938 kB / 0.5193 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.4469, allocations: 99.45 kB / 0.5194 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.4497, allocations: 1.18 MB / 0.5206 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4509, allocations: 383.5 kB / 0.5209 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.4515, allocations: 458.9 kB / 0.5214 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.4516, allocations: 9.562 kB / 0.5214 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.452, allocations: 242.7 kB / 0.5216 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.4522, allocations: 135.5 kB / 0.5217 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.4523, allocations: 16 kB / 0.5218 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.456, allocations: 2.064 MB / 0.5238 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4562, allocations: 135.6 kB / 0.5239 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.4564, allocations: 167.4 kB / 0.5241 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.4587, allocations: 1.536 MB / 0.5256 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-05/0.4587, allocations: 0 / 0.5256 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4587, allocations: 0 / 0.5256 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4587, allocations: 0 / 0.5256 GB, free: 11.39 MB / 462.1 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.002102/0.4608, allocations: 0.7651 MB / 0.5263 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4609, allocations: 12.02 kB / 0.5263 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/0.4616, allocations: 108.6 kB / 0.5264 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.4621, allocations: 283.6 kB / 0.5267 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4621, allocations: 24.5 kB / 0.5267 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.4622, allocations: 27.94 kB / 0.5268 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.4633, allocations: 0.5965 MB / 0.5273 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4633, allocations: 0 / 0.5273 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.4634, allocations: 15.98 kB / 0.5273 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.4634, allocations: 20.42 kB / 0.5274 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.4647, allocations: 0.6379 MB / 0.528 GB, free: 8.809 MB / 462.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.002943/0.4676, allocations: 1.29 MB / 0.5293 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.4686, allocations: 348.9 kB / 0.5296 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.4691, allocations: 174.5 kB / 0.5297 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/0.4715, allocations: 1.38 MB / 0.5311 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4715, allocations: 38.56 kB / 0.5311 GB, free: 5.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.4715, allocations: 0 / 0.5311 GB, free: 5.277 MB / 462.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: medium1.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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01535/0.4869, allocations: 3.482 MB / 0.5345 GB, free: 1.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.487, allocations: 85.05 kB / 0.5346 GB, free: 1.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4871, allocations: 178.5 kB / 0.5348 GB, free: 1.316 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.4872, allocations: 37.7 kB / 0.5348 GB, free: 1.273 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.4873, allocations: 180.1 kB / 0.535 GB, free: 1.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4874, allocations: 173.5 kB / 0.5352 GB, free: 0.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.4876, allocations: 118.2 kB / 0.5353 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4878, allocations: 346.8 kB / 0.5356 GB, free: 460 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/0.4885, allocations: 265.1 kB / 0.5359 GB, free: 196 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.4894, allocations: 421.5 kB / 0.5363 GB, free: 15.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.4911, allocations: 0.6991 MB / 0.5369 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4911, allocations: 4 kB / 0.5369 GB, free: 14.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002076/0.4932, allocations: 0.78 MB / 0.5377 GB, free: 14.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4933, allocations: 11.94 kB / 0.5377 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4933, allocations: 8.375 kB / 0.5377 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.4935, allocations: 53.69 kB / 0.5378 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4947, allocations: 179.7 kB / 0.5379 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006562/0.4954, allocations: 1.085 MB / 0.539 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.4962, allocations: 43.95 kB / 0.539 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.4963, allocations: 39.98 kB / 0.5391 GB, free: 12.68 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.4965, allocations: 181.7 kB / 0.5393 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4967, allocations: 27.72 kB / 0.5393 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.4989, allocations: 0.7824 MB / 0.5401 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4989, allocations: 8 kB / 0.5401 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4989, allocations: 0 / 0.5401 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4989, allocations: 3.984 kB / 0.5401 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.5023, allocations: 1.554 MB / 0.5416 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5023, allocations: 0 / 0.5416 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5034, allocations: 151.7 kB / 0.5417 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.5036, allocations: 41.92 kB / 0.5418 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.5037, allocations: 27.91 kB / 0.5418 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5054, allocations: 2.727 MB / 0.5445 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5054, allocations: 4.031 kB / 0.5445 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.5082, allocations: 1.081 MB / 0.5455 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.5083, allocations: 96.83 kB / 0.5456 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.5084, allocations: 16.03 kB / 0.5456 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.5092, allocations: 43.95 kB / 0.5457 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.5093, allocations: 40.83 kB / 0.5457 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.5093, allocations: 31.97 kB / 0.5457 GB, free: 5.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.5094, allocations: 128.4 kB / 0.5459 GB, free: 5.285 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5095, allocations: 0 / 0.5459 GB, free: 5.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001379/0.5108, allocations: 383.8 kB / 0.5462 GB, free: 4.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002222/0.5131, allocations: 0.8608 MB / 0.5471 GB, free: 4.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.515, allocations: 0.6595 MB / 0.5477 GB, free: 3.387 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5151, allocations: 7.938 kB / 0.5477 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5162, allocations: 0.5298 MB / 0.5482 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.517, allocations: 91.91 kB / 0.5483 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5191, allocations: 0.9802 MB / 0.5493 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5194, allocations: 0.7852 MB / 0.55 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008113/0.5202, allocations: 187.1 kB / 0.5502 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.5206, allocations: 67.38 kB / 0.5503 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5206, allocations: 0 / 0.5503 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of Templates: time 0.1872/0.7078, allocations: 16.29 MB / 0.5662 GB, free: 162.3 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1)