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 0.9863/0.9863, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002003/0.002003, allocations: 151.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.24e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07695/0.077, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.837/1.914, allocations: 0.6536 GB / 0.8542 GB, free: 20.2 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.914, allocations: 65.59 kB / 0.8542 GB, free: 20.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2069/2.121, allocations: 37.44 MB / 0.8908 GB, free: 68.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.613e-06/2.121, allocations: 7.938 kB / 0.8908 GB, free: 68.42 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/2.121, allocations: 0 / 0.8908 GB, free: 68.42 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.0004714/2.122, allocations: 410.5 kB / 0.8912 GB, free: 68.04 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/2.122, allocations: 7.906 kB / 0.8912 GB, free: 68.04 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/2.122, allocations: 11.72 kB / 0.8912 GB, free: 68.04 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/2.122, allocations: 192.6 kB / 0.8914 GB, free: 67.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/2.122, allocations: 9.969 kB / 0.8914 GB, free: 67.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/2.122, allocations: 10.25 kB / 0.8914 GB, free: 67.84 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/2.122, allocations: 137 kB / 0.8915 GB, free: 67.8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/2.122, allocations: 224 / 0.8915 GB, free: 67.8 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/2.123, allocations: 7.594 kB / 0.8915 GB, free: 67.8 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/2.123, allocations: 3.938 kB / 0.8915 GB, free: 67.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/2.123, allocations: 159.4 kB / 0.8917 GB, free: 67.79 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.000914/2.124, allocations: 0.603 MB / 0.8923 GB, free: 67.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/2.124, allocations: 152.8 kB / 0.8924 GB, free: 67.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/2.124, allocations: 51.56 kB / 0.8925 GB, free: 67.32 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008724/2.125, allocations: 1.042 MB / 0.8935 GB, free: 66.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/2.125, allocations: 37.75 kB / 0.8935 GB, free: 66.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/2.125, allocations: 0 / 0.8935 GB, free: 66.25 MB / 234.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.003981/2.129, allocations: 1.055 MB / 0.8946 GB, free: 65.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/2.129, allocations: 59.67 kB / 0.8946 GB, free: 65.67 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/2.129, allocations: 100.9 kB / 0.8947 GB, free: 65.58 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/2.129, allocations: 29.61 kB / 0.8947 GB, free: 65.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/2.129, allocations: 99.34 kB / 0.8948 GB, free: 65.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/2.129, allocations: 65.45 kB / 0.8949 GB, free: 65.41 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/2.129, allocations: 4 kB / 0.8949 GB, free: 65.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/2.129, allocations: 326 kB / 0.8952 GB, free: 65.09 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/2.129, allocations: 44.19 kB / 0.8953 GB, free: 65.07 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/2.13, allocations: 83.75 kB / 0.8953 GB, free: 65.01 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/2.13, allocations: 52.89 kB / 0.8954 GB, free: 65 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/2.13, allocations: 4 kB / 0.8954 GB, free: 64.99 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003387/2.13, allocations: 203 kB / 0.8956 GB, free: 64.89 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/2.13, allocations: 5.156 kB / 0.8956 GB, free: 64.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/2.13, allocations: 2.531 kB / 0.8956 GB, free: 64.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/2.13, allocations: 26.23 kB / 0.8956 GB, free: 64.88 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/2.131, allocations: 49.69 kB / 0.8957 GB, free: 64.88 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003818/2.131, allocations: 0.5356 MB / 0.8962 GB, free: 64.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/2.131, allocations: 7.375 kB / 0.8962 GB, free: 64.34 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/2.131, allocations: 10.23 kB / 0.8962 GB, free: 64.34 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.0001859/2.131, allocations: 137.5 kB / 0.8963 GB, free: 64.21 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/2.131, allocations: 14.53 kB / 0.8963 GB, free: 64.2 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/2.132, allocations: 237.1 kB / 0.8966 GB, free: 64.08 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/2.132, allocations: 3.938 kB / 0.8966 GB, free: 64.08 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/2.132, allocations: 0 / 0.8966 GB, free: 64.08 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.132, allocations: 0 / 0.8966 GB, free: 64.08 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/2.132, allocations: 0.5349 MB / 0.8971 GB, free: 63.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.132, allocations: 3.375 kB / 0.8971 GB, free: 63.66 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/2.133, allocations: 46.61 kB / 0.8971 GB, free: 63.65 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.255e-05/2.133, allocations: 22.86 kB / 0.8972 GB, free: 63.64 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/2.133, allocations: 10.91 kB / 0.8972 GB, free: 63.64 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006178/2.133, allocations: 1.269 MB / 0.8984 GB, free: 62.33 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.133, allocations: 0 / 0.8984 GB, free: 62.33 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/2.134, allocations: 385.9 kB / 0.8988 GB, free: 62.04 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/2.134, allocations: 103.9 kB / 0.8989 GB, free: 61.93 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/2.134, allocations: 7.906 kB / 0.8989 GB, free: 61.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/2.134, allocations: 3.938 kB / 0.8989 GB, free: 61.93 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/2.134, allocations: 17.75 kB / 0.8989 GB, free: 61.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/2.134, allocations: 15.02 kB / 0.8989 GB, free: 61.92 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.148e-05/2.134, allocations: 90.69 kB / 0.899 GB, free: 61.84 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.134, allocations: 3.938 kB / 0.899 GB, free: 61.84 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007425/2.135, allocations: 184 kB / 0.8992 GB, free: 61.79 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.001073/2.136, allocations: 0.7009 MB / 0.8999 GB, free: 61.54 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/2.136, allocations: 148.1 kB / 0.9 GB, free: 61.49 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.136, allocations: 4 kB / 0.9 GB, free: 61.48 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/2.136, allocations: 186.2 kB / 0.9002 GB, free: 61.35 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/2.137, allocations: 40.52 kB / 0.9002 GB, free: 61.34 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/2.137, allocations: 314.2 kB / 0.9005 GB, free: 61.1 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/2.137, allocations: 0.7108 MB / 0.9012 GB, free: 60.4 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/2.137, allocations: 33.42 kB / 0.9013 GB, free: 60.39 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/2.138, allocations: 23.19 kB / 0.9013 GB, free: 60.38 MB / 234.7 MB Notification: Performance of SimCode: time 2.5e-07/2.138, allocations: 0 / 0.9013 GB, free: 60.38 MB / 234.7 MB Notification: Performance of Templates: time 0.01587/2.153, allocations: 13.49 MB / 0.9145 GB, free: 50.88 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)