Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008363/0.008363, allocations: 166.2 kB / 15.11 MB, free: 5.992 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.531/1.531, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001679/0.001679, allocations: 110.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 38.77 MB / 312.9 MB, free: 38.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.773/2.055, allocations: 0.6955 GB / 1.001 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/2.055, allocations: 86.64 kB / 1.001 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.926/3.982, allocations: 0.5513 GB / 1.552 GB, free: 53.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/3.982, allocations: 3.844 kB / 1.552 GB, free: 53.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.453e-05/3.982, allocations: 16.12 kB / 1.553 GB, free: 53.73 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002894/3.985, allocations: 1.002 MB / 1.553 GB, free: 53.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/3.985, allocations: 9.5 kB / 1.553 GB, free: 53.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000836/3.986, allocations: 147.1 kB / 1.554 GB, free: 53.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/3.987, allocations: 486.3 kB / 1.554 GB, free: 53.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/3.987, allocations: 55.75 kB / 1.554 GB, free: 53.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/3.987, allocations: 76.7 kB / 1.554 GB, free: 53.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/3.989, allocations: 0.9192 MB / 1.555 GB, free: 53.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/3.989, allocations: 4.562 kB / 1.555 GB, free: 53.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/3.989, allocations: 35.41 kB / 1.555 GB, free: 53.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/3.989, allocations: 18.59 kB / 1.555 GB, free: 53.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/3.991, allocations: 0.8499 MB / 1.556 GB, free: 53.03 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.005466/3.996, allocations: 3.041 MB / 1.559 GB, free: 51.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/3.997, allocations: 0.6307 MB / 1.56 GB, free: 51.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.723e-05/3.997, allocations: 26.17 kB / 1.56 GB, free: 51.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/3.997, allocations: 45.09 kB / 1.56 GB, free: 51.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.178e-06/3.997, allocations: 0 / 1.56 GB, free: 51.82 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01418/4.012, allocations: 6.131 MB / 1.566 GB, free: 49.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/4.012, allocations: 58.88 kB / 1.566 GB, free: 49.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/4.012, allocations: 0.4984 MB / 1.566 GB, free: 49.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/4.012, allocations: 41.42 kB / 1.566 GB, free: 49.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/4.013, allocations: 282.4 kB / 1.566 GB, free: 49.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/4.013, allocations: 255.2 kB / 1.567 GB, free: 49.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/4.013, allocations: 15.28 kB / 1.567 GB, free: 49.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/4.013, allocations: 372.3 kB / 1.567 GB, free: 48.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/4.013, allocations: 440.7 kB / 1.568 GB, free: 48.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/4.014, allocations: 0.5076 MB / 1.568 GB, free: 48.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/4.015, allocations: 0.5 MB / 1.569 GB, free: 48.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/4.015, allocations: 0 / 1.569 GB, free: 48.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001727/4.016, allocations: 1.325 MB / 1.57 GB, free: 48.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/4.016, allocations: 5.594 kB / 1.57 GB, free: 48.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/4.016, allocations: 3.938 kB / 1.57 GB, free: 48.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/4.017, allocations: 340.1 kB / 1.57 GB, free: 48.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/4.018, allocations: 175.3 kB / 1.57 GB, free: 48.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/4.024, allocations: 10.27 MB / 1.58 GB, free: 39.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/4.025, allocations: 84.12 kB / 1.58 GB, free: 39.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/4.026, allocations: 46.92 kB / 1.58 GB, free: 39.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007776/4.026, allocations: 268 kB / 1.581 GB, free: 39.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/4.027, allocations: 62.94 kB / 1.581 GB, free: 39.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/4.029, allocations: 1.281 MB / 1.582 GB, free: 39.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/4.029, allocations: 7.375 kB / 1.582 GB, free: 39.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/4.029, allocations: 0 / 1.582 GB, free: 39.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/4.03, allocations: 1.605 MB / 1.584 GB, free: 38.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/4.034, allocations: 2.265 MB / 1.586 GB, free: 37.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/4.034, allocations: 3.938 kB / 1.586 GB, free: 37.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/4.035, allocations: 230.9 kB / 1.586 GB, free: 37.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/4.035, allocations: 70.73 kB / 1.586 GB, free: 37.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/4.035, allocations: 43.28 kB / 1.586 GB, free: 37.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/4.036, allocations: 1.441 MB / 1.588 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/4.036, allocations: 0 / 1.588 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/4.038, allocations: 1.63 MB / 1.589 GB, free: 36.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/4.039, allocations: 148.9 kB / 1.589 GB, free: 36.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/4.039, allocations: 31.66 kB / 1.589 GB, free: 36.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/4.04, allocations: 74.67 kB / 1.589 GB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/4.04, allocations: 56.98 kB / 1.589 GB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/4.04, allocations: 62.59 kB / 1.59 GB, free: 36.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000468/4.04, allocations: 406.4 kB / 1.59 GB, free: 36.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/4.04, allocations: 0 / 1.59 GB, free: 36.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001696/4.042, allocations: 411.7 kB / 1.59 GB, free: 36.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * 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 (77): * Single equations (assignments): 76 * 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.00255/4.045, allocations: 1.139 MB / 1.591 GB, free: 35.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002625/4.047, allocations: 1.869 MB / 1.593 GB, free: 35.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/4.047, allocations: 3.312 kB / 1.593 GB, free: 35.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009015/4.048, allocations: 0.6779 MB / 1.594 GB, free: 35.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/4.051, allocations: 484.9 kB / 1.594 GB, free: 35.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/4.055, allocations: 2.55 MB / 1.597 GB, free: 34.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/4.055, allocations: 0.9838 MB / 1.598 GB, free: 33.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001104/4.056, allocations: 276.9 kB / 1.598 GB, free: 33.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/4.057, allocations: 88.11 kB / 1.598 GB, free: 33.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/4.057, allocations: 0 / 1.598 GB, free: 33.52 MB / 362.7 MB Notification: Performance of Templates: time 0.0504/4.107, allocations: 34.99 MB / 1.632 GB, free: 24.32 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)