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.001554/0.001554, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.504/1.504, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001617/0.001617, allocations: 102.8 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.881e-05, allocations: 0 / 268.8 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07834, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/1.911, allocations: 0.7216 GB / 1.022 GB, free: 20.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/1.912, allocations: 63.97 kB / 1.022 GB, free: 20.54 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.4468/2.358, allocations: 107 MB / 1.127 GB, free: 63.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/2.359, allocations: 4 kB / 1.127 GB, free: 63.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/2.359, allocations: 8 kB / 1.127 GB, free: 63.39 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.00245/2.361, allocations: 0.7594 MB / 1.127 GB, free: 62.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/2.361, allocations: 8.031 kB / 1.127 GB, free: 62.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/2.363, allocations: 255.9 kB / 1.128 GB, free: 62.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/2.363, allocations: 290.6 kB / 1.128 GB, free: 62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/2.363, allocations: 20.56 kB / 1.128 GB, free: 61.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/2.363, allocations: 31.91 kB / 1.128 GB, free: 61.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/2.364, allocations: 0.6142 MB / 1.129 GB, free: 61.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/2.364, allocations: 0 / 1.129 GB, free: 61.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/2.364, allocations: 12 kB / 1.129 GB, free: 61.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/2.365, allocations: 16.44 kB / 1.129 GB, free: 61.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/2.365, allocations: 0.6622 MB / 1.129 GB, free: 60.63 MB / 362.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.003561/2.369, allocations: 1.803 MB / 1.131 GB, free: 58.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/2.37, allocations: 396.8 kB / 1.131 GB, free: 58.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/2.37, allocations: 185.7 kB / 1.132 GB, free: 58.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/2.371, allocations: 0.9163 MB / 1.132 GB, free: 57.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/2.371, allocations: 38.5 kB / 1.132 GB, free: 57.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/2.371, allocations: 0 / 1.132 GB, free: 57.03 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.00934/2.381, allocations: 2.713 MB / 1.135 GB, free: 54.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/2.381, allocations: 85.11 kB / 1.135 GB, free: 54.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/2.381, allocations: 158.3 kB / 1.135 GB, free: 53.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/2.381, allocations: 37.7 kB / 1.135 GB, free: 53.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/2.381, allocations: 176.1 kB / 1.136 GB, free: 53.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/2.381, allocations: 169.5 kB / 1.136 GB, free: 53.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/2.381, allocations: 16 kB / 1.136 GB, free: 53.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/2.381, allocations: 334.8 kB / 1.136 GB, free: 53.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/2.382, allocations: 209.5 kB / 1.136 GB, free: 52.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/2.382, allocations: 375.4 kB / 1.137 GB, free: 52.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/2.383, allocations: 254.7 kB / 1.137 GB, free: 52.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.383, allocations: 4 kB / 1.137 GB, free: 52.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001041/2.384, allocations: 0.6717 MB / 1.137 GB, free: 51.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/2.384, allocations: 10.5 kB / 1.137 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/2.384, allocations: 4 kB / 1.138 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/2.384, allocations: 57.69 kB / 1.138 GB, free: 51.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/2.385, allocations: 180.2 kB / 1.138 GB, free: 51.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005379/2.385, allocations: 1.078 MB / 1.139 GB, free: 50.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/2.386, allocations: 51.8 kB / 1.139 GB, free: 50.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/2.386, allocations: 35.98 kB / 1.139 GB, free: 50.11 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 () * 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.0001733/2.386, allocations: 140.8 kB / 1.139 GB, free: 49.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/2.387, allocations: 27.67 kB / 1.139 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/2.388, allocations: 0.6814 MB / 1.14 GB, free: 49.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/2.388, allocations: 4 kB / 1.14 GB, free: 49.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/2.388, allocations: 0 / 1.14 GB, free: 49.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/2.388, allocations: 7.984 kB / 1.14 GB, free: 49.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/2.39, allocations: 1.468 MB / 1.141 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.39, allocations: 4.219 kB / 1.141 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/2.391, allocations: 151.7 kB / 1.141 GB, free: 47.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/2.391, allocations: 45.64 kB / 1.141 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/2.392, allocations: 23.97 kB / 1.141 GB, free: 47.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/2.393, allocations: 2.541 MB / 1.144 GB, free: 44.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.393, allocations: 4 kB / 1.144 GB, free: 44.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/2.394, allocations: 1.007 MB / 1.145 GB, free: 43.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/2.394, allocations: 96.83 kB / 1.145 GB, free: 43.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/2.395, allocations: 16 kB / 1.145 GB, free: 43.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/2.395, allocations: 43.91 kB / 1.145 GB, free: 43.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/2.395, allocations: 43.84 kB / 1.145 GB, free: 43.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/2.396, allocations: 35.95 kB / 1.145 GB, free: 43.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001262/2.396, allocations: 120.4 kB / 1.145 GB, free: 43.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.396, allocations: 4 kB / 1.145 GB, free: 43.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002398/2.398, allocations: 423.7 kB / 1.146 GB, free: 42.74 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 () * 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.003366/2.401, allocations: 1.142 MB / 1.147 GB, free: 41.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/2.403, allocations: 0.5416 MB / 1.147 GB, free: 41.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/2.403, allocations: 1.25 kB / 1.147 GB, free: 41.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/2.403, allocations: 0.4935 MB / 1.148 GB, free: 40.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/2.404, allocations: 85.56 kB / 1.148 GB, free: 40.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/2.406, allocations: 0.7784 MB / 1.149 GB, free: 39.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/2.406, allocations: 0.7931 MB / 1.149 GB, free: 38.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001099/2.407, allocations: 183.1 kB / 1.149 GB, free: 38.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/2.407, allocations: 63.39 kB / 1.15 GB, free: 38.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/2.407, allocations: 0 / 1.15 GB, free: 38.55 MB / 362.7 MB Notification: Performance of Templates: time 0.033/2.44, allocations: 24.61 MB / 1.174 GB, free: 13.89 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)