Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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/Complex 3.2.2+maint.om/package.mo): time 0.003482/0.003482, allocations: 183.3 kB / 7.459 MB, free: 2.168 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.424/1.424, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001766/0.001766, allocations: 120.4 kB / 247.1 MB, free: 6.387 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.1958/0.1958, allocations: 39.95 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 54.88 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/1.939, allocations: 0.8214 GB / 1.259 GB, free: 137.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.939, allocations: 95.36 kB / 1.259 GB, free: 137.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.506/4.445, allocations: 0.7344 GB / 1.993 GB, free: 74.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001502/4.445, allocations: 26.92 kB / 1.993 GB, free: 74.51 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005459/4.451, allocations: 1.374 MB / 1.994 GB, free: 73.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/4.451, allocations: 7.75 kB / 1.994 GB, free: 73.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/4.453, allocations: 290.1 kB / 1.995 GB, free: 73.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/4.455, allocations: 0.6856 MB / 1.995 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/4.455, allocations: 93.53 kB / 1.995 GB, free: 73.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/4.455, allocations: 37.72 kB / 1.995 GB, free: 73.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001748/4.457, allocations: 0.8904 MB / 1.996 GB, free: 73.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/4.459, allocations: 1.141 MB / 1.997 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/4.459, allocations: 3.656 kB / 1.997 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/4.459, allocations: 3.906 kB / 1.997 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-05/4.46, allocations: 75.97 kB / 1.998 GB, free: 73.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006899/4.466, allocations: 4.872 MB / 2.002 GB, free: 70.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/4.467, allocations: 205.3 kB / 2.003 GB, free: 70.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/4.467, allocations: 131.1 kB / 2.003 GB, free: 70.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/4.467, allocations: 240.4 kB / 2.003 GB, free: 70.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/4.467, allocations: 43.72 kB / 2.003 GB, free: 70.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.474e-06/4.467, allocations: 0 / 2.003 GB, free: 70.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.006059/4.473, allocations: 1.513 MB / 2.004 GB, free: 69.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/4.473, allocations: 139 kB / 2.005 GB, free: 69.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009901/4.474, allocations: 0.6948 MB / 2.005 GB, free: 69.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/4.475, allocations: 25.7 kB / 2.005 GB, free: 69.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/4.475, allocations: 0.5213 MB / 2.006 GB, free: 69.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/4.475, allocations: 124.7 kB / 2.006 GB, free: 68.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/4.475, allocations: 0 / 2.006 GB, free: 68.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/4.475, allocations: 391.2 kB / 2.006 GB, free: 68.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/4.476, allocations: 267.2 kB / 2.006 GB, free: 68.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/4.476, allocations: 0.8918 MB / 2.007 GB, free: 67.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/4.477, allocations: 470.3 kB / 2.008 GB, free: 67.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/4.477, allocations: 3.906 kB / 2.008 GB, free: 67.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002004/4.479, allocations: 1.14 MB / 2.009 GB, free: 67.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/4.479, allocations: 6.75 kB / 2.009 GB, free: 67.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/4.479, allocations: 24.34 kB / 2.009 GB, free: 67.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/4.48, allocations: 262.7 kB / 2.009 GB, free: 67.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/4.481, allocations: 237.8 kB / 2.009 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/4.482, allocations: 0.9127 MB / 2.01 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/4.483, allocations: 37.8 kB / 2.01 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/4.483, allocations: 96.42 kB / 2.01 GB, free: 67.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/4.484, allocations: 166.4 kB / 2.011 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/4.484, allocations: 82.8 kB / 2.011 GB, free: 66.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008581/4.485, allocations: 447 kB / 2.011 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/4.485, allocations: 11.12 kB / 2.011 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/4.485, allocations: 3.234 kB / 2.011 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/4.485, allocations: 3.938 kB / 2.011 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/4.486, allocations: 1.007 MB / 2.012 GB, free: 66.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/4.486, allocations: 0 / 2.012 GB, free: 66.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/4.487, allocations: 172.5 kB / 2.012 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/4.488, allocations: 23.88 kB / 2.012 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/4.488, allocations: 7.297 kB / 2.012 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/4.489, allocations: 2.574 MB / 2.015 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/4.489, allocations: 0 / 2.015 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008707/4.49, allocations: 0.6565 MB / 2.015 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/4.49, allocations: 191 kB / 2.016 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/4.491, allocations: 4.656 kB / 2.016 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/4.491, allocations: 17.44 kB / 2.016 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/4.491, allocations: 20.17 kB / 2.016 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/4.491, allocations: 24.08 kB / 2.016 GB, free: 63.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006042/4.492, allocations: 0.5 MB / 2.016 GB, free: 63.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002169/4.494, allocations: 482.7 kB / 2.017 GB, free: 63.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * 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.00453/4.499, allocations: 1.633 MB / 2.018 GB, free: 63.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/4.5, allocations: 0.6476 MB / 2.019 GB, free: 63.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/4.5, allocations: 11.28 kB / 2.019 GB, free: 63.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/4.501, allocations: 382.2 kB / 2.019 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/4.503, allocations: 303 kB / 2.02 GB, free: 63.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/4.506, allocations: 1.14 MB / 2.021 GB, free: 62.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/4.507, allocations: 1.186 MB / 2.022 GB, free: 62.11 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/4.507, allocations: 0 / 2.022 GB, free: 62.11 MB / 490.7 MB Notification: Performance of Templates: time 0.04644/4.554, allocations: 23.73 MB / 2.045 GB, free: 60.58 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)