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.00152/0.00152, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.343/1.343, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001155/0.001155, allocations: 51.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1898, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3399/0.5297, allocations: 154.3 MB / 479.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.5327, allocations: 3.05 MB / 482.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.5329, allocations: 3.375 kB / 482.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.5335, allocations: 108.1 kB / 482.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.5361, allocations: 1.177 MB / 483.9 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.5371, allocations: 382.8 kB / 484.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.5376, allocations: 461.4 kB / 484.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.5376, allocations: 11.66 kB / 484.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.538, allocations: 224.7 kB / 484.9 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.5382, allocations: 137.6 kB / 485.1 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.5383, allocations: 20.02 kB / 485.1 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.5419, allocations: 2.133 MB / 487.2 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.542, allocations: 137.5 kB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.5423, allocations: 170.5 kB / 487.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.5449, allocations: 1.559 MB / 489.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5449, allocations: 0 / 489.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5449, allocations: 0 / 489.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.545, allocations: 11.23 kB / 489.1 MB, free: 13.28 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.002642/0.5476, allocations: 0.7688 MB / 489.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5477, allocations: 7.719 kB / 489.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.5503, allocations: 275.4 kB / 490.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.5508, allocations: 287.2 kB / 490.4 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.5508, allocations: 21.97 kB / 490.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.5509, allocations: 28.91 kB / 490.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5522, allocations: 0.6645 MB / 491.1 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5523, allocations: 0 / 491.1 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.5524, allocations: 13.34 kB / 491.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.5524, allocations: 19.27 kB / 491.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.554, allocations: 0.7618 MB / 491.9 MB, free: 12.48 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.004158/0.5582, allocations: 1.83 MB / 493.8 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5596, allocations: 477.1 kB / 494.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.5602, allocations: 232.8 kB / 494.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002596/0.5628, allocations: 1.381 MB / 495.8 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.5628, allocations: 36.44 kB / 495.9 MB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.5629, allocations: 0 / 495.9 MB, free: 9.914 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.01466/0.5775, allocations: 3.711 MB / 499.6 MB, free: 8.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5776, allocations: 85.83 kB / 499.7 MB, free: 8.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.5778, allocations: 185.9 kB / 499.9 MB, free: 7.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.5779, allocations: 34.67 kB / 499.9 MB, free: 7.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.578, allocations: 175.3 kB / 0.4883 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5782, allocations: 177.3 kB / 0.4885 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.5785, allocations: 112.3 kB / 0.4886 GB, free: 7.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5786, allocations: 343.7 kB / 0.4889 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.5794, allocations: 262.5 kB / 0.4892 GB, free: 7.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.5803, allocations: 428.3 kB / 0.4896 GB, free: 6.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.5819, allocations: 0.7041 MB / 0.4903 GB, free: 6.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5819, allocations: 6.531 kB / 0.4903 GB, free: 6.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001986/0.5839, allocations: 0.7783 MB / 0.4911 GB, free: 6.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.584, allocations: 14.36 kB / 0.4911 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.584, allocations: 6.938 kB / 0.4911 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.5842, allocations: 55.09 kB / 0.4911 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5854, allocations: 187.2 kB / 0.4913 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006606/0.5861, allocations: 1.072 MB / 0.4924 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.5869, allocations: 44.8 kB / 0.4924 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.587, allocations: 39.66 kB / 0.4924 GB, free: 5.336 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.0002515/0.5873, allocations: 172.6 kB / 0.4926 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.5874, allocations: 26.91 kB / 0.4926 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.5897, allocations: 0.7797 MB / 0.4934 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5897, allocations: 12.41 kB / 0.4934 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5898, allocations: 2.75 kB / 0.4934 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5898, allocations: 0 / 0.4934 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.593, allocations: 1.557 MB / 0.4949 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5931, allocations: 3.609 kB / 0.4949 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5942, allocations: 143.1 kB / 0.4951 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.5943, allocations: 43.38 kB / 0.4951 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.5944, allocations: 32.81 kB / 0.4951 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5963, allocations: 2.721 MB / 0.4978 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5964, allocations: 14.88 kB / 0.4978 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.599, allocations: 1.075 MB / 0.4989 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.5991, allocations: 96.58 kB / 0.4989 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.5992, allocations: 14.78 kB / 0.499 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/0.6, allocations: 42.44 kB / 0.499 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.6001, allocations: 48.59 kB / 0.499 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.6002, allocations: 35.34 kB / 0.4991 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.6003, allocations: 119.3 kB / 0.4992 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6003, allocations: 0 / 0.4992 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001474/0.6018, allocations: 394.5 kB / 0.4996 GB, free: 472 kB / 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.002896/0.6047, allocations: 0.8669 MB / 0.5004 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.6067, allocations: 0.6854 MB / 0.5011 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6067, allocations: 0 / 0.5011 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6078, allocations: 0.5306 MB / 0.5016 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.6085, allocations: 101 kB / 0.5017 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.6106, allocations: 0.9888 MB / 0.5027 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.611, allocations: 0.7805 MB / 0.5034 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.6121, allocations: 185.1 kB / 0.5036 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.6124, allocations: 70.23 kB / 0.5037 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6124, allocations: 0 / 0.5037 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.02573/0.6382, allocations: 15.91 MB / 0.5192 GB, free: 15.77 MB / 430.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)