Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004828/0.004828, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.482/1.482, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00198/0.00198, allocations: 123.8 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2237/0.2237, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.859e-06, allocations: 1.469 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.219/2.36, allocations: 0.8071 GB / 1.196 GB, free: 83.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/2.36, allocations: 91.94 kB / 1.196 GB, free: 83.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.855/5.216, allocations: 0.7306 GB / 1.927 GB, free: 8.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001517/5.216, allocations: 23.98 kB / 1.927 GB, free: 8.527 MB / 442.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.008099/5.224, allocations: 1.392 MB / 1.928 GB, free: 7.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/5.224, allocations: 8.031 kB / 1.928 GB, free: 7.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/5.227, allocations: 286.5 kB / 1.928 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/5.23, allocations: 0.6864 MB / 1.929 GB, free: 6.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/5.23, allocations: 93.39 kB / 1.929 GB, free: 5.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/5.231, allocations: 36 kB / 1.929 GB, free: 5.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002428/5.233, allocations: 0.8864 MB / 1.93 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/5.235, allocations: 1.137 MB / 1.931 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/5.235, allocations: 7.938 kB / 1.931 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/5.235, allocations: 4 kB / 1.931 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.944e-05/5.235, allocations: 81.17 kB / 1.931 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3633/5.599, allocations: 4.558 MB / 1.936 GB, free: 96.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/5.599, allocations: 197.5 kB / 1.936 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/5.6, allocations: 136.6 kB / 1.936 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/5.6, allocations: 13.86 kB / 1.936 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/5.6, allocations: 37.27 kB / 1.936 GB, free: 96.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.599e-06/5.6, allocations: 0 / 1.936 GB, free: 96.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.006887/5.607, allocations: 1.499 MB / 1.938 GB, free: 95.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/5.607, allocations: 132.3 kB / 1.938 GB, free: 95.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/5.608, allocations: 0.6915 MB / 1.938 GB, free: 95.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/5.609, allocations: 25.7 kB / 1.938 GB, free: 95.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/5.609, allocations: 0.5155 MB / 1.939 GB, free: 95.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/5.609, allocations: 121.5 kB / 1.939 GB, free: 95.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/5.609, allocations: 6.688 kB / 1.939 GB, free: 95.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/5.609, allocations: 395.1 kB / 1.939 GB, free: 94.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/5.61, allocations: 257.1 kB / 1.94 GB, free: 94.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/5.611, allocations: 0.8843 MB / 1.94 GB, free: 94.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/5.611, allocations: 464.4 kB / 1.941 GB, free: 94.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/5.611, allocations: 6.406 kB / 1.941 GB, free: 94.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002087/5.614, allocations: 1.107 MB / 1.942 GB, free: 94.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/5.614, allocations: 3.594 kB / 1.942 GB, free: 94.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/5.614, allocations: 22.78 kB / 1.942 GB, free: 94.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/5.615, allocations: 263.2 kB / 1.942 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/5.616, allocations: 220.8 kB / 1.942 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/5.617, allocations: 0.9085 MB / 1.943 GB, free: 93.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/5.618, allocations: 47.39 kB / 1.943 GB, free: 93.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/5.618, allocations: 69.69 kB / 1.943 GB, free: 93.48 MB / 442.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.0002558/5.618, allocations: 158.6 kB / 1.944 GB, free: 93.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/5.618, allocations: 83.09 kB / 1.944 GB, free: 93.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/5.619, allocations: 467.9 kB / 1.944 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/5.619, allocations: 0 / 1.944 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/5.619, allocations: 10.67 kB / 1.944 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/5.619, allocations: 0 / 1.944 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/5.621, allocations: 1.003 MB / 1.945 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/5.621, allocations: 7.656 kB / 1.945 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/5.622, allocations: 167.9 kB / 1.945 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/5.622, allocations: 23.56 kB / 1.945 GB, free: 92.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/5.622, allocations: 10.14 kB / 1.945 GB, free: 92.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/5.624, allocations: 2.558 MB / 1.948 GB, free: 90.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/5.624, allocations: 10.12 kB / 1.948 GB, free: 90.53 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009623/5.625, allocations: 0.6547 MB / 1.948 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/5.625, allocations: 193.5 kB / 1.949 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/5.625, allocations: 3.906 kB / 1.949 GB, free: 90.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/5.626, allocations: 28.95 kB / 1.949 GB, free: 90.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/5.626, allocations: 16.77 kB / 1.949 GB, free: 90.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/5.626, allocations: 18.03 kB / 1.949 GB, free: 90.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007326/5.627, allocations: 0.4945 MB / 1.949 GB, free: 90.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002936/5.63, allocations: 478.2 kB / 1.95 GB, free: 90.09 MB / 442.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.004172/5.634, allocations: 1.676 MB / 1.951 GB, free: 89.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/5.635, allocations: 0.6314 MB / 1.952 GB, free: 89.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/5.635, allocations: 0 / 1.952 GB, free: 89.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/5.637, allocations: 377.2 kB / 1.952 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/5.638, allocations: 297.1 kB / 1.953 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/5.641, allocations: 1.19 MB / 1.954 GB, free: 89.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009401/5.642, allocations: 1.134 MB / 1.955 GB, free: 88.8 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/5.642, allocations: 0 / 1.955 GB, free: 88.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04901/5.691, allocations: 23.15 MB / 1.977 GB, free: 88.41 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)