Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.101/1.101, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001981/0.001981, allocations: 159.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.705e-05, allocations: 7.938 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07353/0.07358, allocations: 25.17 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/1.845, allocations: 0.6529 GB / 0.8473 GB, free: 39.05 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.845, allocations: 60.03 kB / 0.8473 GB, free: 39.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07614/1.921, allocations: 36.85 MB / 0.8833 GB, free: 4.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.921, allocations: 0 / 0.8833 GB, free: 4.914 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/1.921, allocations: 4 kB / 0.8833 GB, free: 4.91 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005588/1.922, allocations: 407.3 kB / 0.8837 GB, free: 4.465 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.922, allocations: 12.03 kB / 0.8837 GB, free: 4.453 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/1.922, allocations: 7.906 kB / 0.8837 GB, free: 4.445 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.922, allocations: 190.9 kB / 0.8839 GB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.922, allocations: 8 kB / 0.8839 GB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.922, allocations: 4 kB / 0.8839 GB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002392/1.922, allocations: 156.3 kB / 0.8841 GB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.923, allocations: 118.9 kB / 0.8842 GB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.923, allocations: 0 / 0.8842 GB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/1.923, allocations: 0 / 0.8842 GB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.923, allocations: 4 kB / 0.8842 GB, free: 3.93 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.001041/1.924, allocations: 0.5723 MB / 0.8848 GB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/1.924, allocations: 142.6 kB / 0.8849 GB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/1.924, allocations: 44.86 kB / 0.8849 GB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009539/1.925, allocations: 1.044 MB / 0.886 GB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.925, allocations: 34.56 kB / 0.886 GB, free: 1.836 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/1.925, allocations: 0 / 0.886 GB, free: 1.836 MB / 234.7 MB Notification: Performance of matching and sorting (n=19): time 0.005511/1.931, allocations: 1.406 MB / 0.8874 GB, free: 340 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/1.931, allocations: 55.34 kB / 0.8874 GB, free: 272 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/1.931, allocations: 97 kB / 0.8875 GB, free: 168 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.931, allocations: 29.7 kB / 0.8875 GB, free: 132 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/1.931, allocations: 104.2 kB / 0.8876 GB, free: 20 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1492/2.08, allocations: 61.14 kB / 0.8877 GB, free: 60.45 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/2.08, allocations: 0.8125 kB / 0.8877 GB, free: 60.45 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/2.08, allocations: 319.4 kB / 0.888 GB, free: 60.13 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/2.08, allocations: 38.53 kB / 0.888 GB, free: 60.13 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/2.08, allocations: 70.3 kB / 0.8881 GB, free: 60.1 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/2.082, allocations: 229.4 kB / 0.8883 GB, free: 60.1 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/2.082, allocations: 0 / 0.8883 GB, free: 60.1 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001149/2.083, allocations: 359 kB / 0.8887 GB, free: 60.05 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/2.083, allocations: 5.438 kB / 0.8887 GB, free: 60.05 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/2.083, allocations: 2.266 kB / 0.8887 GB, free: 60.05 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/2.083, allocations: 25.86 kB / 0.8887 GB, free: 60.05 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/2.083, allocations: 50.75 kB / 0.8887 GB, free: 60.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004334/2.084, allocations: 0.5385 MB / 0.8893 GB, free: 59.53 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/2.084, allocations: 2.75 kB / 0.8893 GB, free: 59.53 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/2.084, allocations: 9.859 kB / 0.8893 GB, free: 59.53 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "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 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002736/2.084, allocations: 128.7 kB / 0.8894 GB, free: 59.42 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/2.084, allocations: 12.72 kB / 0.8894 GB, free: 59.42 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/2.086, allocations: 391.2 kB / 0.8898 GB, free: 59.36 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/2.086, allocations: 3.969 kB / 0.8898 GB, free: 59.36 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/2.086, allocations: 2.156 kB / 0.8898 GB, free: 59.36 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/2.086, allocations: 1.125 kB / 0.8898 GB, free: 59.36 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/2.087, allocations: 0.6474 MB / 0.8904 GB, free: 59.06 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.087, allocations: 1.125 kB / 0.8904 GB, free: 59.06 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/2.087, allocations: 50.06 kB / 0.8905 GB, free: 59.06 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/2.088, allocations: 19.69 kB / 0.8905 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/2.088, allocations: 11.95 kB / 0.8905 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006869/2.088, allocations: 1.221 MB / 0.8917 GB, free: 57.86 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.088, allocations: 4.719 kB / 0.8917 GB, free: 57.86 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/2.089, allocations: 0.5244 MB / 0.8922 GB, free: 57.64 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/2.09, allocations: 106.2 kB / 0.8923 GB, free: 57.54 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/2.09, allocations: 2.938 kB / 0.8923 GB, free: 57.54 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/2.09, allocations: 8.719 kB / 0.8923 GB, free: 57.54 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/2.09, allocations: 19.5 kB / 0.8924 GB, free: 57.54 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/2.09, allocations: 16 kB / 0.8924 GB, free: 57.54 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.094e-05/2.09, allocations: 84.83 kB / 0.8924 GB, free: 57.46 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.09, allocations: 1.188 kB / 0.8925 GB, free: 57.46 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000907/2.091, allocations: 171.2 kB / 0.8926 GB, free: 57.46 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/2.092, allocations: 0.7767 MB / 0.8934 GB, free: 57.34 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/2.093, allocations: 142.9 kB / 0.8935 GB, free: 57.34 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.093, allocations: 0 / 0.8935 GB, free: 57.34 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/2.093, allocations: 171.7 kB / 0.8937 GB, free: 57.24 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/2.094, allocations: 40.17 kB / 0.8937 GB, free: 57.24 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/2.094, allocations: 291.1 kB / 0.894 GB, free: 57.12 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/2.094, allocations: 0.7178 MB / 0.8947 GB, free: 56.42 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/2.095, allocations: 33.8 kB / 0.8947 GB, free: 56.41 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/2.095, allocations: 24.8 kB / 0.8947 GB, free: 56.41 MB / 234.7 MB Notification: Performance of SimCode: time 2.41e-07/2.095, allocations: 0 / 0.8947 GB, free: 56.41 MB / 234.7 MB Notification: Performance of Templates: time 0.01428/2.109, allocations: 8.004 MB / 0.9026 GB, free: 55.69 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)