Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.895/0.895, allocations: 110.8 MB / 118 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001868/0.001868, allocations: 147.1 kB / 143.7 MB, free: 9.93 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.687e-06/8.827e-06, allocations: 4 kB / 173.5 MB, free: 12.13 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05419/0.05422, allocations: 25.16 MB / 198.6 MB, free: 2.906 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.225, allocations: 0.6529 GB / 0.8468 GB, free: 71.03 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/1.225, allocations: 61.39 kB / 0.8469 GB, free: 71.03 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.0762/1.301, allocations: 36.83 MB / 0.8829 GB, free: 47.47 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/1.301, allocations: 4 kB / 0.8829 GB, free: 47.46 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004725/1.302, allocations: 410.6 kB / 0.8832 GB, free: 47.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.302, allocations: 15.97 kB / 0.8833 GB, free: 47 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/1.302, allocations: 7.906 kB / 0.8833 GB, free: 46.99 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/1.302, allocations: 187 kB / 0.8834 GB, free: 46.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.302, allocations: 11.94 kB / 0.8835 GB, free: 46.76 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.302, allocations: 7.906 kB / 0.8835 GB, free: 46.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002282/1.302, allocations: 160.3 kB / 0.8836 GB, free: 46.59 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/1.303, allocations: 115 kB / 0.8837 GB, free: 46.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.303, allocations: 0 / 0.8837 GB, free: 46.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/1.303, allocations: 4 kB / 0.8837 GB, free: 46.47 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.303, allocations: 3.984 kB / 0.8837 GB, free: 46.47 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/1.304, allocations: 0.5791 MB / 0.8843 GB, free: 45.83 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.304, allocations: 61.64 kB / 0.8844 GB, free: 45.76 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/1.304, allocations: 44.98 kB / 0.8844 GB, free: 45.71 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008503/1.305, allocations: 1.053 MB / 0.8854 GB, free: 44.49 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/1.305, allocations: 30.56 kB / 0.8855 GB, free: 44.45 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/1.305, allocations: 0 / 0.8855 GB, free: 44.45 MB / 234.7 MB Notification: Performance of matching and sorting (n=19): time 0.005736/1.31, allocations: 1.483 MB / 0.8869 GB, free: 42.88 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.548e-05/1.31, allocations: 55.39 kB / 0.887 GB, free: 42.81 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/1.311, allocations: 108.9 kB / 0.8871 GB, free: 42.7 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.311, allocations: 25.7 kB / 0.8871 GB, free: 42.67 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/1.311, allocations: 96.25 kB / 0.8872 GB, free: 42.57 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.311, allocations: 67.02 kB / 0.8872 GB, free: 42.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/1.311, allocations: 0 / 0.8872 GB, free: 42.5 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/1.311, allocations: 322.8 kB / 0.8876 GB, free: 42.18 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/1.311, allocations: 40.19 kB / 0.8876 GB, free: 42.14 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/1.311, allocations: 72.44 kB / 0.8877 GB, free: 42.05 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/1.312, allocations: 268.3 kB / 0.8879 GB, free: 41.79 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.312, allocations: 3.938 kB / 0.8879 GB, free: 41.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000956/1.313, allocations: 390.2 kB / 0.8883 GB, free: 41.4 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.313, allocations: 5.562 kB / 0.8883 GB, free: 41.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.313, allocations: 4 kB / 0.8883 GB, free: 41.39 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.52e-05/1.313, allocations: 16.84 kB / 0.8883 GB, free: 41.37 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.313, allocations: 55.91 kB / 0.8884 GB, free: 41.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002402/1.313, allocations: 0.5446 MB / 0.8889 GB, free: 40.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/1.313, allocations: 3.938 kB / 0.8889 GB, free: 40.74 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/1.313, allocations: 15.92 kB / 0.8889 GB, free: 40.73 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.313, allocations: 118.8 kB / 0.889 GB, free: 40.61 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.313, allocations: 7.906 kB / 0.889 GB, free: 40.6 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/1.315, allocations: 447.6 kB / 0.8895 GB, free: 40.15 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.315, allocations: 0 / 0.8895 GB, free: 40.15 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.315, allocations: 4 kB / 0.8895 GB, free: 40.14 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.315, allocations: 4 kB / 0.8895 GB, free: 40.14 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.316, allocations: 0.6815 MB / 0.8901 GB, free: 39.4 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.316, allocations: 0 / 0.8901 GB, free: 39.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/1.316, allocations: 43.91 kB / 0.8902 GB, free: 39.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.457e-05/1.316, allocations: 32.84 kB / 0.8902 GB, free: 39.32 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.316, allocations: 0 / 0.8902 GB, free: 39.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005298/1.317, allocations: 1.213 MB / 0.8914 GB, free: 38 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.317, allocations: 0 / 0.8914 GB, free: 38 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001005/1.318, allocations: 0.5707 MB / 0.892 GB, free: 37.39 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/1.318, allocations: 105 kB / 0.8921 GB, free: 37.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/1.318, allocations: 4 kB / 0.8921 GB, free: 37.26 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/1.318, allocations: 4 kB / 0.8921 GB, free: 37.26 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/1.318, allocations: 15.89 kB / 0.8921 GB, free: 37.24 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/1.318, allocations: 15.98 kB / 0.8921 GB, free: 37.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.507e-05/1.318, allocations: 87.34 kB / 0.8922 GB, free: 37.14 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005812/1.319, allocations: 175.8 kB / 0.8923 GB, free: 36.97 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.001178/1.32, allocations: 0.7988 MB / 0.8931 GB, free: 36.16 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/1.32, allocations: 135.8 kB / 0.8933 GB, free: 36.03 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.32, allocations: 0 / 0.8933 GB, free: 36.03 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/1.32, allocations: 176.9 kB / 0.8934 GB, free: 35.85 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.321, allocations: 39.88 kB / 0.8935 GB, free: 35.81 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/1.321, allocations: 289.3 kB / 0.8937 GB, free: 35.5 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.321, allocations: 0.739 MB / 0.8945 GB, free: 34.73 MB / 234.7 MB Notification: Performance of SimCode: time 2.6e-07/1.321, allocations: 0 / 0.8945 GB, free: 34.73 MB / 234.7 MB Notification: Performance of Templates: time 0.01195/1.333, allocations: 9.058 MB / 0.9033 GB, free: 25.68 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)