Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001427/0.001427, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001811/0.001811, allocations: 191 kB / 16.14 MB, free: 6.707 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.381/1.381, allocations: 205.1 MB / 222 MB, free: 4.77 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.001212/0.001212, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.202, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3317/0.5338, allocations: 152.1 MB / 476.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.5367, allocations: 3.141 MB / 479.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.5368, allocations: 0 / 479.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.5374, allocations: 102.1 kB / 480 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.5398, allocations: 1.098 MB / 481.1 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.5407, allocations: 351.1 kB / 481.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.5413, allocations: 0.6246 MB / 482 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.5414, allocations: 12.02 kB / 482 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.5417, allocations: 211.2 kB / 482.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.5419, allocations: 159.7 kB / 482.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.542, allocations: 8.438 kB / 482.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.5455, allocations: 2.489 MB / 484.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.5457, allocations: 129.5 kB / 485 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.5459, allocations: 160.4 kB / 485.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.5482, allocations: 1.789 MB / 487 MB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5482, allocations: 0 / 487 MB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5482, allocations: 0 / 487 MB, free: 13.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.5483, allocations: 0 / 487 MB, free: 13.72 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002028/0.5503, allocations: 0.7647 MB / 487.7 MB, free: 13.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5503, allocations: 9.938 kB / 487.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.5527, allocations: 271.5 kB / 488 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.5531, allocations: 287.9 kB / 488.3 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5532, allocations: 24.61 kB / 488.3 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.5532, allocations: 26.91 kB / 488.3 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5545, allocations: 0.6653 MB / 489 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5545, allocations: 0 / 489 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.5546, allocations: 15.5 kB / 489 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.5546, allocations: 18.48 kB / 489 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.5562, allocations: 0.7623 MB / 489.8 MB, free: 12.81 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.003928/0.5602, allocations: 1.818 MB / 491.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.5614, allocations: 481.4 kB / 492.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.562, allocations: 232.6 kB / 492.3 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00244/0.5645, allocations: 1.388 MB / 493.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5646, allocations: 40.03 kB / 493.8 MB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.5646, allocations: 0 / 493.8 MB, free: 10.18 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: 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.01431/0.5789, allocations: 3.71 MB / 497.5 MB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.579, allocations: 85.45 kB / 497.5 MB, free: 8.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5791, allocations: 179.1 kB / 497.7 MB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.5792, allocations: 35.05 kB / 497.8 MB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.5793, allocations: 174.5 kB / 497.9 MB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.5795, allocations: 179.6 kB / 498.1 MB, free: 7.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.5797, allocations: 112.1 kB / 498.2 MB, free: 7.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5798, allocations: 340.3 kB / 498.5 MB, free: 7.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.5805, allocations: 265.5 kB / 498.8 MB, free: 7.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.5813, allocations: 426.5 kB / 499.2 MB, free: 7.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.5828, allocations: 0.7067 MB / 499.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5828, allocations: 2.406 kB / 499.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001885/0.5847, allocations: 0.7905 MB / 0.489 GB, free: 6.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5848, allocations: 7.375 kB / 0.489 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5848, allocations: 4.812 kB / 0.489 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.585, allocations: 54.97 kB / 0.489 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5862, allocations: 180 kB / 0.4892 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006285/0.5868, allocations: 1.082 MB / 0.4903 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.5876, allocations: 45.86 kB / 0.4903 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.5877, allocations: 38.11 kB / 0.4904 GB, free: 5.609 MB / 398.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.0002415/0.588, allocations: 172.2 kB / 0.4905 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.5881, allocations: 34.78 kB / 0.4906 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.5903, allocations: 0.7804 MB / 0.4913 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5903, allocations: 11.19 kB / 0.4913 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5903, allocations: 0 / 0.4913 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5903, allocations: 3.984 kB / 0.4913 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.5935, allocations: 1.544 MB / 0.4928 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5935, allocations: 7.031 kB / 0.4928 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5947, allocations: 145.3 kB / 0.493 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.5948, allocations: 44.03 kB / 0.493 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.5949, allocations: 27.98 kB / 0.493 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.5966, allocations: 2.533 MB / 0.4955 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.5966, allocations: 6.344 kB / 0.4955 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.5991, allocations: 1.077 MB / 0.4966 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5992, allocations: 99.17 kB / 0.4967 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.5993, allocations: 11.28 kB / 0.4967 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.6002, allocations: 47.34 kB / 0.4967 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.6003, allocations: 47.61 kB / 0.4968 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.502e-05/0.6004, allocations: 33.91 kB / 0.4968 GB, free: 1.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.6005, allocations: 129.7 kB / 0.4969 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6005, allocations: 2.812 kB / 0.4969 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001865/0.6023, allocations: 402.4 kB / 0.4973 GB, free: 0.918 MB / 398.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.003409/0.6057, allocations: 0.8667 MB / 0.4982 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.6078, allocations: 0.6522 MB / 0.4988 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6078, allocations: 2.719 kB / 0.4988 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.609, allocations: 0.5261 MB / 0.4993 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.6098, allocations: 118.8 kB / 0.4994 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.6121, allocations: 1.11 MB / 0.5005 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.6125, allocations: 0.7837 MB / 0.5013 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.6137, allocations: 182.8 kB / 0.5015 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.6141, allocations: 64.36 kB / 0.5015 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6141, allocations: 0 / 0.5015 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Templates: time 0.02433/0.6384, allocations: 15.6 MB / 0.5168 GB, free: 0.8867 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1)