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.008137/0.008143, allocations: 99.12 kB / 15.73 MB, free: 6.449 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.001553/0.001553, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001272/0.001272, allocations: 53.27 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09274, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3631/0.4559, allocations: 154.3 MB / 0.5151 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.4593, allocations: 3.043 MB / 0.518 GB, free: 464 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.4594, allocations: 2.625 kB / 0.518 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.4599, allocations: 105.7 kB / 0.5181 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.4629, allocations: 1.185 MB / 0.5193 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.464, allocations: 392.4 kB / 0.5197 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.4647, allocations: 460.3 kB / 0.5201 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.4647, allocations: 15.75 kB / 0.5201 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.4652, allocations: 228.6 kB / 0.5203 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.4654, allocations: 141.6 kB / 0.5205 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.4654, allocations: 17.09 kB / 0.5205 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.4693, allocations: 2.068 MB / 0.5225 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4694, allocations: 133.4 kB / 0.5226 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.4697, allocations: 169.7 kB / 0.5228 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.4724, allocations: 1.535 MB / 0.5243 GB, free: 12.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.4724, allocations: 3.984 kB / 0.5243 GB, free: 12.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4725, allocations: 0 / 0.5243 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4725, allocations: 0 / 0.5243 GB, free: 12.16 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.002342/0.4748, allocations: 0.7905 MB / 0.5251 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4749, allocations: 8.031 kB / 0.5251 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.4756, allocations: 104.7 kB / 0.5252 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.476, allocations: 283.7 kB / 0.5255 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4761, allocations: 16.56 kB / 0.5255 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.4762, allocations: 32 kB / 0.5255 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4773, allocations: 0.5809 MB / 0.5261 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4773, allocations: 0 / 0.5261 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.4774, allocations: 19.98 kB / 0.5261 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.4774, allocations: 28.36 kB / 0.5261 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4787, allocations: 0.638 MB / 0.5267 GB, free: 9.566 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.003087/0.4818, allocations: 1.29 MB / 0.528 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.4828, allocations: 356.9 kB / 0.5283 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.4833, allocations: 169.6 kB / 0.5285 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.4858, allocations: 1.383 MB / 0.5298 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4859, allocations: 38.56 kB / 0.5299 GB, free: 6.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/0.4859, allocations: 0 / 0.5299 GB, free: 6.031 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.01495/0.5008, allocations: 3.486 MB / 0.5333 GB, free: 2.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.5009, allocations: 85.09 kB / 0.5334 GB, free: 2.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.5011, allocations: 178.5 kB / 0.5335 GB, free: 2.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.5011, allocations: 37.69 kB / 0.5336 GB, free: 2.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.5012, allocations: 184.6 kB / 0.5338 GB, free: 1.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.5014, allocations: 186.4 kB / 0.5339 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.5016, allocations: 114.3 kB / 0.534 GB, free: 1.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5017, allocations: 338.8 kB / 0.5344 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.5025, allocations: 265.1 kB / 0.5346 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.5034, allocations: 429.4 kB / 0.535 GB, free: 456 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.5051, allocations: 0.6952 MB / 0.5357 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5051, allocations: 0 / 0.5357 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002023/0.5071, allocations: 0.7924 MB / 0.5365 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5072, allocations: 8.141 kB / 0.5365 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5072, allocations: 8 kB / 0.5365 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.5074, allocations: 53.69 kB / 0.5365 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5086, allocations: 175.7 kB / 0.5367 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/0.5092, allocations: 1.089 MB / 0.5378 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.51, allocations: 44.14 kB / 0.5378 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.5101, allocations: 35.98 kB / 0.5379 GB, free: 13.41 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.0002409/0.5103, allocations: 181.6 kB / 0.538 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5104, allocations: 27.86 kB / 0.5381 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.5126, allocations: 0.7823 MB / 0.5388 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.5126, allocations: 4 kB / 0.5388 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5127, allocations: 11.98 kB / 0.5388 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5127, allocations: 0 / 0.5388 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.516, allocations: 1.559 MB / 0.5404 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.516, allocations: 4 kB / 0.5404 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5171, allocations: 152 kB / 0.5405 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.5172, allocations: 41.64 kB / 0.5405 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.5173, allocations: 31.91 kB / 0.5406 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.5191, allocations: 2.726 MB / 0.5432 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5191, allocations: 4 kB / 0.5432 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.5218, allocations: 1.073 MB / 0.5443 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5219, allocations: 105 kB / 0.5444 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.522, allocations: 20 kB / 0.5444 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.5228, allocations: 39.95 kB / 0.5444 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.5229, allocations: 35.89 kB / 0.5445 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.523, allocations: 35.97 kB / 0.5445 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.5231, allocations: 132.4 kB / 0.5446 GB, free: 5.996 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5231, allocations: 0 / 0.5446 GB, free: 5.996 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001948/0.5251, allocations: 387.2 kB / 0.545 GB, free: 5.617 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.002358/0.5275, allocations: 0.8636 MB / 0.5458 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.5295, allocations: 0.6519 MB / 0.5465 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5296, allocations: 0 / 0.5465 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5307, allocations: 0.5333 MB / 0.547 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.5315, allocations: 95.84 kB / 0.5471 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.5334, allocations: 0.9873 MB / 0.5481 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5338, allocations: 0.7852 MB / 0.5488 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008347/0.5347, allocations: 195 kB / 0.549 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.535, allocations: 63.39 kB / 0.5491 GB, free: 1.34 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.535, allocations: 0 / 0.5491 GB, free: 1.34 MB / 430.1 MB Notification: Performance of Templates: time 0.02544/0.5604, allocations: 16.19 MB / 0.5649 GB, free: 1.094 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)