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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.183/1.183, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00154/0.001539, allocations: 113.7 kB / 256.9 MB, free: 4.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 8 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08284, allocations: 44.49 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.417, allocations: 0.7339 GB / 1.081 GB, free: 70.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/1.417, allocations: 67.97 kB / 1.081 GB, free: 70.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3349/1.752, allocations: 107.1 MB / 1.185 GB, free: 119.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.624e-06/1.752, allocations: 0 / 1.185 GB, free: 119.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/1.752, allocations: 7.25 kB / 1.185 GB, free: 119.3 MB / 410.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.002097/1.754, allocations: 0.7764 MB / 1.186 GB, free: 118.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.754, allocations: 6.625 kB / 1.186 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/1.756, allocations: 250.1 kB / 1.186 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/1.756, allocations: 291.6 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.756, allocations: 25.38 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/1.756, allocations: 29.25 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.757, allocations: 0.654 MB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.757, allocations: 6 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/1.757, allocations: 14.53 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/1.757, allocations: 12.91 kB / 1.187 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.759, allocations: 0.7543 MB / 1.188 GB, free: 118.5 MB / 410.7 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.003097/1.762, allocations: 1.803 MB / 1.19 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.763, allocations: 488 kB / 1.19 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.764, allocations: 0.9093 MB / 1.191 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/1.764, allocations: 40.98 kB / 1.191 GB, free: 116.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/1.764, allocations: 0 / 1.191 GB, free: 116.8 MB / 410.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: 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.01184/1.776, allocations: 3.636 MB / 1.195 GB, free: 115.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/1.776, allocations: 90.5 kB / 1.195 GB, free: 115.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/1.776, allocations: 161.3 kB / 1.195 GB, free: 115 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.776, allocations: 32.89 kB / 1.195 GB, free: 114.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/1.776, allocations: 178 kB / 1.195 GB, free: 114.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/1.776, allocations: 174.3 kB / 1.195 GB, free: 114.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/1.777, allocations: 8 kB / 1.195 GB, free: 114.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/1.777, allocations: 335.8 kB / 1.196 GB, free: 114.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/1.777, allocations: 267 kB / 1.196 GB, free: 114.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/1.778, allocations: 425.8 kB / 1.196 GB, free: 113.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/1.779, allocations: 313.2 kB / 1.197 GB, free: 113.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.779, allocations: 0 / 1.197 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001567/1.78, allocations: 0.7767 MB / 1.197 GB, free: 113.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.78, allocations: 8.312 kB / 1.197 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.78, allocations: 2.875 kB / 1.197 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/1.78, allocations: 60.44 kB / 1.197 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/1.781, allocations: 180 kB / 1.198 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003972/1.782, allocations: 1.085 MB / 1.199 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/1.782, allocations: 51.59 kB / 1.199 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/1.782, allocations: 33.09 kB / 1.199 GB, free: 112.4 MB / 410.7 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 (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.0001971/1.783, allocations: 170.2 kB / 1.199 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/1.783, allocations: 28.88 kB / 1.199 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/1.785, allocations: 0.7957 MB / 1.2 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.785, allocations: 11.59 kB / 1.2 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.785, allocations: 0 / 1.2 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.785, allocations: 0 / 1.2 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/1.787, allocations: 1.565 MB / 1.201 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.787, allocations: 0 / 1.201 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/1.788, allocations: 147.3 kB / 1.201 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/1.788, allocations: 50.77 kB / 1.201 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/1.789, allocations: 20.75 kB / 1.202 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/1.79, allocations: 2.541 MB / 1.204 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.79, allocations: 2.156 kB / 1.204 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.792, allocations: 1.168 MB / 1.205 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/1.792, allocations: 96.3 kB / 1.205 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/1.792, allocations: 13.88 kB / 1.205 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/1.792, allocations: 41.8 kB / 1.205 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/1.793, allocations: 46.25 kB / 1.205 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/1.793, allocations: 34.05 kB / 1.205 GB, free: 107.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/1.793, allocations: 120.3 kB / 1.205 GB, free: 107.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.793, allocations: 0 / 1.205 GB, free: 107.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001386/1.794, allocations: 450.7 kB / 1.206 GB, free: 107.3 MB / 410.7 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 (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.002255/1.796, allocations: 1.149 MB / 1.207 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/1.798, allocations: 0.6518 MB / 1.208 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.798, allocations: 3 kB / 1.208 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008608/1.799, allocations: 0.53 MB / 1.208 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/1.799, allocations: 90.91 kB / 1.208 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.801, allocations: 1.177 MB / 1.209 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/1.801, allocations: 0.7991 MB / 1.21 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001045/1.802, allocations: 183.9 kB / 1.21 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/1.802, allocations: 65.91 kB / 1.21 GB, free: 104.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/1.802, allocations: 0 / 1.21 GB, free: 104.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02344/1.826, allocations: 22.56 MB / 1.232 GB, free: 84.03 MB / 410.7 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)