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.007392/0.007392, allocations: 167.3 kB / 15.11 MB, free: 5.973 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.385/1.385, allocations: 170.8 MB / 186.6 MB, free: 1.055 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.001618/0.001618, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.4064/0.4064, allocations: 38.04 MB / 303.7 MB, free: 42.24 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 15.98 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.341/2.484, allocations: 0.8071 GB / 1.209 GB, free: 65.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/2.484, allocations: 95.94 kB / 1.209 GB, free: 65.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.654/5.138, allocations: 0.7071 GB / 1.916 GB, free: 48.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/5.138, allocations: 0 / 1.916 GB, free: 48.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000126/5.139, allocations: 24.19 kB / 1.916 GB, free: 48.29 MB / 458.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.006825/5.145, allocations: 1.656 MB / 1.918 GB, free: 46.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/5.146, allocations: 12.03 kB / 1.918 GB, free: 46.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/5.148, allocations: 302.2 kB / 1.918 GB, free: 46.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/5.151, allocations: 0.8318 MB / 1.919 GB, free: 45.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/5.151, allocations: 141.4 kB / 1.919 GB, free: 45.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004826/5.151, allocations: 107.9 kB / 1.919 GB, free: 45.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/5.155, allocations: 1.772 MB / 1.921 GB, free: 43.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.314e-05/5.156, allocations: 3.953 kB / 1.921 GB, free: 43.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/5.156, allocations: 51.98 kB / 1.921 GB, free: 43.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/5.156, allocations: 81.89 kB / 1.921 GB, free: 43.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/5.159, allocations: 1.628 MB / 1.923 GB, free: 41.54 MB / 458.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.009617/5.169, allocations: 5.894 MB / 1.928 GB, free: 35.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/5.17, allocations: 0.6301 MB / 1.929 GB, free: 34.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/5.17, allocations: 24.42 kB / 1.929 GB, free: 34.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/5.17, allocations: 42.94 kB / 1.929 GB, free: 34.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 3.526e-06/5.17, allocations: 4 kB / 1.929 GB, free: 34.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.009908/5.18, allocations: 3.7 MB / 1.933 GB, free: 30.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/5.18, allocations: 123.3 kB / 1.933 GB, free: 30.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/5.181, allocations: 0.8558 MB / 1.934 GB, free: 29.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/5.182, allocations: 41.7 kB / 1.934 GB, free: 29.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/5.182, allocations: 0.5604 MB / 1.934 GB, free: 29.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/5.182, allocations: 248.5 kB / 1.934 GB, free: 28.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/5.182, allocations: 24 kB / 1.935 GB, free: 28.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/5.182, allocations: 349.9 kB / 1.935 GB, free: 28.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/5.183, allocations: 0.514 MB / 1.935 GB, free: 28.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009315/5.184, allocations: 0.9051 MB / 1.936 GB, free: 27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/5.185, allocations: 0.6564 MB / 1.937 GB, free: 26.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/5.185, allocations: 4 kB / 1.937 GB, free: 26.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002735/5.188, allocations: 1.869 MB / 1.939 GB, free: 24.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/5.188, allocations: 15.98 kB / 1.939 GB, free: 24.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/5.188, allocations: 12 kB / 1.939 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/5.192, allocations: 1.297 MB / 1.94 GB, free: 23.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/5.193, allocations: 167.7 kB / 1.94 GB, free: 22.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/5.195, allocations: 1.724 MB / 1.942 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/5.196, allocations: 115.8 kB / 1.942 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/5.196, allocations: 75.98 kB / 1.942 GB, free: 21.03 MB / 458.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 () * Number of clocked 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.000905/5.197, allocations: 398.4 kB / 1.942 GB, free: 20.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/5.198, allocations: 102.7 kB / 1.943 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/5.2, allocations: 1.253 MB / 1.944 GB, free: 19.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/5.2, allocations: 11.94 kB / 1.944 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/5.2, allocations: 0 / 1.944 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/5.2, allocations: 3.984 kB / 1.944 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/5.204, allocations: 2.491 MB / 1.946 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/5.204, allocations: 0 / 1.946 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/5.206, allocations: 311.7 kB / 1.946 GB, free: 16.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/5.206, allocations: 64.7 kB / 1.947 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/5.206, allocations: 35.97 kB / 1.947 GB, free: 16.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/5.209, allocations: 2.852 MB / 1.949 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/5.209, allocations: 3.953 kB / 1.949 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/5.213, allocations: 1.69 MB / 1.951 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/5.214, allocations: 303.8 kB / 1.951 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/5.215, allocations: 31.98 kB / 1.951 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/5.216, allocations: 63.94 kB / 1.951 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/5.216, allocations: 56.58 kB / 1.951 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/5.216, allocations: 59.95 kB / 1.952 GB, free: 10.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001445/5.218, allocations: 0.6629 MB / 1.952 GB, free: 10.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/5.218, allocations: 0 / 1.952 GB, free: 10.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003425/5.221, allocations: 0.6051 MB / 1.953 GB, free: 9.66 MB / 458.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 () * Number of clocked 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.004667/5.226, allocations: 1.433 MB / 1.954 GB, free: 8.219 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002981/5.229, allocations: 1.375 MB / 1.955 GB, free: 6.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/5.229, allocations: 0.75 kB / 1.955 GB, free: 6.852 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/5.231, allocations: 0.7873 MB / 1.956 GB, free: 6.047 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/5.234, allocations: 0.5928 MB / 1.957 GB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007184/5.241, allocations: 3.307 MB / 1.96 GB, free: 2.133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/5.243, allocations: 1.187 MB / 1.961 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001943/5.244, allocations: 397.2 kB / 1.962 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/5.245, allocations: 103.4 kB / 1.962 GB, free: 432 kB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/5.245, allocations: 0 / 1.962 GB, free: 432 kB / 458.7 MB Notification: Performance of Templates: time 0.3546/5.6, allocations: 42.59 MB / 2.003 GB, free: 62.21 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)