Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008269/0.008269, allocations: 101.9 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.001564/0.001564, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.6 MB, free: 4.523 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.001244/0.001244, allocations: 54.36 kB / 326.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.0872, allocations: 46.62 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3797/0.4669, allocations: 154.3 MB / 0.5151 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.4706, allocations: 3.055 MB / 0.518 GB, free: 480 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.4708, allocations: 2.906 kB / 0.518 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.4713, allocations: 107.1 kB / 0.5181 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.4747, allocations: 1.172 MB / 0.5193 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.476, allocations: 390.4 kB / 0.5197 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.4767, allocations: 452.1 kB / 0.5201 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.097e-05/0.4768, allocations: 9.375 kB / 0.5201 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.4772, allocations: 231.4 kB / 0.5203 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4775, allocations: 144 kB / 0.5205 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.4775, allocations: 14.44 kB / 0.5205 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.4819, allocations: 2.063 MB / 0.5225 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4822, allocations: 137.5 kB / 0.5226 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.4825, allocations: 173.5 kB / 0.5228 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.4855, allocations: 1.529 MB / 0.5243 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4855, allocations: 4 kB / 0.5243 GB, free: 12.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4855, allocations: 0 / 0.5243 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4855, allocations: 3.938 kB / 0.5243 GB, free: 12.22 MB / 414.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.002364/0.4879, allocations: 0.7684 MB / 0.525 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.4879, allocations: 8.031 kB / 0.525 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.4887, allocations: 108.6 kB / 0.5251 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.4892, allocations: 283.6 kB / 0.5254 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4892, allocations: 20.5 kB / 0.5254 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.4893, allocations: 31.98 kB / 0.5255 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4904, allocations: 0.5926 MB / 0.526 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.4904, allocations: 4 kB / 0.5261 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.4905, allocations: 12 kB / 0.5261 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.4906, allocations: 20.42 kB / 0.5261 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4919, allocations: 0.6379 MB / 0.5267 GB, free: 9.637 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.002924/0.4948, allocations: 1.278 MB / 0.528 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.4958, allocations: 364.9 kB / 0.5283 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.4963, allocations: 173.6 kB / 0.5285 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.4988, allocations: 1.372 MB / 0.5298 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4989, allocations: 46.5 kB / 0.5298 GB, free: 6.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/0.4989, allocations: 0 / 0.5298 GB, free: 6.105 MB / 414.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.01599/0.5149, allocations: 3.479 MB / 0.5332 GB, free: 2.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.515, allocations: 85.11 kB / 0.5333 GB, free: 2.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.5151, allocations: 178.5 kB / 0.5335 GB, free: 2.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/0.5152, allocations: 33.7 kB / 0.5335 GB, free: 2.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5153, allocations: 180.1 kB / 0.5337 GB, free: 1.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.5155, allocations: 173.5 kB / 0.5339 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.5157, allocations: 122.1 kB / 0.534 GB, free: 1.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5158, allocations: 346.7 kB / 0.5343 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/0.5166, allocations: 261.1 kB / 0.5346 GB, free: 1.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/0.5176, allocations: 429.5 kB / 0.535 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.5193, allocations: 0.6991 MB / 0.5357 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5193, allocations: 0 / 0.5357 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002093/0.5214, allocations: 0.78 MB / 0.5364 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5214, allocations: 8.156 kB / 0.5364 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5214, allocations: 4 kB / 0.5364 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.5217, allocations: 58.25 kB / 0.5365 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5229, allocations: 179.7 kB / 0.5367 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006628/0.5236, allocations: 1.081 MB / 0.5377 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.5244, allocations: 39.95 kB / 0.5378 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.5245, allocations: 43.98 kB / 0.5378 GB, free: 13.51 MB / 430.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.0003124/0.5249, allocations: 185.6 kB / 0.538 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.525, allocations: 27.72 kB / 0.538 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5273, allocations: 0.7861 MB / 0.5388 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.5273, allocations: 4 kB / 0.5388 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5273, allocations: 4 kB / 0.5388 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.5273, allocations: 3.984 kB / 0.5388 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.5306, allocations: 1.55 MB / 0.5403 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.5307, allocations: 7.984 kB / 0.5403 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.5318, allocations: 151.7 kB / 0.5404 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.532, allocations: 45.81 kB / 0.5405 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.5321, allocations: 27.92 kB / 0.5405 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.5338, allocations: 2.718 MB / 0.5432 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5339, allocations: 11.95 kB / 0.5432 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.5366, allocations: 1.066 MB / 0.5442 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5367, allocations: 100.9 kB / 0.5443 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.5368, allocations: 16 kB / 0.5443 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.5377, allocations: 43.95 kB / 0.5444 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.5378, allocations: 47.83 kB / 0.5444 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/0.5378, allocations: 35.91 kB / 0.5445 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.538, allocations: 128.4 kB / 0.5446 GB, free: 6.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.538, allocations: 0 / 0.5446 GB, free: 6.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001404/0.5394, allocations: 387.8 kB / 0.5449 GB, free: 5.715 MB / 430.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.002285/0.5417, allocations: 0.8603 MB / 0.5458 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.5438, allocations: 0.6597 MB / 0.5464 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5438, allocations: 0 / 0.5464 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.545, allocations: 0.5325 MB / 0.5469 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.5458, allocations: 87.97 kB / 0.547 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.5478, allocations: 0.9803 MB / 0.548 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5482, allocations: 0.7813 MB / 0.5488 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008702/0.5491, allocations: 179.1 kB / 0.5489 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.5494, allocations: 71.38 kB / 0.549 GB, free: 1.461 MB / 430.1 MB Notification: Performance of SimCode: time 2.184e-06/0.5494, allocations: 0 / 0.549 GB, free: 1.461 MB / 430.1 MB Notification: Performance of Templates: time 0.02346/0.5729, allocations: 16.2 MB / 0.5648 GB, free: 1.211 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1)