Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001556/0.001556, allocations: 165.9 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.636/1.636, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001903/0.001903, allocations: 111.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.741e-05, allocations: 7.984 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09899, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.068/2.167, allocations: 0.6956 GB / 0.9895 GB, free: 96.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/2.167, allocations: 89.11 kB / 0.9896 GB, free: 96.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.951/4.118, allocations: 0.5621 GB / 1.552 GB, free: 56.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/4.118, allocations: 0 / 1.552 GB, free: 56.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.784e-05/4.118, allocations: 16.7 kB / 1.552 GB, free: 56.66 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001959/4.12, allocations: 0.78 MB / 1.553 GB, free: 56.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/4.12, allocations: 7.812 kB / 1.553 GB, free: 56.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/4.121, allocations: 121.9 kB / 1.553 GB, free: 56.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/4.122, allocations: 373.9 kB / 1.553 GB, free: 55.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/4.122, allocations: 11.41 kB / 1.553 GB, free: 55.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/4.122, allocations: 23.5 kB / 1.553 GB, free: 55.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006227/4.123, allocations: 389 kB / 1.553 GB, free: 55.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/4.123, allocations: 480.6 kB / 1.554 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/4.123, allocations: 3.938 kB / 1.554 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/4.124, allocations: 2.938 kB / 1.554 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/4.124, allocations: 10.66 kB / 1.554 GB, free: 55.86 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.002483/4.126, allocations: 1.757 MB / 1.556 GB, free: 54.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/4.126, allocations: 144 kB / 1.556 GB, free: 54.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/4.126, allocations: 70.3 kB / 1.556 GB, free: 54.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/4.126, allocations: 5.734 kB / 1.556 GB, free: 54.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/4.126, allocations: 45.36 kB / 1.556 GB, free: 54.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/4.126, allocations: 0 / 1.556 GB, free: 54.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.004493/4.131, allocations: 1.153 MB / 1.557 GB, free: 54.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/4.131, allocations: 54.38 kB / 1.557 GB, free: 54.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/4.131, allocations: 390.7 kB / 1.557 GB, free: 54.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/4.132, allocations: 25.7 kB / 1.557 GB, free: 54.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/4.132, allocations: 320.7 kB / 1.558 GB, free: 53.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/4.132, allocations: 81.06 kB / 1.558 GB, free: 53.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/4.132, allocations: 1.531 kB / 1.558 GB, free: 53.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.904e-05/4.132, allocations: 353.9 kB / 1.558 GB, free: 53.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/4.132, allocations: 112.2 kB / 1.558 GB, free: 53.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/4.132, allocations: 416 kB / 1.559 GB, free: 53.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/4.133, allocations: 208.9 kB / 1.559 GB, free: 53.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/4.133, allocations: 6.531 kB / 1.559 GB, free: 53.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008143/4.133, allocations: 0.5418 MB / 1.559 GB, free: 53.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/4.133, allocations: 13.2 kB / 1.559 GB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/4.134, allocations: 11.72 kB / 1.559 GB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/4.134, allocations: 54.81 kB / 1.559 GB, free: 53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/4.134, allocations: 144.7 kB / 1.56 GB, free: 52.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009501/4.135, allocations: 1.791 MB / 1.561 GB, free: 51.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/4.136, allocations: 26.94 kB / 1.561 GB, free: 51.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/4.136, allocations: 38.03 kB / 1.561 GB, free: 51.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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 0.0001132/4.136, allocations: 131 kB / 1.562 GB, free: 51.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/4.136, allocations: 40.03 kB / 1.562 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/4.136, allocations: 268.6 kB / 1.562 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/4.136, allocations: 3.156 kB / 1.562 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/4.136, allocations: 1.781 kB / 1.562 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003379/4.137, allocations: 0.5107 MB / 1.562 GB, free: 50.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/4.138, allocations: 0.6439 MB / 1.563 GB, free: 50.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/4.138, allocations: 3.953 kB / 1.563 GB, free: 50.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/4.138, allocations: 55.45 kB / 1.563 GB, free: 50.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.419e-05/4.138, allocations: 22.72 kB / 1.563 GB, free: 50.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/4.138, allocations: 0 / 1.563 GB, free: 50.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/4.138, allocations: 1.229 MB / 1.564 GB, free: 49.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.139, allocations: 3.062 kB / 1.564 GB, free: 49.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/4.139, allocations: 405.7 kB / 1.565 GB, free: 48.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/4.139, allocations: 110.5 kB / 1.565 GB, free: 48.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/4.139, allocations: 6.703 kB / 1.565 GB, free: 48.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/4.139, allocations: 5.312 kB / 1.565 GB, free: 48.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/4.139, allocations: 20.91 kB / 1.565 GB, free: 48.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/4.14, allocations: 15.78 kB / 1.565 GB, free: 48.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002558/4.14, allocations: 292.4 kB / 1.565 GB, free: 48.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/4.14, allocations: 0 / 1.565 GB, free: 48.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00114/4.141, allocations: 249.3 kB / 1.565 GB, free: 48.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002637/4.144, allocations: 1.257 MB / 1.567 GB, free: 48.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/4.144, allocations: 424.8 kB / 1.567 GB, free: 48.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/4.144, allocations: 0 / 1.567 GB, free: 48.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/4.144, allocations: 192.4 kB / 1.567 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/4.145, allocations: 172.2 kB / 1.567 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/4.147, allocations: 0.6002 MB / 1.568 GB, free: 48.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/4.147, allocations: 0.8278 MB / 1.569 GB, free: 47.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005142/4.147, allocations: 136.3 kB / 1.569 GB, free: 47.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/4.147, allocations: 45.52 kB / 1.569 GB, free: 47.31 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/4.147, allocations: 0 / 1.569 GB, free: 47.31 MB / 362.7 MB Notification: Performance of Templates: time 0.02203/4.169, allocations: 14.46 MB / 1.583 GB, free: 41.59 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)