Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001168/0.001168, allocations: 169.9 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.338/1.338, 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.001639/0.001639, allocations: 103.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.206/0.206, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.318e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.052/2.163, allocations: 0.807 GB / 1.203 GB, free: 96.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/2.164, allocations: 94.19 kB / 1.203 GB, free: 96.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.376/4.539, allocations: 0.7075 GB / 1.911 GB, free: 51.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/4.539, allocations: 3.5 kB / 1.911 GB, free: 51.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.552e-05/4.539, allocations: 30.5 kB / 1.911 GB, free: 51.49 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004198/4.544, allocations: 1.572 MB / 1.912 GB, free: 50.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/4.544, allocations: 9.625 kB / 1.912 GB, free: 50.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/4.545, allocations: 302.8 kB / 1.913 GB, free: 50.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/4.547, allocations: 0.8234 MB / 1.913 GB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/4.547, allocations: 136.8 kB / 1.914 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/4.547, allocations: 110.3 kB / 1.914 GB, free: 50.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/4.55, allocations: 1.749 MB / 1.915 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/4.55, allocations: 8.859 kB / 1.915 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/4.55, allocations: 49.59 kB / 1.915 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-05/4.55, allocations: 78.44 kB / 1.916 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/4.552, allocations: 1.597 MB / 1.917 GB, free: 49.07 MB / 442.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.007459/4.56, allocations: 5.884 MB / 1.923 GB, free: 45.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/4.56, allocations: 0.6183 MB / 1.923 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/4.561, allocations: 355 kB / 1.924 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/4.561, allocations: 20.03 kB / 1.924 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/4.561, allocations: 46.23 kB / 1.924 GB, free: 44.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.006e-06/4.561, allocations: 0 / 1.924 GB, free: 44.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.00818/4.569, allocations: 3.438 MB / 1.927 GB, free: 43.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/4.569, allocations: 114.6 kB / 1.927 GB, free: 43.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/4.57, allocations: 0.8533 MB / 1.928 GB, free: 42.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/4.57, allocations: 37.7 kB / 1.928 GB, free: 42.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/4.571, allocations: 0.5615 MB / 1.929 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/4.571, allocations: 244.2 kB / 1.929 GB, free: 41.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/4.571, allocations: 24 kB / 1.929 GB, free: 41.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/4.571, allocations: 356.3 kB / 1.929 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/4.572, allocations: 0.5056 MB / 1.93 GB, free: 40.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/4.573, allocations: 0.8913 MB / 1.931 GB, free: 39.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/4.573, allocations: 0.6434 MB / 1.931 GB, free: 39.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/4.573, allocations: 4 kB / 1.931 GB, free: 39.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002273/4.576, allocations: 1.846 MB / 1.933 GB, free: 37.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/4.576, allocations: 11.44 kB / 1.933 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/4.576, allocations: 15.75 kB / 1.933 GB, free: 37.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/4.58, allocations: 1.28 MB / 1.934 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/4.58, allocations: 169.4 kB / 1.935 GB, free: 36.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/4.582, allocations: 1.723 MB / 1.936 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/4.583, allocations: 114.7 kB / 1.936 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/4.584, allocations: 71.8 kB / 1.936 GB, free: 34.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/4.584, allocations: 178.4 kB / 1.937 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/4.584, allocations: 98.88 kB / 1.937 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/4.586, allocations: 1.232 MB / 1.938 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/4.586, allocations: 14.5 kB / 1.938 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/4.586, allocations: 3.703 kB / 1.938 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/4.586, allocations: 3.828 kB / 1.938 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/4.589, allocations: 2.47 MB / 1.94 GB, free: 31.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/4.589, allocations: 0 / 1.94 GB, free: 31.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/4.591, allocations: 316 kB / 1.941 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/4.591, allocations: 68.48 kB / 1.941 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/4.591, allocations: 35.97 kB / 1.941 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/4.593, allocations: 2.837 MB / 1.943 GB, free: 27.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/4.593, allocations: 0 / 1.943 GB, free: 27.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/4.595, allocations: 1.672 MB / 1.945 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/4.596, allocations: 303.8 kB / 1.945 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/4.596, allocations: 24 kB / 1.945 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/4.597, allocations: 81.22 kB / 1.946 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/4.597, allocations: 50.72 kB / 1.946 GB, free: 25.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/4.597, allocations: 59.95 kB / 1.946 GB, free: 25.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007836/4.598, allocations: 0.6553 MB / 1.946 GB, free: 24.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/4.598, allocations: 0 / 1.946 GB, free: 24.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002113/4.6, allocations: 0.6052 MB / 1.947 GB, free: 24.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002925/4.603, allocations: 1.434 MB / 1.948 GB, free: 22.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/4.605, allocations: 1.354 MB / 1.95 GB, free: 21.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/4.605, allocations: 4.75 kB / 1.95 GB, free: 21.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/4.606, allocations: 0.7645 MB / 1.95 GB, free: 20.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/4.609, allocations: 0.5917 MB / 1.951 GB, free: 20.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/4.613, allocations: 2.311 MB / 1.953 GB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/4.614, allocations: 1.195 MB / 1.954 GB, free: 32.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001356/4.615, allocations: 395.8 kB / 1.955 GB, free: 32.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/4.615, allocations: 103.4 kB / 1.955 GB, free: 32.18 MB / 458.7 MB Notification: Performance of SimCode: time 6.72e-07/4.615, allocations: 0 / 1.955 GB, free: 32.18 MB / 458.7 MB Notification: Performance of Templates: time 0.3409/4.956, allocations: 45.66 MB / 1.999 GB, free: 70.73 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)