Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001047/0.001047, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.485/1.485, allocations: 170.7 MB / 178.7 MB, free: 15.59 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.001833/0.001833, allocations: 99.52 kB / 218 MB, free: 8.371 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.796e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08931, allocations: 38.78 MB / 301 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.055/2.144, allocations: 0.7122 GB / 1.006 GB, free: 86.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/2.144, allocations: 71.72 kB / 1.006 GB, free: 86.48 MB / 346.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.08561/2.23, allocations: 39.54 MB / 1.045 GB, free: 53.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/2.23, allocations: 0 / 1.045 GB, free: 53.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/2.23, allocations: 4 kB / 1.045 GB, free: 53.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009645/2.231, allocations: 0.5072 MB / 1.045 GB, free: 52.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/2.231, allocations: 8.031 kB / 1.045 GB, free: 52.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/2.234, allocations: 371.8 kB / 1.046 GB, free: 52.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/2.234, allocations: 250.9 kB / 1.046 GB, free: 52.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/2.234, allocations: 7.938 kB / 1.046 GB, free: 52.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/2.234, allocations: 15.94 kB / 1.046 GB, free: 52.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007095/2.235, allocations: 472.5 kB / 1.046 GB, free: 51.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/2.236, allocations: 317.2 kB / 1.047 GB, free: 51.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/2.236, allocations: 4 kB / 1.047 GB, free: 51.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/2.236, allocations: 0 / 1.047 GB, free: 51.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/2.236, allocations: 4 kB / 1.047 GB, free: 51.23 MB / 346.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.001881/2.238, allocations: 0.9583 MB / 1.048 GB, free: 50.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/2.238, allocations: 257.1 kB / 1.048 GB, free: 49.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/2.238, allocations: 133.7 kB / 1.048 GB, free: 49.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/2.239, allocations: 0.6554 MB / 1.049 GB, free: 49.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/2.239, allocations: 38.56 kB / 1.049 GB, free: 49.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.955e-06/2.239, allocations: 0 / 1.049 GB, free: 49.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005604/2.24, allocations: 264.3 kB / 1.049 GB, free: 48.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/2.24, allocations: 85.05 kB / 1.049 GB, free: 48.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/2.24, allocations: 105 kB / 1.049 GB, free: 48.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/2.24, allocations: 25.7 kB / 1.049 GB, free: 48.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/2.24, allocations: 112.5 kB / 1.049 GB, free: 48.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/2.24, allocations: 106.4 kB / 1.049 GB, free: 48.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/2.24, allocations: 0 / 1.049 GB, free: 48.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/2.24, allocations: 326.8 kB / 1.05 GB, free: 47.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/2.24, allocations: 100.6 kB / 1.05 GB, free: 47.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/2.24, allocations: 183.2 kB / 1.05 GB, free: 47.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/2.241, allocations: 121.4 kB / 1.05 GB, free: 47.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/2.241, allocations: 0 / 1.05 GB, free: 47.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005085/2.241, allocations: 334.2 kB / 1.05 GB, free: 47.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.241, allocations: 15.86 kB / 1.05 GB, free: 47.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.241, allocations: 0 / 1.05 GB, free: 47.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/2.241, allocations: 8 kB / 1.05 GB, free: 47.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/2.242, allocations: 75.83 kB / 1.05 GB, free: 47.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/2.242, allocations: 7.984 kB / 1.05 GB, free: 47.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/2.242, allocations: 23.75 kB / 1.05 GB, free: 47.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/2.242, allocations: 24.14 kB / 1.051 GB, free: 47.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/2.242, allocations: 112.9 kB / 1.051 GB, free: 46.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/2.242, allocations: 11.91 kB / 1.051 GB, free: 46.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/2.243, allocations: 347.6 kB / 1.051 GB, free: 46.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/2.243, allocations: 0 / 1.051 GB, free: 46.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.243, allocations: 8 kB / 1.051 GB, free: 46.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/2.243, allocations: 3.984 kB / 1.051 GB, free: 46.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/2.243, allocations: 313 kB / 1.051 GB, free: 46.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.243, allocations: 0 / 1.051 GB, free: 46.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/2.244, allocations: 63.89 kB / 1.051 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/2.244, allocations: 0 / 1.051 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/2.244, allocations: 4 kB / 1.051 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/2.244, allocations: 7.953 kB / 1.051 GB, free: 46.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.244, allocations: 0 / 1.051 GB, free: 46.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/2.244, allocations: 0.5278 MB / 1.052 GB, free: 45.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/2.244, allocations: 88.95 kB / 1.052 GB, free: 45.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/2.244, allocations: 7.891 kB / 1.052 GB, free: 45.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/2.245, allocations: 15.89 kB / 1.052 GB, free: 45.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/2.245, allocations: 15.97 kB / 1.052 GB, free: 45.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/2.245, allocations: 20.05 kB / 1.052 GB, free: 45.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.244e-05/2.245, allocations: 91.28 kB / 1.052 GB, free: 45.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.245, allocations: 0 / 1.052 GB, free: 45.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001032/2.246, allocations: 239.7 kB / 1.052 GB, free: 45.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001749/2.248, allocations: 0.8335 MB / 1.053 GB, free: 44.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/2.248, allocations: 255.8 kB / 1.053 GB, free: 44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.248, allocations: 0 / 1.053 GB, free: 44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/2.248, allocations: 128.2 kB / 1.053 GB, free: 43.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/2.249, allocations: 72.55 kB / 1.054 GB, free: 43.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/2.25, allocations: 0.6006 MB / 1.054 GB, free: 43.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/2.25, allocations: 0.7405 MB / 1.055 GB, free: 42.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004777/2.25, allocations: 81.89 kB / 1.055 GB, free: 42.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/2.25, allocations: 35.42 kB / 1.055 GB, free: 42.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/2.25, allocations: 4 kB / 1.055 GB, free: 42.29 MB / 346.7 MB Notification: Performance of Templates: time 0.01512/2.266, allocations: 10.3 MB / 1.065 GB, free: 31.97 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)