Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00132/0.00132, allocations: 169.5 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.538/1.538, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001972/0.001973, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.488e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09747, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.245, allocations: 428.1 MB / 0.7185 GB, free: 32.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.245, allocations: 86.5 kB / 0.7186 GB, free: 32.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4578/1.703, allocations: 143.1 MB / 0.8583 GB, free: 43.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.703, allocations: 0 / 0.8583 GB, free: 43.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/1.703, allocations: 12 kB / 0.8583 GB, free: 43.09 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009126/1.704, allocations: 0.5898 MB / 0.8589 GB, free: 42.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.704, allocations: 8.031 kB / 0.8589 GB, free: 42.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/1.705, allocations: 43.61 kB / 0.859 GB, free: 42.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/1.705, allocations: 282.5 kB / 0.8592 GB, free: 42.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.705, allocations: 20.56 kB / 0.8592 GB, free: 42.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/1.705, allocations: 24 kB / 0.8593 GB, free: 42.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/1.705, allocations: 311.7 kB / 0.8596 GB, free: 41.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.705, allocations: 3.938 kB / 0.8596 GB, free: 41.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/1.706, allocations: 16 kB / 0.8596 GB, free: 41.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.706, allocations: 8 kB / 0.8596 GB, free: 41.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/1.706, allocations: 193.6 kB / 0.8598 GB, free: 41.5 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.001372/1.707, allocations: 1.577 MB / 0.8613 GB, free: 39.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/1.707, allocations: 162.5 kB / 0.8615 GB, free: 39.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/1.708, allocations: 89.23 kB / 0.8616 GB, free: 39.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/1.708, allocations: 16.11 kB / 0.8616 GB, free: 39.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.708, allocations: 42.73 kB / 0.8616 GB, free: 39.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/1.708, allocations: 0 / 0.8616 GB, free: 39.45 MB / 362.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004435/1.712, allocations: 1.235 MB / 0.8628 GB, free: 38.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/1.712, allocations: 55.39 kB / 0.8629 GB, free: 38.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/1.712, allocations: 232.9 kB / 0.8631 GB, free: 37.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/1.712, allocations: 37.64 kB / 0.8631 GB, free: 37.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/1.712, allocations: 168.1 kB / 0.8633 GB, free: 37.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/1.713, allocations: 102.5 kB / 0.8634 GB, free: 37.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/1.713, allocations: 12 kB / 0.8634 GB, free: 37.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/1.713, allocations: 334.8 kB / 0.8637 GB, free: 37.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.713, allocations: 87.77 kB / 0.8638 GB, free: 37.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.713, allocations: 179.8 kB / 0.864 GB, free: 36.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/1.713, allocations: 120.4 kB / 0.8641 GB, free: 36.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.713, allocations: 0 / 0.8641 GB, free: 36.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005205/1.714, allocations: 394.7 kB / 0.8645 GB, free: 36.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.714, allocations: 8 kB / 0.8645 GB, free: 36.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.714, allocations: 0 / 0.8645 GB, free: 36.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/1.714, allocations: 78.03 kB / 0.8645 GB, free: 36.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.714, allocations: 91.89 kB / 0.8646 GB, free: 36.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009788/1.715, allocations: 1.856 MB / 0.8664 GB, free: 34.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.715, allocations: 15.91 kB / 0.8665 GB, free: 34.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/1.715, allocations: 43.98 kB / 0.8665 GB, free: 34.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/1.716, allocations: 121 kB / 0.8666 GB, free: 33.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/1.716, allocations: 27.72 kB / 0.8666 GB, free: 33.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/1.717, allocations: 447.7 kB / 0.8671 GB, free: 33.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.717, allocations: 0 / 0.8671 GB, free: 33.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.717, allocations: 4 kB / 0.8671 GB, free: 33.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004107/1.717, allocations: 0.5552 MB / 0.8676 GB, free: 32.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/1.718, allocations: 0.712 MB / 0.8683 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.718, allocations: 3.938 kB / 0.8683 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/1.718, allocations: 67.95 kB / 0.8684 GB, free: 31.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.209e-05/1.718, allocations: 24.84 kB / 0.8684 GB, free: 31.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.718, allocations: 15.98 kB / 0.8684 GB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005624/1.719, allocations: 1.28 MB / 0.8697 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.719, allocations: 3.984 kB / 0.8697 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/1.719, allocations: 497.3 kB / 0.8701 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/1.719, allocations: 104.7 kB / 0.8702 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/1.719, allocations: 7.938 kB / 0.8703 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/1.72, allocations: 20.05 kB / 0.8703 GB, free: 29.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/1.72, allocations: 27.97 kB / 0.8703 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.72, allocations: 31.98 kB / 0.8703 GB, free: 29.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001487/1.72, allocations: 179.1 kB / 0.8705 GB, free: 29.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.72, allocations: 0 / 0.8705 GB, free: 29.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007555/1.721, allocations: 195.8 kB / 0.8707 GB, free: 29.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.001085/1.722, allocations: 0.7608 MB / 0.8714 GB, free: 28.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/1.722, allocations: 360.1 kB / 0.8718 GB, free: 28.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.722, allocations: 0 / 0.8718 GB, free: 28.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/1.723, allocations: 234.5 kB / 0.872 GB, free: 28.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/1.723, allocations: 164.8 kB / 0.8722 GB, free: 27.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/1.724, allocations: 491.6 kB / 0.8726 GB, free: 27.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/1.724, allocations: 0.7764 MB / 0.8734 GB, free: 26.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000487/1.725, allocations: 110.9 kB / 0.8735 GB, free: 26.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.725, allocations: 71.34 kB / 0.8736 GB, free: 26.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/1.725, allocations: 0 / 0.8736 GB, free: 26.41 MB / 362.7 MB Notification: Performance of Templates: time 0.0226/1.748, allocations: 19.84 MB / 0.8929 GB, free: 6.539 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)