Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001118/0.001118, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.001148/0.001148, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.324/1.324, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001204/0.001204, allocations: 52.34 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08758, allocations: 46.62 MB / 326.6 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3762/0.4639, allocations: 154.3 MB / 480.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.4677, allocations: 3.04 MB / 483.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.4679, allocations: 4 kB / 483.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.4685, allocations: 107.4 kB / 484 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.4715, allocations: 1.176 MB / 485.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4726, allocations: 383.6 kB / 485.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.4733, allocations: 462.6 kB / 486 MB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.4733, allocations: 13.55 kB / 486 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.4738, allocations: 227 kB / 486.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.474, allocations: 143.5 kB / 486.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.474, allocations: 16 kB / 486.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.478, allocations: 2.131 MB / 488.5 MB, free: 5.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.4782, allocations: 139.7 kB / 488.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4784, allocations: 159.4 kB / 488.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.4813, allocations: 1.567 MB / 490.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4813, allocations: 0 / 490.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4813, allocations: 4 kB / 490.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4813, allocations: 0 / 490.4 MB, free: 3.301 MB / 382.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.00234/0.4837, allocations: 0.7729 MB / 491.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4837, allocations: 12.03 kB / 491.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.4862, allocations: 268.8 kB / 491.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.4867, allocations: 279.9 kB / 491.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.4867, allocations: 24.5 kB / 491.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4868, allocations: 24 kB / 491.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4882, allocations: 0.6784 MB / 492.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4883, allocations: 0 / 492.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.4884, allocations: 15.98 kB / 492.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.4884, allocations: 20.42 kB / 492.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.49, allocations: 0.7589 MB / 493.2 MB, free: 368 kB / 382.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.004244/0.4943, allocations: 1.829 MB / 495.1 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4957, allocations: 469.4 kB / 495.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.4964, allocations: 230.5 kB / 495.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002724/0.4991, allocations: 1.387 MB / 497.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.4992, allocations: 42.44 kB / 497.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.4992, allocations: 4 kB / 497.2 MB, free: 12.06 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.01491/0.5141, allocations: 3.711 MB / 0.4892 GB, free: 8.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5142, allocations: 81.11 kB / 0.4892 GB, free: 8.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.5144, allocations: 186.5 kB / 0.4894 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.5145, allocations: 33.7 kB / 0.4895 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5146, allocations: 176.1 kB / 0.4896 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.5148, allocations: 177.5 kB / 0.4898 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.515, allocations: 110.3 kB / 0.4899 GB, free: 7.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5152, allocations: 342.8 kB / 0.4902 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008274/0.516, allocations: 265.1 kB / 0.4905 GB, free: 6.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.517, allocations: 425.5 kB / 0.4909 GB, free: 6.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.5188, allocations: 0.7108 MB / 0.4916 GB, free: 5.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5188, allocations: 4 kB / 0.4916 GB, free: 5.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002104/0.5209, allocations: 0.7801 MB / 0.4923 GB, free: 4.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5209, allocations: 11.28 kB / 0.4923 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.521, allocations: 4 kB / 0.4924 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.5212, allocations: 53.69 kB / 0.4924 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5224, allocations: 184.1 kB / 0.4926 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007332/0.5231, allocations: 1.074 MB / 0.4936 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.524, allocations: 47.95 kB / 0.4937 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.5241, allocations: 39.98 kB / 0.4937 GB, free: 3.242 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.0002864/0.5244, allocations: 181.5 kB / 0.4939 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5246, allocations: 31.8 kB / 0.4939 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.5269, allocations: 0.7746 MB / 0.4947 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.5269, allocations: 7.938 kB / 0.4947 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5269, allocations: 0 / 0.4947 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5269, allocations: 7.984 kB / 0.4947 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.5304, allocations: 1.55 MB / 0.4962 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.5304, allocations: 0 / 0.4962 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.5315, allocations: 147.7 kB / 0.4963 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.5317, allocations: 49.91 kB / 0.4964 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.5318, allocations: 27.91 kB / 0.4964 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.5338, allocations: 2.73 MB / 0.4991 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5338, allocations: 0 / 0.4991 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.5365, allocations: 1.077 MB / 0.5001 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.5366, allocations: 100.8 kB / 0.5002 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.5367, allocations: 8 kB / 0.5002 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.5375, allocations: 44 kB / 0.5003 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.5376, allocations: 47.83 kB / 0.5003 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.5377, allocations: 35.97 kB / 0.5004 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.5378, allocations: 124.4 kB / 0.5005 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5378, allocations: 4 kB / 0.5005 GB, free: 11.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5392, allocations: 395.8 kB / 0.5009 GB, free: 11.46 MB / 414.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.002821/0.542, allocations: 0.8615 MB / 0.5017 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.5442, allocations: 0.6869 MB / 0.5024 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5442, allocations: 0 / 0.5024 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5454, allocations: 0.5255 MB / 0.5029 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.5462, allocations: 100.2 kB / 0.503 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.5486, allocations: 0.9836 MB / 0.5039 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.549, allocations: 0.7892 MB / 0.5047 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.5502, allocations: 195 kB / 0.5049 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.5505, allocations: 59.39 kB / 0.505 GB, free: 7.152 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5505, allocations: 0 / 0.505 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Templates: time 0.02684/0.5774, allocations: 15.91 MB / 0.5205 GB, free: 7.199 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1)