Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_ModelicaTest.Media.TestsWithFluid.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.2+maint.om/package.mo): time 0.003018/0.003018, allocations: 198.6 kB / 7.466 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.421/1.421, allocations: 194.2 MB / 202.1 MB, free: 8.805 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001735, allocations: 117.7 kB / 247.1 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1791/0.1791, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.292e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.853/1.967, allocations: 0.8206 GB / 1.258 GB, free: 138.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.967, allocations: 97.56 kB / 1.258 GB, free: 138.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.445/4.412, allocations: 0.7098 GB / 1.968 GB, free: 73.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001201/4.412, allocations: 31.33 kB / 1.968 GB, free: 73.76 MB / 490.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.006582/4.419, allocations: 1.561 MB / 1.969 GB, free: 73.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/4.419, allocations: 11.11 kB / 1.969 GB, free: 73.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/4.421, allocations: 311.1 kB / 1.969 GB, free: 73.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/4.425, allocations: 0.8349 MB / 1.97 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/4.425, allocations: 107.9 kB / 1.97 GB, free: 72.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/4.425, allocations: 60.42 kB / 1.97 GB, free: 72.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003027/4.428, allocations: 1.495 MB / 1.972 GB, free: 72.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/4.432, allocations: 1.645 MB / 1.973 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.88e-05/4.432, allocations: 3.5 kB / 1.974 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/4.432, allocations: 3.812 kB / 1.974 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.263e-05/4.432, allocations: 83.64 kB / 1.974 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/4.443, allocations: 6.714 MB / 1.98 GB, free: 69.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/4.444, allocations: 0.5138 MB / 1.981 GB, free: 69.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/4.444, allocations: 368.1 kB / 1.981 GB, free: 69.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/4.445, allocations: 247 kB / 1.981 GB, free: 68.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/4.445, allocations: 40.84 kB / 1.981 GB, free: 68.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.937e-06/4.445, allocations: 0 / 1.981 GB, free: 68.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01015/4.455, allocations: 3.342 MB / 1.985 GB, free: 68.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/4.455, allocations: 110.8 kB / 1.985 GB, free: 68.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/4.456, allocations: 0.5986 MB / 1.985 GB, free: 68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/4.456, allocations: 27.48 kB / 1.985 GB, free: 67.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/4.457, allocations: 0.5065 MB / 1.986 GB, free: 67.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/4.457, allocations: 236 kB / 1.986 GB, free: 67.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/4.457, allocations: 0 / 1.986 GB, free: 67.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/4.457, allocations: 389.4 kB / 1.986 GB, free: 67.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/4.458, allocations: 0.5392 MB / 1.987 GB, free: 67.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/4.459, allocations: 0.9075 MB / 1.988 GB, free: 66.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/4.46, allocations: 0.6709 MB / 1.988 GB, free: 66.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/4.46, allocations: 3.812 kB / 1.988 GB, free: 66.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002941/4.463, allocations: 1.827 MB / 1.99 GB, free: 66.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/4.463, allocations: 10.44 kB / 1.99 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/4.464, allocations: 14.44 kB / 1.99 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/4.468, allocations: 1.155 MB / 1.991 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/4.468, allocations: 184.9 kB / 1.992 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/4.471, allocations: 1.873 MB / 1.993 GB, free: 66.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/4.472, allocations: 90.69 kB / 1.993 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/4.472, allocations: 88.78 kB / 1.994 GB, free: 66.16 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.m:DUMMY_STATE(min = 0.0 unit = "kg" ) "Mass of fluid" type: Real volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 {10 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004144/4.473, allocations: 148 kB / 1.994 GB, free: 66.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/4.473, allocations: 82.44 kB / 1.994 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/4.475, allocations: 1.279 MB / 1.995 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/4.475, allocations: 7.5 kB / 1.995 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/4.475, allocations: 2.875 kB / 1.995 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/4.475, allocations: 3.703 kB / 1.995 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/4.479, allocations: 2.391 MB / 1.997 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/4.479, allocations: 3.844 kB / 1.997 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/4.481, allocations: 304.2 kB / 1.998 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/4.481, allocations: 79.73 kB / 1.998 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-05/4.481, allocations: 25.66 kB / 1.998 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/4.483, allocations: 2.786 MB / 2 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/4.483, allocations: 3.969 kB / 2 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00215/4.485, allocations: 1.694 MB / 2.002 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/4.486, allocations: 295.8 kB / 2.002 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/4.486, allocations: 15.66 kB / 2.002 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/4.487, allocations: 60.16 kB / 2.002 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/4.487, allocations: 36.33 kB / 2.003 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/4.488, allocations: 65.33 kB / 2.003 GB, free: 62.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005689/4.488, allocations: 458.2 kB / 2.003 GB, free: 62.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002638/4.491, allocations: 0.5505 MB / 2.004 GB, free: 62.64 MB / 490.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.004715/4.495, allocations: 1.67 MB / 2.005 GB, free: 62.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/4.498, allocations: 1.376 MB / 2.007 GB, free: 62.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/4.498, allocations: 0.6875 kB / 2.007 GB, free: 62.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/4.5, allocations: 0.8281 MB / 2.007 GB, free: 62.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/4.502, allocations: 363.7 kB / 2.008 GB, free: 62.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/4.508, allocations: 2.219 MB / 2.01 GB, free: 61.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/4.51, allocations: 1.357 MB / 2.011 GB, free: 61.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.263e-06/4.51, allocations: 0 / 2.011 GB, free: 61.13 MB / 490.7 MB Notification: Performance of Templates: time 0.06065/4.571, allocations: 31.96 MB / 2.042 GB, free: 57.95 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)