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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005194/0.005194, allocations: 176.8 kB / 7.449 MB, free: 2.344 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.802/1.802, allocations: 170.6 MB / 178.4 MB, free: 15.79 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.00204/0.00204, allocations: 115.9 kB / 217.7 MB, free: 8.566 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.166e-06, allocations: 0 / 261.8 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 38.76 MB / 300.5 MB, free: 3.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.142, allocations: 0.6947 GB / 0.9882 GB, free: 119.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/2.142, allocations: 87 kB / 0.9882 GB, free: 119.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044/4.186, allocations: 0.5511 GB / 1.539 GB, free: 58.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.824e-05/4.186, allocations: 15.16 kB / 1.539 GB, free: 58.51 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.003376/4.19, allocations: 0.9651 MB / 1.54 GB, free: 58.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/4.19, allocations: 7.844 kB / 1.54 GB, free: 58.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/4.191, allocations: 146.2 kB / 1.54 GB, free: 57.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/4.192, allocations: 482.8 kB / 1.541 GB, free: 57.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/4.192, allocations: 22.78 kB / 1.541 GB, free: 57.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/4.193, allocations: 42.38 kB / 1.541 GB, free: 57.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/4.194, allocations: 0.821 MB / 1.542 GB, free: 57.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/4.196, allocations: 0.8253 MB / 1.543 GB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/4.196, allocations: 7.344 kB / 1.543 GB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/4.196, allocations: 0 / 1.543 GB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/4.196, allocations: 21.38 kB / 1.543 GB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/4.201, allocations: 2.87 MB / 1.545 GB, free: 56.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/4.202, allocations: 433.8 kB / 1.546 GB, free: 56.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/4.202, allocations: 345.7 kB / 1.546 GB, free: 56.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/4.203, allocations: 16.95 kB / 1.546 GB, free: 56.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/4.203, allocations: 43.5 kB / 1.546 GB, free: 56.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/4.203, allocations: 0 / 1.546 GB, free: 56.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.009267/4.212, allocations: 3.096 MB / 1.549 GB, free: 55.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/4.212, allocations: 58 kB / 1.549 GB, free: 55.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/4.212, allocations: 325.3 kB / 1.55 GB, free: 55.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/4.213, allocations: 25.7 kB / 1.55 GB, free: 55.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/4.213, allocations: 267.2 kB / 1.55 GB, free: 55.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/4.213, allocations: 249.2 kB / 1.55 GB, free: 55.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/4.213, allocations: 0 / 1.55 GB, free: 55.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/4.213, allocations: 352.2 kB / 1.55 GB, free: 55.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/4.214, allocations: 434.8 kB / 1.551 GB, free: 55.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/4.215, allocations: 0.4975 MB / 1.551 GB, free: 55.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/4.215, allocations: 0.4967 MB / 1.552 GB, free: 55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/4.215, allocations: 2.344 kB / 1.552 GB, free: 55 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002333/4.218, allocations: 1.319 MB / 1.553 GB, free: 54.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/4.218, allocations: 5.75 kB / 1.553 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/4.218, allocations: 0 / 1.553 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/4.218, allocations: 331.6 kB / 1.553 GB, free: 54.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/4.219, allocations: 186.9 kB / 1.554 GB, free: 54.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/4.227, allocations: 9.801 MB / 1.563 GB, free: 45.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/4.227, allocations: 58.81 kB / 1.563 GB, free: 45.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/4.228, allocations: 46.2 kB / 1.563 GB, free: 45.94 MB / 362.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.0005603/4.228, allocations: 149.6 kB / 1.563 GB, free: 45.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/4.228, allocations: 50.38 kB / 1.564 GB, free: 45.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/4.231, allocations: 1.28 MB / 1.565 GB, free: 45.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/4.231, allocations: 17.97 kB / 1.565 GB, free: 45.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/4.231, allocations: 0 / 1.565 GB, free: 45.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001737/4.233, allocations: 1.567 MB / 1.566 GB, free: 44.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/4.237, allocations: 2.141 MB / 1.568 GB, free: 44.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/4.237, allocations: 3.344 kB / 1.568 GB, free: 44.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/4.238, allocations: 224.1 kB / 1.569 GB, free: 44.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/4.238, allocations: 70.91 kB / 1.569 GB, free: 44.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/4.238, allocations: 37.62 kB / 1.569 GB, free: 44.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/4.239, allocations: 1.422 MB / 1.57 GB, free: 43.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/4.239, allocations: 2.188 kB / 1.57 GB, free: 43.26 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002104/4.241, allocations: 1.583 MB / 1.572 GB, free: 43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/4.242, allocations: 128.6 kB / 1.572 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/4.242, allocations: 15.28 kB / 1.572 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/4.243, allocations: 59.05 kB / 1.572 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/4.243, allocations: 55.86 kB / 1.572 GB, free: 42.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/4.243, allocations: 60.25 kB / 1.572 GB, free: 42.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002886/4.243, allocations: 249.9 kB / 1.572 GB, free: 42.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002246/4.246, allocations: 371.7 kB / 1.573 GB, free: 42.77 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 () * 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.005809/4.251, allocations: 1.376 MB / 1.574 GB, free: 42.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003985/4.255, allocations: 1.735 MB / 1.576 GB, free: 41.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/4.255, allocations: 6.594 kB / 1.576 GB, free: 41.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/4.257, allocations: 0.6629 MB / 1.576 GB, free: 41.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/4.261, allocations: 288.3 kB / 1.577 GB, free: 41.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/4.268, allocations: 1.84 MB / 1.578 GB, free: 41.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/4.27, allocations: 1.082 MB / 1.579 GB, free: 40.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/4.27, allocations: 0 / 1.579 GB, free: 40.72 MB / 362.7 MB Notification: Performance of Templates: time 0.05163/4.322, allocations: 26 MB / 1.605 GB, free: 26.41 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)