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.002606/0.002606, 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.739/1.739, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001603/0.001603, allocations: 111.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.424e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08403, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/1.987, allocations: 0.7128 GB / 1.013 GB, free: 29.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.987, allocations: 75.95 kB / 1.013 GB, free: 29.41 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.2914/2.279, allocations: 40.24 MB / 1.053 GB, free: 121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.279, allocations: 0 / 1.053 GB, free: 121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/2.279, allocations: 3.062 kB / 1.053 GB, free: 121 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009791/2.28, allocations: 0.509 MB / 1.053 GB, free: 120.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.28, allocations: 12.38 kB / 1.053 GB, free: 120.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/2.283, allocations: 371.6 kB / 1.053 GB, free: 120.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/2.283, allocations: 255.2 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/2.283, allocations: 15.66 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/2.283, allocations: 16.41 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/2.284, allocations: 471 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/2.284, allocations: 3.938 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/2.284, allocations: 8.188 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/2.284, allocations: 8.125 kB / 1.054 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/2.285, allocations: 485.5 kB / 1.055 GB, free: 120.4 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.001975/2.287, allocations: 0.996 MB / 1.056 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/2.287, allocations: 267.3 kB / 1.056 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/2.288, allocations: 140.7 kB / 1.056 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/2.289, allocations: 0.6579 MB / 1.057 GB, free: 119.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/2.289, allocations: 43.42 kB / 1.057 GB, free: 119.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/2.289, allocations: 0 / 1.057 GB, free: 119.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005506/2.289, allocations: 280.8 kB / 1.057 GB, free: 119.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/2.289, allocations: 81.05 kB / 1.057 GB, free: 119.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/2.289, allocations: 106.1 kB / 1.057 GB, free: 119 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/2.289, allocations: 33.36 kB / 1.057 GB, free: 119 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/2.289, allocations: 111.7 kB / 1.057 GB, free: 118.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/2.29, allocations: 101.4 kB / 1.057 GB, free: 118.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/2.29, allocations: 5.938 kB / 1.057 GB, free: 118.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/2.29, allocations: 325.3 kB / 1.058 GB, free: 118.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/2.29, allocations: 106.3 kB / 1.058 GB, free: 118.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/2.29, allocations: 192.2 kB / 1.058 GB, free: 118.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/2.29, allocations: 135.8 kB / 1.058 GB, free: 118.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/2.29, allocations: 1.875 kB / 1.058 GB, free: 118.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005255/2.291, allocations: 357.9 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/2.291, allocations: 6.281 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.291, allocations: 6.359 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/2.291, allocations: 8.094 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/2.291, allocations: 74.94 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/2.291, allocations: 11.58 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/2.291, allocations: 31.94 kB / 1.059 GB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/2.292, allocations: 18.78 kB / 1.059 GB, free: 118.4 MB / 362.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 9.554e-05/2.292, allocations: 124.8 kB / 1.059 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/2.292, allocations: 13.22 kB / 1.059 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/2.292, allocations: 354.6 kB / 1.059 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/2.292, allocations: 8.656 kB / 1.059 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.292, allocations: 0 / 1.059 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/2.292, allocations: 7.891 kB / 1.059 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/2.293, allocations: 356.1 kB / 1.059 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/2.293, allocations: 1.5 kB / 1.059 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/2.293, allocations: 57.45 kB / 1.06 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.293, allocations: 5.875 kB / 1.06 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/2.293, allocations: 14 kB / 1.06 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/2.293, allocations: 0 / 1.06 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.293, allocations: 0 / 1.06 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/2.294, allocations: 0.5441 MB / 1.06 GB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/2.294, allocations: 89.03 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/2.294, allocations: 13.11 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/2.294, allocations: 17.41 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/2.295, allocations: 34.05 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/2.295, allocations: 16.78 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.537e-05/2.295, allocations: 90.12 kB / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.295, allocations: 0 / 1.06 GB, free: 117.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001168/2.296, allocations: 267.7 kB / 1.061 GB, free: 117.5 MB / 362.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.001286/2.297, allocations: 0.7555 MB / 1.061 GB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/2.298, allocations: 273.5 kB / 1.062 GB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.298, allocations: 4.188 kB / 1.062 GB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/2.298, allocations: 137.9 kB / 1.062 GB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/2.298, allocations: 80.23 kB / 1.062 GB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/2.299, allocations: 0.6127 MB / 1.062 GB, free: 117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/2.299, allocations: 0.7348 MB / 1.063 GB, free: 116.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004503/2.3, allocations: 90.97 kB / 1.063 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/2.3, allocations: 29.81 kB / 1.063 GB, free: 116.2 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/2.3, allocations: 0 / 1.063 GB, free: 116.2 MB / 362.7 MB Notification: Performance of Templates: time 0.02048/2.32, allocations: 15.73 MB / 1.079 GB, free: 111.6 MB / 362.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)