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.009818/0.009818, allocations: 163.1 kB / 15.11 MB, free: 5.973 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.566/1.566, allocations: 170.8 MB / 186.6 MB, free: 1.055 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.001647/0.001647, allocations: 114.2 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004704, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2907, allocations: 38.76 MB / 312.9 MB, free: 38.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.783/2.074, allocations: 0.7129 GB / 1.018 GB, free: 106.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/2.074, allocations: 75.19 kB / 1.019 GB, free: 106.5 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.08377/2.158, allocations: 40.33 MB / 1.058 GB, free: 65.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/2.158, allocations: 4 kB / 1.058 GB, free: 65.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/2.158, allocations: 4 kB / 1.058 GB, free: 65.93 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.0009295/2.159, allocations: 0.5074 MB / 1.058 GB, free: 65.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.159, allocations: 8.031 kB / 1.058 GB, free: 65.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/2.162, allocations: 371.3 kB / 1.059 GB, free: 65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/2.162, allocations: 262.8 kB / 1.059 GB, free: 64.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/2.163, allocations: 16.38 kB / 1.059 GB, free: 64.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/2.163, allocations: 23.89 kB / 1.059 GB, free: 64.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/2.164, allocations: 481.3 kB / 1.06 GB, free: 64.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/2.164, allocations: 4 kB / 1.06 GB, free: 64.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/2.164, allocations: 15.95 kB / 1.06 GB, free: 64.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/2.164, allocations: 4 kB / 1.06 GB, free: 64.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/2.165, allocations: 0.5035 MB / 1.06 GB, free: 63.65 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.002057/2.167, allocations: 1.01 MB / 1.061 GB, free: 62.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/2.167, allocations: 277.1 kB / 1.061 GB, free: 62.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/2.168, allocations: 0.6553 MB / 1.062 GB, free: 61.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/2.168, allocations: 34.56 kB / 1.062 GB, free: 61.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.376e-06/2.168, allocations: 4 kB / 1.062 GB, free: 61.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009252/2.169, allocations: 392.2 kB / 1.062 GB, free: 61.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/2.169, allocations: 89.09 kB / 1.062 GB, free: 61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/2.17, allocations: 100.9 kB / 1.063 GB, free: 60.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/2.17, allocations: 37.69 kB / 1.063 GB, free: 60.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/2.17, allocations: 108.4 kB / 1.063 GB, free: 60.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/2.17, allocations: 110.4 kB / 1.063 GB, free: 60.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/2.17, allocations: 4 kB / 1.063 GB, free: 60.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/2.17, allocations: 330.8 kB / 1.063 GB, free: 60.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/2.17, allocations: 108.6 kB / 1.063 GB, free: 60.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/2.17, allocations: 208.1 kB / 1.063 GB, free: 59.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/2.171, allocations: 138.5 kB / 1.064 GB, free: 59.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.171, allocations: 4 kB / 1.064 GB, free: 59.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006638/2.171, allocations: 372.7 kB / 1.064 GB, free: 59.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/2.171, allocations: 4 kB / 1.064 GB, free: 59.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/2.171, allocations: 8.297 kB / 1.064 GB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/2.171, allocations: 4 kB / 1.064 GB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/2.172, allocations: 71.91 kB / 1.064 GB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/2.172, allocations: 15.92 kB / 1.064 GB, free: 59.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/2.172, allocations: 27.69 kB / 1.064 GB, free: 59.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/2.172, allocations: 27.97 kB / 1.064 GB, free: 59.29 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 () * Number of clocked 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.0001601/2.172, allocations: 145.7 kB / 1.064 GB, free: 59.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/2.172, allocations: 19.8 kB / 1.064 GB, free: 59.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/2.173, allocations: 368.1 kB / 1.065 GB, free: 58.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/2.173, allocations: 4 kB / 1.065 GB, free: 58.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.173, allocations: 0 / 1.065 GB, free: 58.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/2.173, allocations: 4 kB / 1.065 GB, free: 58.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/2.174, allocations: 364.9 kB / 1.065 GB, free: 58.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/2.174, allocations: 0 / 1.065 GB, free: 58.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/2.174, allocations: 67.89 kB / 1.065 GB, free: 58.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.174, allocations: 0 / 1.065 GB, free: 58.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/2.174, allocations: 12 kB / 1.065 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/2.174, allocations: 3.938 kB / 1.065 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/2.174, allocations: 3.984 kB / 1.065 GB, free: 58.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/2.175, allocations: 0.5751 MB / 1.066 GB, free: 57.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/2.175, allocations: 92.86 kB / 1.066 GB, free: 57.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/2.175, allocations: 8.062 kB / 1.066 GB, free: 57.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/2.175, allocations: 15.98 kB / 1.066 GB, free: 57.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/2.175, allocations: 19.97 kB / 1.066 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/2.175, allocations: 15.98 kB / 1.066 GB, free: 57.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.406e-05/2.175, allocations: 87.28 kB / 1.066 GB, free: 57.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/2.175, allocations: 4 kB / 1.066 GB, free: 57.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001359/2.177, allocations: 255.7 kB / 1.066 GB, free: 57.14 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 () * Number of clocked 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.001395/2.178, allocations: 0.7612 MB / 1.067 GB, free: 56.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/2.179, allocations: 290.8 kB / 1.067 GB, free: 56.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.179, allocations: 0 / 1.067 GB, free: 56.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/2.179, allocations: 151.8 kB / 1.067 GB, free: 55.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/2.18, allocations: 76.5 kB / 1.067 GB, free: 55.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/2.181, allocations: 0.8917 MB / 1.068 GB, free: 54.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/2.181, allocations: 0.7443 MB / 1.069 GB, free: 54.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004588/2.181, allocations: 77.83 kB / 1.069 GB, free: 54.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/2.181, allocations: 35.42 kB / 1.069 GB, free: 54.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/2.181, allocations: 3.938 kB / 1.069 GB, free: 54.06 MB / 362.7 MB Notification: Performance of Templates: time 0.01822/2.2, allocations: 14.11 MB / 1.083 GB, free: 39.95 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)