Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 183.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.753/1.753, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001671/0.001671, allocations: 112.9 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.454e-05, allocations: 4 kB / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09852, allocations: 44.5 MB / 342.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.791/1.89, allocations: 0.707 GB / 1.042 GB, free: 99.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/1.89, allocations: 83.95 kB / 1.042 GB, free: 99.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.98/3.87, allocations: 0.548 GB / 1.59 GB, free: 72.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/3.87, allocations: 3.906 kB / 1.59 GB, free: 72.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.16e-05/3.87, allocations: 13.44 kB / 1.59 GB, free: 72.48 MB / 410.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.002129/3.872, allocations: 0.956 MB / 1.591 GB, free: 72.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/3.872, allocations: 9.625 kB / 1.591 GB, free: 72.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/3.873, allocations: 148.1 kB / 1.591 GB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/3.874, allocations: 485.8 kB / 1.591 GB, free: 71.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/3.874, allocations: 23.42 kB / 1.591 GB, free: 71.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/3.874, allocations: 46.38 kB / 1.591 GB, free: 71.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/3.875, allocations: 0.7966 MB / 1.592 GB, free: 71.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/3.877, allocations: 0.8006 MB / 1.593 GB, free: 71.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/3.877, allocations: 1.734 kB / 1.593 GB, free: 71.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/3.877, allocations: 4.594 kB / 1.593 GB, free: 71.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/3.877, allocations: 17 kB / 1.593 GB, free: 71.81 MB / 410.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.005433/3.882, allocations: 3.245 MB / 1.596 GB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/3.883, allocations: 0.592 MB / 1.597 GB, free: 70.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/3.883, allocations: 335 kB / 1.597 GB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.289e-05/3.884, allocations: 17.73 kB / 1.597 GB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/3.884, allocations: 45.38 kB / 1.597 GB, free: 70.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.759e-06/3.884, allocations: 0 / 1.597 GB, free: 70.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.009374/3.893, allocations: 3.116 MB / 1.6 GB, free: 69.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/3.893, allocations: 69.06 kB / 1.6 GB, free: 69.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/3.893, allocations: 308.7 kB / 1.6 GB, free: 69.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/3.893, allocations: 32.2 kB / 1.6 GB, free: 69.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/3.894, allocations: 294.5 kB / 1.601 GB, free: 69.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/3.894, allocations: 236.4 kB / 1.601 GB, free: 69.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/3.894, allocations: 3.406 kB / 1.601 GB, free: 69.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/3.894, allocations: 355.2 kB / 1.601 GB, free: 68.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/3.894, allocations: 418.7 kB / 1.602 GB, free: 68.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/3.895, allocations: 488.6 kB / 1.602 GB, free: 68.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/3.896, allocations: 484.8 kB / 1.603 GB, free: 68.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/3.896, allocations: 0.6562 kB / 1.603 GB, free: 68.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001774/3.897, allocations: 1.28 MB / 1.604 GB, free: 68.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/3.897, allocations: 6.156 kB / 1.604 GB, free: 68.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.897, allocations: 1.062 kB / 1.604 GB, free: 68.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/3.898, allocations: 315.4 kB / 1.604 GB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/3.899, allocations: 181.6 kB / 1.604 GB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/3.904, allocations: 9.854 MB / 1.614 GB, free: 59.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/3.905, allocations: 69.84 kB / 1.614 GB, free: 59.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/3.905, allocations: 46.48 kB / 1.614 GB, free: 59.71 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] 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 () * 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.0003707/3.905, allocations: 149.2 kB / 1.614 GB, free: 59.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/3.906, allocations: 51.19 kB / 1.614 GB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/3.907, allocations: 1.23 MB / 1.615 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/3.907, allocations: 9.938 kB / 1.615 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/3.907, allocations: 0 / 1.615 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/3.909, allocations: 1.545 MB / 1.617 GB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/3.911, allocations: 2.113 MB / 1.619 GB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/3.911, allocations: 3.938 kB / 1.619 GB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/3.912, allocations: 218.1 kB / 1.619 GB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/3.913, allocations: 69.17 kB / 1.619 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/3.913, allocations: 32.36 kB / 1.619 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/3.913, allocations: 1.413 MB / 1.621 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/3.914, allocations: 3.062 kB / 1.621 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/3.915, allocations: 1.538 MB / 1.622 GB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/3.915, allocations: 128.2 kB / 1.622 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/3.915, allocations: 22.27 kB / 1.622 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/3.916, allocations: 59.28 kB / 1.622 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/3.916, allocations: 63.97 kB / 1.622 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/3.916, allocations: 58.11 kB / 1.622 GB, free: 56.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002231/3.917, allocations: 244.5 kB / 1.623 GB, free: 56.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.743e-06/3.917, allocations: 0 / 1.623 GB, free: 56.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001685/3.918, allocations: 385.1 kB / 1.623 GB, free: 56.6 MB / 410.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 () * 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.00232/3.921, allocations: 1.285 MB / 1.624 GB, free: 56.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/3.922, allocations: 1.743 MB / 1.626 GB, free: 55.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.922, allocations: 3.688 kB / 1.626 GB, free: 55.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007351/3.923, allocations: 0.6559 MB / 1.627 GB, free: 55.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/3.925, allocations: 308.8 kB / 1.627 GB, free: 55.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/3.928, allocations: 1.818 MB / 1.629 GB, free: 55.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/3.929, allocations: 0.9955 MB / 1.63 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008731/3.93, allocations: 239 kB / 1.63 GB, free: 54.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/3.93, allocations: 76.03 kB / 1.63 GB, free: 54.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/3.93, allocations: 0 / 1.63 GB, free: 54.54 MB / 410.7 MB Notification: Performance of Templates: time 0.03068/3.961, allocations: 24.36 MB / 1.654 GB, free: 53.86 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)