Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8991/0.8991, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001857/0.001857, allocations: 147.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.111e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06519/0.06524, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.826/1.891, allocations: 0.6612 GB / 0.8618 GB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.892, allocations: 71.89 kB / 0.8619 GB, free: 12.11 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.268/2.16, allocations: 42.78 MB / 0.9037 GB, free: 64.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.16, allocations: 4 kB / 0.9037 GB, free: 64.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/2.16, allocations: 3.938 kB / 0.9037 GB, free: 64.87 MB / 234.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.0008296/2.16, allocations: 0.5072 MB / 0.9042 GB, free: 64.32 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/2.161, allocations: 12.03 kB / 0.9042 GB, free: 64.3 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/2.161, allocations: 27.77 kB / 0.9042 GB, free: 64.28 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/2.161, allocations: 214.8 kB / 0.9044 GB, free: 64.03 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/2.161, allocations: 16.38 kB / 0.9044 GB, free: 64.01 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/2.161, allocations: 16 kB / 0.9044 GB, free: 64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/2.161, allocations: 337.6 kB / 0.9048 GB, free: 63.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/2.161, allocations: 4 kB / 0.9048 GB, free: 63.65 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/2.161, allocations: 8 kB / 0.9048 GB, free: 63.64 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/2.161, allocations: 8 kB / 0.9048 GB, free: 63.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/2.162, allocations: 451.6 kB / 0.9052 GB, free: 63.2 MB / 234.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.001395/2.163, allocations: 1.192 MB / 0.9064 GB, free: 61.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/2.164, allocations: 281.1 kB / 0.9066 GB, free: 61.58 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/2.164, allocations: 117.6 kB / 0.9067 GB, free: 61.46 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002123/2.166, allocations: 2.143 MB / 0.9088 GB, free: 59 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/2.166, allocations: 38.56 kB / 0.9089 GB, free: 58.95 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/2.166, allocations: 0 / 0.9089 GB, free: 58.95 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004287/2.166, allocations: 241.7 kB / 0.9091 GB, free: 58.71 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/2.167, allocations: 85.09 kB / 0.9092 GB, free: 58.61 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/2.167, allocations: 105 kB / 0.9093 GB, free: 58.5 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/2.167, allocations: 33.7 kB / 0.9093 GB, free: 58.46 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/2.167, allocations: 116.4 kB / 0.9094 GB, free: 58.34 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/2.167, allocations: 106.5 kB / 0.9095 GB, free: 58.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/2.167, allocations: 8 kB / 0.9095 GB, free: 58.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/2.167, allocations: 322.8 kB / 0.9098 GB, free: 57.9 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/2.167, allocations: 76.59 kB / 0.9099 GB, free: 57.82 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/2.167, allocations: 159.4 kB / 0.9101 GB, free: 57.63 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/2.167, allocations: 96.73 kB / 0.9102 GB, free: 57.54 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.167, allocations: 7.953 kB / 0.9102 GB, free: 57.53 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000385/2.168, allocations: 326 kB / 0.9105 GB, free: 57.2 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/2.168, allocations: 11.97 kB / 0.9105 GB, free: 57.19 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/2.168, allocations: 4 kB / 0.9105 GB, free: 57.19 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/2.168, allocations: 4 kB / 0.9105 GB, free: 57.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/2.168, allocations: 79.89 kB / 0.9106 GB, free: 57.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/2.168, allocations: 4 kB / 0.9106 GB, free: 57.1 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/2.168, allocations: 31.69 kB / 0.9106 GB, free: 57.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/2.168, allocations: 23.98 kB / 0.9106 GB, free: 57.05 MB / 234.7 MB Warning: Assuming fixed start value for the following 6 variables: medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.8 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real 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.0001996/2.168, allocations: 175.5 kB / 0.9108 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/2.168, allocations: 15.86 kB / 0.9108 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/2.169, allocations: 346.2 kB / 0.9111 GB, free: 56.51 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/2.169, allocations: 8 kB / 0.9112 GB, free: 56.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.169, allocations: 0 / 0.9112 GB, free: 56.5 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/2.169, allocations: 7.984 kB / 0.9112 GB, free: 56.49 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/2.169, allocations: 309.3 kB / 0.9115 GB, free: 56.14 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/2.169, allocations: 3.953 kB / 0.9115 GB, free: 56.14 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/2.17, allocations: 55.91 kB / 0.9115 GB, free: 56.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/2.17, allocations: 0 / 0.9115 GB, free: 56.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/2.17, allocations: 15.98 kB / 0.9115 GB, free: 56.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/2.17, allocations: 0 / 0.9115 GB, free: 56.07 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/2.17, allocations: 0 / 0.9115 GB, free: 56.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/2.17, allocations: 0.5018 MB / 0.912 GB, free: 55.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/2.17, allocations: 133 kB / 0.9121 GB, free: 55.39 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/2.17, allocations: 8.109 kB / 0.9122 GB, free: 55.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/2.171, allocations: 16 kB / 0.9122 GB, free: 55.37 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/2.171, allocations: 23.91 kB / 0.9122 GB, free: 55.35 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/2.171, allocations: 23.98 kB / 0.9122 GB, free: 55.32 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/2.171, allocations: 91.58 kB / 0.9123 GB, free: 55.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.171, allocations: 0 / 0.9123 GB, free: 55.23 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001099/2.172, allocations: 275.6 kB / 0.9126 GB, free: 54.96 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * 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.001346/2.173, allocations: 0.815 MB / 0.9134 GB, free: 54.14 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/2.173, allocations: 252.1 kB / 0.9136 GB, free: 53.89 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/2.173, allocations: 0 / 0.9136 GB, free: 53.89 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/2.174, allocations: 119.9 kB / 0.9137 GB, free: 53.78 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/2.174, allocations: 80.44 kB / 0.9138 GB, free: 53.7 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/2.175, allocations: 0.5943 MB / 0.9144 GB, free: 53.08 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/2.175, allocations: 0.7404 MB / 0.9151 GB, free: 52.32 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/2.175, allocations: 77.2 kB / 0.9152 GB, free: 52.24 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/2.175, allocations: 31.42 kB / 0.9152 GB, free: 52.21 MB / 234.7 MB Notification: Performance of SimCode: time 4.11e-07/2.175, allocations: 0 / 0.9152 GB, free: 52.21 MB / 234.7 MB Notification: Performance of Templates: time 0.01929/2.195, allocations: 16.17 MB / 0.931 GB, free: 36.02 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)