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.000996/0.0009959, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.001301/0.001301, allocations: 173.3 kB / 16.27 MB, free: 6.656 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.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004421/0.0004421, allocations: 18.66 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3651/0.583, allocations: 150.1 MB / 477.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.5863, allocations: 3.103 MB / 480.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.5864, allocations: 0 / 480.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.5868, allocations: 101.5 kB / 480.3 MB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.5895, allocations: 1.099 MB / 481.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.5904, allocations: 352.3 kB / 481.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/0.5911, allocations: 0.6229 MB / 482.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.5912, allocations: 18.53 kB / 482.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.5915, allocations: 209.4 kB / 482.6 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.5918, allocations: 162.4 kB / 482.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.5918, allocations: 11.34 kB / 482.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.596, allocations: 2.479 MB / 485.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.5961, allocations: 132.9 kB / 485.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.5964, allocations: 185.5 kB / 485.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.5992, allocations: 1.772 MB / 487.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5992, allocations: 0 / 487.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5992, allocations: 0 / 487.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.5992, allocations: 4 kB / 487.3 MB, free: 14.23 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.002075/0.6013, allocations: 0.7006 MB / 488 MB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.6014, allocations: 10.81 kB / 488 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.6038, allocations: 266.5 kB / 488.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.6042, allocations: 283 kB / 488.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6042, allocations: 27.38 kB / 488.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.6043, allocations: 23.59 kB / 488.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.6056, allocations: 0.6754 MB / 489.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6056, allocations: 0 / 489.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.6057, allocations: 13.06 kB / 489.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.6057, allocations: 22.61 kB / 489.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.6075, allocations: 0.7525 MB / 490.1 MB, free: 13.05 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.004116/0.6116, allocations: 1.817 MB / 491.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6129, allocations: 482.8 kB / 492.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.6135, allocations: 237.7 kB / 492.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002489/0.616, allocations: 1.38 MB / 494 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.6161, allocations: 40.66 kB / 494 MB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.6161, allocations: 4 kB / 494 MB, free: 10.41 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.0135/0.6296, allocations: 3.616 MB / 497.7 MB, free: 8.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.6297, allocations: 82.86 kB / 497.7 MB, free: 8.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.6299, allocations: 179.8 kB / 497.9 MB, free: 8.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.6299, allocations: 29.33 kB / 497.9 MB, free: 8.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.63, allocations: 188.3 kB / 498.1 MB, free: 8.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.6302, allocations: 171.8 kB / 498.3 MB, free: 8.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.6303, allocations: 49.94 kB / 498.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6304, allocations: 345.8 kB / 498.7 MB, free: 7.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.6312, allocations: 261.2 kB / 498.9 MB, free: 7.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/0.632, allocations: 429 kB / 499.4 MB, free: 7.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.6336, allocations: 0.7092 MB / 0.4883 GB, free: 7.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6336, allocations: 2.031 kB / 0.4883 GB, free: 7.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001952/0.6356, allocations: 0.7807 MB / 0.4891 GB, free: 7.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6356, allocations: 11.88 kB / 0.4891 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6356, allocations: 3.531 kB / 0.4891 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.6358, allocations: 63.34 kB / 0.4892 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.637, allocations: 173.8 kB / 0.4893 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007659/0.6378, allocations: 1.085 MB / 0.4904 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.6386, allocations: 36.84 kB / 0.4904 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.6387, allocations: 47.44 kB / 0.4905 GB, free: 5.906 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.0003354/0.6391, allocations: 175.6 kB / 0.4907 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6392, allocations: 25.5 kB / 0.4907 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6415, allocations: 0.7845 MB / 0.4914 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.6415, allocations: 9.75 kB / 0.4915 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6415, allocations: 4 kB / 0.4915 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6416, allocations: 3.984 kB / 0.4915 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.6448, allocations: 1.545 MB / 0.493 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.6448, allocations: 6.625 kB / 0.493 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6459, allocations: 150.5 kB / 0.4931 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.646, allocations: 43.12 kB / 0.4932 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.6461, allocations: 29.69 kB / 0.4932 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6478, allocations: 2.537 MB / 0.4957 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6478, allocations: 3.062 kB / 0.4957 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6505, allocations: 1.074 MB / 0.4967 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.6506, allocations: 96.77 kB / 0.4968 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.6507, allocations: 13.31 kB / 0.4968 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.6515, allocations: 45.97 kB / 0.4969 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.6516, allocations: 43.19 kB / 0.4969 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.6517, allocations: 36.91 kB / 0.4969 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.6518, allocations: 123.9 kB / 0.4971 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6518, allocations: 3.312 kB / 0.4971 GB, free: 1.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001667/0.6535, allocations: 399.4 kB / 0.4974 GB, free: 1.219 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.00297/0.6564, allocations: 0.8778 MB / 0.4983 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.6585, allocations: 0.6537 MB / 0.4989 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6585, allocations: 3.938 kB / 0.4989 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6596, allocations: 0.5292 MB / 0.4995 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.6604, allocations: 106.5 kB / 0.4996 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.6627, allocations: 1.205 MB / 0.5007 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.663, allocations: 0.7844 MB / 0.5015 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001171/0.6642, allocations: 184 kB / 0.5017 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.6645, allocations: 60.78 kB / 0.5017 GB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6645, allocations: 0 / 0.5017 GB, free: 14.62 MB / 414.1 MB Notification: Performance of Templates: time 0.02335/0.6879, allocations: 15.57 MB / 0.5169 GB, free: 2.688 MB / 414.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)