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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.8892/0.8892, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001704/0.001704, allocations: 143.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.358e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.06387, allocations: 25.17 MB / 205.4 MB, free: 8.445 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/1.87, allocations: 0.667 GB / 0.8675 GB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.871, allocations: 53.61 kB / 0.8676 GB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.365/2.236, allocations: 94.3 MB / 0.9597 GB, free: 6.938 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.236, allocations: 0 / 0.9597 GB, free: 6.938 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/2.236, allocations: 4 kB / 0.9597 GB, free: 6.934 MB / 234.7 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.002329/2.238, allocations: 0.771 MB / 0.9604 GB, free: 6.117 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/2.238, allocations: 12.03 kB / 0.9605 GB, free: 6.105 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/2.238, allocations: 27.72 kB / 0.9605 GB, free: 6.078 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/2.239, allocations: 258.7 kB / 0.9607 GB, free: 5.785 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/2.239, allocations: 20.56 kB / 0.9608 GB, free: 5.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/2.239, allocations: 35.89 kB / 0.9608 GB, free: 5.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/2.239, allocations: 0.5323 MB / 0.9613 GB, free: 5.191 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/2.239, allocations: 4 kB / 0.9613 GB, free: 5.188 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/2.239, allocations: 16 kB / 0.9613 GB, free: 5.172 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/2.239, allocations: 20.42 kB / 0.9613 GB, free: 5.152 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/2.24, allocations: 0.5878 MB / 0.9619 GB, free: 4.566 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002217/2.242, allocations: 1.418 MB / 0.9633 GB, free: 3.039 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/2.243, allocations: 341.5 kB / 0.9636 GB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/2.243, allocations: 125.6 kB / 0.9638 GB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/2.245, allocations: 2.087 MB / 0.9658 GB, free: 188 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/2.245, allocations: 38.56 kB / 0.9658 GB, free: 140 kB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/2.245, allocations: 0 / 0.9658 GB, free: 140 kB / 234.7 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: medium2.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: medium1.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.1867/2.432, allocations: 2.379 MB / 0.9681 GB, free: 47.03 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/2.432, allocations: 83.73 kB / 0.9682 GB, free: 46.93 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/2.432, allocations: 162.7 kB / 0.9684 GB, free: 46.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/2.432, allocations: 35.86 kB / 0.9684 GB, free: 46.8 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/2.433, allocations: 178.8 kB / 0.9686 GB, free: 46.68 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/2.433, allocations: 173.4 kB / 0.9688 GB, free: 46.59 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/2.433, allocations: 8.906 kB / 0.9688 GB, free: 46.59 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/2.433, allocations: 334.4 kB / 0.9691 GB, free: 46.28 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/2.433, allocations: 147.7 kB / 0.9692 GB, free: 46.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/2.433, allocations: 307.8 kB / 0.9695 GB, free: 46.1 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/2.434, allocations: 191 kB / 0.9697 GB, free: 46.1 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/2.434, allocations: 2.25 kB / 0.9697 GB, free: 46.1 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009585/2.435, allocations: 0.5658 MB / 0.9703 GB, free: 46.03 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/2.435, allocations: 6.562 kB / 0.9703 GB, free: 46.03 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.435, allocations: 5.031 kB / 0.9703 GB, free: 46.03 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/2.435, allocations: 60.84 kB / 0.9703 GB, free: 46.01 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/2.436, allocations: 173.9 kB / 0.9705 GB, free: 46.01 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004868/2.436, allocations: 1.075 MB / 0.9715 GB, free: 44.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/2.437, allocations: 35.55 kB / 0.9716 GB, free: 44.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/2.437, allocations: 45.2 kB / 0.9716 GB, free: 44.97 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002594/2.437, allocations: 167 kB / 0.9718 GB, free: 44.86 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/2.437, allocations: 27.36 kB / 0.9718 GB, free: 44.85 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/2.438, allocations: 0.5564 MB / 0.9723 GB, free: 44.79 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/2.438, allocations: 9.844 kB / 0.9724 GB, free: 44.78 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/2.439, allocations: 1 kB / 0.9724 GB, free: 44.78 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/2.439, allocations: 6.016 kB / 0.9724 GB, free: 44.78 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/2.441, allocations: 1.133 MB / 0.9735 GB, free: 44.33 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.441, allocations: 0 / 0.9735 GB, free: 44.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/2.441, allocations: 134.6 kB / 0.9736 GB, free: 44.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/2.441, allocations: 41.53 kB / 0.9736 GB, free: 44.31 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/2.441, allocations: 29.42 kB / 0.9737 GB, free: 44.31 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/2.443, allocations: 2.534 MB / 0.9761 GB, free: 41.81 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/2.443, allocations: 7.469 kB / 0.9761 GB, free: 41.8 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/2.444, allocations: 0.8757 MB / 0.977 GB, free: 41.37 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/2.444, allocations: 146.8 kB / 0.9771 GB, free: 41.26 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/2.444, allocations: 14.53 kB / 0.9772 GB, free: 41.26 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/2.445, allocations: 34.14 kB / 0.9772 GB, free: 41.26 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/2.445, allocations: 51.47 kB / 0.9772 GB, free: 41.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/2.445, allocations: 32.59 kB / 0.9773 GB, free: 41.26 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001005/2.445, allocations: 122.3 kB / 0.9774 GB, free: 41.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.21e-07/2.445, allocations: 0 / 0.9774 GB, free: 41.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001782/2.447, allocations: 434.6 kB / 0.9778 GB, free: 41.18 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.T) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002751/2.449, allocations: 1.201 MB / 0.979 GB, free: 41.04 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009262/2.45, allocations: 436.3 kB / 0.9794 GB, free: 41.03 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.45, allocations: 1.156 kB / 0.9794 GB, free: 41.03 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/2.451, allocations: 433 kB / 0.9798 GB, free: 40.81 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/2.451, allocations: 90.52 kB / 0.9799 GB, free: 40.8 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/2.453, allocations: 0.7584 MB / 0.9806 GB, free: 40.57 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/2.453, allocations: 0.7887 MB / 0.9814 GB, free: 39.88 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0006664/2.454, allocations: 149.1 kB / 0.9815 GB, free: 39.86 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/2.454, allocations: 67.3 kB / 0.9816 GB, free: 39.86 MB / 234.7 MB Notification: Performance of SimCode: time 4.71e-07/2.454, allocations: 0 / 0.9816 GB, free: 39.86 MB / 234.7 MB Notification: Performance of Templates: time 0.02842/2.482, allocations: 24.23 MB / 1.005 GB, free: 37.02 MB / 234.7 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)