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.00756/0.00756, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001356/0.001356, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001265/0.001265, allocations: 51.05 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08688, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3758/0.4628, allocations: 154.3 MB / 0.5151 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.4665, allocations: 3.041 MB / 0.518 GB, free: 452 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4667, allocations: 2.875 kB / 0.518 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.4673, allocations: 117.6 kB / 0.5181 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.4703, allocations: 1.177 MB / 0.5193 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4715, allocations: 390.7 kB / 0.5197 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.4722, allocations: 456.8 kB / 0.5201 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.4723, allocations: 15.25 kB / 0.5201 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.4729, allocations: 228.7 kB / 0.5203 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.4733, allocations: 140.2 kB / 0.5205 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.445e-05/0.4734, allocations: 15.22 kB / 0.5205 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.4776, allocations: 2.069 MB / 0.5225 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.4778, allocations: 142.5 kB / 0.5226 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.4781, allocations: 168.5 kB / 0.5228 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.4813, allocations: 1.535 MB / 0.5243 GB, free: 12.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4813, allocations: 0 / 0.5243 GB, free: 12.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4814, allocations: 0 / 0.5243 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.4814, allocations: 0 / 0.5243 GB, free: 12.24 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.002524/0.4839, allocations: 0.7645 MB / 0.525 GB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.484, allocations: 12.03 kB / 0.5251 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.4848, allocations: 104.6 kB / 0.5252 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.4852, allocations: 287.5 kB / 0.5254 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.4853, allocations: 24.56 kB / 0.5255 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4854, allocations: 28 kB / 0.5255 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.4865, allocations: 0.5887 MB / 0.5261 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4865, allocations: 0 / 0.5261 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.4866, allocations: 12 kB / 0.5261 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.4867, allocations: 28.42 kB / 0.5261 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.488, allocations: 0.6306 MB / 0.5267 GB, free: 9.668 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.00319/0.4912, allocations: 1.291 MB / 0.528 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.4923, allocations: 360.8 kB / 0.5283 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.4927, allocations: 177.2 kB / 0.5285 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.4955, allocations: 1.38 MB / 0.5298 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4955, allocations: 38.5 kB / 0.5299 GB, free: 6.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.4955, allocations: 0 / 0.5299 GB, free: 6.129 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.01486/0.5104, allocations: 3.48 MB / 0.5333 GB, free: 2.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5105, allocations: 81.11 kB / 0.5333 GB, free: 2.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5106, allocations: 178.5 kB / 0.5335 GB, free: 2.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.5107, allocations: 37.7 kB / 0.5335 GB, free: 2.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5109, allocations: 176.1 kB / 0.5337 GB, free: 1.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.511, allocations: 177.4 kB / 0.5339 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.5113, allocations: 122.2 kB / 0.534 GB, free: 1.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5114, allocations: 338.8 kB / 0.5343 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.5122, allocations: 265.1 kB / 0.5346 GB, free: 1.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.513, allocations: 425.5 kB / 0.535 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.5146, allocations: 0.6991 MB / 0.5357 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5146, allocations: 4 kB / 0.5357 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001958/0.5166, allocations: 0.7766 MB / 0.5364 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5166, allocations: 12.06 kB / 0.5364 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5166, allocations: 4 kB / 0.5364 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.5169, allocations: 61.62 kB / 0.5365 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.518, allocations: 179.8 kB / 0.5367 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007468/0.5188, allocations: 1.077 MB / 0.5377 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.5195, allocations: 49.02 kB / 0.5378 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.5196, allocations: 35.98 kB / 0.5378 GB, free: 13.54 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.0002935/0.5199, allocations: 185.5 kB / 0.538 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.5201, allocations: 27.66 kB / 0.538 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5223, allocations: 0.7862 MB / 0.5388 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.5223, allocations: 8 kB / 0.5388 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5224, allocations: 0 / 0.5388 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5224, allocations: 7.984 kB / 0.5388 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.5257, allocations: 1.55 MB / 0.5403 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5257, allocations: 7.938 kB / 0.5403 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5268, allocations: 152 kB / 0.5405 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.5269, allocations: 45.62 kB / 0.5405 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.527, allocations: 23.92 kB / 0.5405 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.5289, allocations: 2.726 MB / 0.5432 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.529, allocations: 7.922 kB / 0.5432 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.5315, allocations: 1.073 MB / 0.5442 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.5316, allocations: 100.9 kB / 0.5443 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.5317, allocations: 16 kB / 0.5444 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.5325, allocations: 35.95 kB / 0.5444 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.5326, allocations: 47.83 kB / 0.5444 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/0.5327, allocations: 35.97 kB / 0.5445 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.5328, allocations: 132.4 kB / 0.5446 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5328, allocations: 0 / 0.5446 GB, free: 6.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001415/0.5342, allocations: 383.8 kB / 0.545 GB, free: 5.738 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.0025/0.5367, allocations: 0.8615 MB / 0.5458 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.5387, allocations: 0.6533 MB / 0.5464 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5387, allocations: 0 / 0.5464 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.5398, allocations: 0.5325 MB / 0.547 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.5405, allocations: 91.84 kB / 0.547 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.5425, allocations: 0.9842 MB / 0.548 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.5429, allocations: 0.7813 MB / 0.5488 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008022/0.5437, allocations: 187.1 kB / 0.549 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.5441, allocations: 67.38 kB / 0.549 GB, free: 1.477 MB / 430.1 MB Notification: Performance of SimCode: time 1.824e-06/0.5441, allocations: 0 / 0.549 GB, free: 1.477 MB / 430.1 MB Notification: Performance of Templates: time 0.02636/0.5704, allocations: 16.2 MB / 0.5648 GB, free: 1.227 MB / 446.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)