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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.008017/0.008017, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.48/1.48, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001686/0.001686, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 38.77 MB / 312.9 MB, free: 38.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/1.921, allocations: 0.7217 GB / 1.027 GB, free: 68.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/1.921, allocations: 68.28 kB / 1.027 GB, free: 68.93 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.4025/2.324, allocations: 107.1 MB / 1.132 GB, free: 106.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/2.324, allocations: 0 / 1.132 GB, free: 106.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/2.324, allocations: 13.56 kB / 1.132 GB, free: 106.5 MB / 362.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.002521/2.327, allocations: 0.7683 MB / 1.133 GB, free: 106 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/2.327, allocations: 6.969 kB / 1.133 GB, free: 106 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/2.328, allocations: 250.5 kB / 1.133 GB, free: 106 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/2.329, allocations: 293.2 kB / 1.133 GB, free: 105.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/2.329, allocations: 22 kB / 1.133 GB, free: 105.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/2.329, allocations: 34.08 kB / 1.133 GB, free: 105.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/2.33, allocations: 0.656 MB / 1.134 GB, free: 105.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/2.33, allocations: 4 kB / 1.134 GB, free: 105.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/2.33, allocations: 19.09 kB / 1.134 GB, free: 105.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/2.33, allocations: 13.53 kB / 1.134 GB, free: 105.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/2.332, allocations: 0.7468 MB / 1.135 GB, free: 105.7 MB / 362.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.003334/2.335, allocations: 1.806 MB / 1.136 GB, free: 104.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/2.336, allocations: 472.6 kB / 1.137 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/2.338, allocations: 0.9199 MB / 1.138 GB, free: 103.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/2.338, allocations: 47.88 kB / 1.138 GB, free: 103.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.305e-06/2.338, allocations: 0 / 1.138 GB, free: 103.6 MB / 362.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.01311/2.351, allocations: 3.541 MB / 1.141 GB, free: 101.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/2.351, allocations: 81.08 kB / 1.141 GB, free: 101.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/2.351, allocations: 174.4 kB / 1.141 GB, free: 101.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/2.351, allocations: 32.64 kB / 1.141 GB, free: 101.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/2.351, allocations: 170.8 kB / 1.142 GB, free: 101.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/2.351, allocations: 179.5 kB / 1.142 GB, free: 101.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/2.352, allocations: 8 kB / 1.142 GB, free: 101.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/2.352, allocations: 342.4 kB / 1.142 GB, free: 101 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/2.352, allocations: 263.5 kB / 1.142 GB, free: 100.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/2.353, allocations: 416.5 kB / 1.143 GB, free: 100.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/2.354, allocations: 309.9 kB / 1.143 GB, free: 100.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/2.354, allocations: 0 / 1.143 GB, free: 100.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00185/2.356, allocations: 0.7862 MB / 1.144 GB, free: 100.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/2.356, allocations: 3.906 kB / 1.144 GB, free: 100.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/2.356, allocations: 15.73 kB / 1.144 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/2.356, allocations: 55.92 kB / 1.144 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/2.357, allocations: 175.1 kB / 1.144 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005814/2.358, allocations: 1.089 MB / 1.145 GB, free: 99.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/2.358, allocations: 42.27 kB / 1.145 GB, free: 99.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/2.358, allocations: 42.53 kB / 1.145 GB, free: 99.02 MB / 362.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.000248/2.359, allocations: 175.4 kB / 1.145 GB, free: 98.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/2.359, allocations: 22.91 kB / 1.145 GB, free: 98.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/2.361, allocations: 0.7831 MB / 1.146 GB, free: 98.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/2.361, allocations: 3.875 kB / 1.146 GB, free: 98.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/2.361, allocations: 8 kB / 1.146 GB, free: 98.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/2.361, allocations: 7.891 kB / 1.146 GB, free: 98.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/2.364, allocations: 1.571 MB / 1.148 GB, free: 97.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.364, allocations: 0 / 1.148 GB, free: 97.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/2.365, allocations: 147.8 kB / 1.148 GB, free: 97.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/2.365, allocations: 53.86 kB / 1.148 GB, free: 97.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/2.365, allocations: 15.98 kB / 1.148 GB, free: 97.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/2.366, allocations: 2.539 MB / 1.15 GB, free: 94.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.366, allocations: 7.969 kB / 1.15 GB, free: 94.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/2.369, allocations: 1.171 MB / 1.152 GB, free: 93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/2.369, allocations: 100.7 kB / 1.152 GB, free: 92.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/2.369, allocations: 12 kB / 1.152 GB, free: 92.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/2.37, allocations: 43.95 kB / 1.152 GB, free: 92.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/2.37, allocations: 39.95 kB / 1.152 GB, free: 92.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/2.37, allocations: 31.97 kB / 1.152 GB, free: 92.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.674e-05/2.37, allocations: 124.4 kB / 1.152 GB, free: 92.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.37, allocations: 0 / 1.152 GB, free: 92.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002072/2.372, allocations: 427.6 kB / 1.152 GB, free: 92.22 MB / 362.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.002928/2.375, allocations: 1.148 MB / 1.153 GB, free: 91.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/2.377, allocations: 0.6479 MB / 1.154 GB, free: 90.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.377, allocations: 4 kB / 1.154 GB, free: 90.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000919/2.378, allocations: 0.537 MB / 1.155 GB, free: 89.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/2.378, allocations: 85.84 kB / 1.155 GB, free: 89.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/2.381, allocations: 1.206 MB / 1.156 GB, free: 88.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/2.381, allocations: 0.7969 MB / 1.157 GB, free: 87.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001117/2.382, allocations: 187 kB / 1.157 GB, free: 87.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/2.382, allocations: 63.39 kB / 1.157 GB, free: 87.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/2.382, allocations: 0 / 1.157 GB, free: 87.59 MB / 362.7 MB Notification: Performance of Templates: time 0.02713/2.409, allocations: 22.48 MB / 1.179 GB, free: 65.12 MB / 362.7 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)