Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [: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.7715/0.7715, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001912/0.001913, allocations: 160 kB / 143.7 MB, free: 4.867 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.935e-06, allocations: 0 / 173.5 MB, free: 23.02 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04581/0.04584, allocations: 25.16 MB / 198.6 MB, free: 13.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.033, allocations: 0.6506 GB / 0.8445 GB, free: 29.33 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/1.033, allocations: 71.7 kB / 0.8446 GB, free: 29.29 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.336/2.369, allocations: 459.7 MB / 1.294 GB, free: 30.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/2.369, allocations: 7.875 kB / 1.294 GB, free: 30.5 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001894/2.371, allocations: 0.8041 MB / 1.294 GB, free: 30 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/2.371, allocations: 19.58 kB / 1.294 GB, free: 30 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/2.372, allocations: 51.75 kB / 1.294 GB, free: 29.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/2.372, allocations: 358.1 kB / 1.295 GB, free: 29.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/2.372, allocations: 14.81 kB / 1.295 GB, free: 29.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/2.372, allocations: 22.38 kB / 1.295 GB, free: 29.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007275/2.373, allocations: 463.8 kB / 1.295 GB, free: 29.74 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/2.374, allocations: 459.1 kB / 1.296 GB, free: 29.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/2.374, allocations: 0 / 1.296 GB, free: 29.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/2.374, allocations: 3.812 kB / 1.296 GB, free: 29.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/2.374, allocations: 7.594 kB / 1.296 GB, free: 29.7 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/2.377, allocations: 1.93 MB / 1.298 GB, free: 28.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/2.377, allocations: 114.9 kB / 1.298 GB, free: 28.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/2.377, allocations: 65.02 kB / 1.298 GB, free: 28.6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/2.378, allocations: 0.7908 MB / 1.298 GB, free: 27.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/2.378, allocations: 34.41 kB / 1.299 GB, free: 27.89 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/2.378, allocations: 0 / 1.299 GB, free: 27.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.004749/2.382, allocations: 1.138 MB / 1.3 GB, free: 27.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/2.382, allocations: 56.03 kB / 1.3 GB, free: 27.26 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/2.383, allocations: 396.1 kB / 1.3 GB, free: 27.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/2.383, allocations: 25.7 kB / 1.3 GB, free: 27.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/2.383, allocations: 291.3 kB / 1.3 GB, free: 26.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/2.383, allocations: 90.27 kB / 1.3 GB, free: 26.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/2.383, allocations: 0 / 1.3 GB, free: 26.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/2.383, allocations: 355.9 kB / 1.301 GB, free: 26.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/2.383, allocations: 120 kB / 1.301 GB, free: 26.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/2.384, allocations: 417.5 kB / 1.301 GB, free: 26.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/2.384, allocations: 226 kB / 1.302 GB, free: 26.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/2.384, allocations: 4.625 kB / 1.302 GB, free: 26.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009497/2.385, allocations: 0.5538 MB / 1.302 GB, free: 26.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/2.385, allocations: 8.375 kB / 1.302 GB, free: 26.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/2.385, allocations: 10.06 kB / 1.302 GB, free: 26.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/2.385, allocations: 59.25 kB / 1.302 GB, free: 26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/2.386, allocations: 139.8 kB / 1.302 GB, free: 25.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/2.387, allocations: 1.786 MB / 1.304 GB, free: 24.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/2.387, allocations: 25.67 kB / 1.304 GB, free: 24.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/2.387, allocations: 40.5 kB / 1.304 GB, free: 24.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000132/2.388, allocations: 129.2 kB / 1.304 GB, free: 24.15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/2.388, allocations: 40.12 kB / 1.304 GB, free: 24.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/2.388, allocations: 296.1 kB / 1.305 GB, free: 24.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/2.388, allocations: 0 / 1.305 GB, free: 24.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/2.388, allocations: 3.25 kB / 1.305 GB, free: 24.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003845/2.389, allocations: 0.505 MB / 1.305 GB, free: 23.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/2.39, allocations: 0.6508 MB / 1.306 GB, free: 23.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/2.39, allocations: 0 / 1.306 GB, free: 23.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/2.39, allocations: 58.33 kB / 1.306 GB, free: 23.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/2.39, allocations: 19.8 kB / 1.306 GB, free: 23.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/2.39, allocations: 8.719 kB / 1.306 GB, free: 23.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005985/2.391, allocations: 1.209 MB / 1.307 GB, free: 22.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.391, allocations: 0 / 1.307 GB, free: 22.11 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004956/2.391, allocations: 420 kB / 1.307 GB, free: 21.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/2.391, allocations: 145.9 kB / 1.307 GB, free: 21.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/2.392, allocations: 6.984 kB / 1.307 GB, free: 21.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/2.392, allocations: 8.875 kB / 1.307 GB, free: 21.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/2.392, allocations: 14.16 kB / 1.307 GB, free: 21.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/2.392, allocations: 13.78 kB / 1.308 GB, free: 21.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.0002696/2.392, allocations: 288.9 kB / 1.308 GB, free: 21.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00128/2.394, allocations: 271.3 kB / 1.308 GB, free: 21.7 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002903/2.396, allocations: 1.39 MB / 1.309 GB, free: 21.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007001/2.397, allocations: 414.2 kB / 1.31 GB, free: 21.38 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.397, allocations: 0 / 1.31 GB, free: 21.38 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/2.397, allocations: 200.3 kB / 1.31 GB, free: 21.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/2.398, allocations: 169.7 kB / 1.31 GB, free: 21.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/2.4, allocations: 0.6005 MB / 1.311 GB, free: 21.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/2.4, allocations: 0.8877 MB / 1.312 GB, free: 20.32 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/2.4, allocations: 0 / 1.312 GB, free: 20.32 MB / 250.7 MB Notification: Performance of Templates: time 0.02473/2.425, allocations: 15.88 MB / 1.327 GB, free: 11.36 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)