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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01098/0.01098, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.754/1.754, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001748/0.001748, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2358/0.2358, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004519, allocations: 12.94 kB / 406.2 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.619/2.776, allocations: 0.8214 GB / 1.272 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/2.776, allocations: 97.06 kB / 1.272 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.458/5.234, allocations: 0.7106 GB / 1.982 GB, free: 23.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.905e-06/5.234, allocations: 0 / 1.982 GB, free: 23.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000172/5.234, allocations: 28.16 kB / 1.982 GB, free: 23.75 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.007731/5.242, allocations: 1.64 MB / 1.984 GB, free: 22.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/5.242, allocations: 11.97 kB / 1.984 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/5.244, allocations: 314.2 kB / 1.984 GB, free: 21.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/5.247, allocations: 0.8218 MB / 1.985 GB, free: 20.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/5.247, allocations: 149.4 kB / 1.985 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006598/5.248, allocations: 103.9 kB / 1.985 GB, free: 20.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/5.252, allocations: 1.776 MB / 1.987 GB, free: 18.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6e-05/5.252, allocations: 4 kB / 1.987 GB, free: 18.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/5.253, allocations: 47.98 kB / 1.987 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/5.253, allocations: 77.97 kB / 1.987 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/5.256, allocations: 1.624 MB / 1.989 GB, free: 17.02 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/5.268, allocations: 6.695 MB / 1.995 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/5.269, allocations: 0.6344 MB / 1.996 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/5.269, allocations: 247.8 kB / 1.996 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/5.269, allocations: 47.33 kB / 1.996 GB, free: 8.875 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.416e-06/5.269, allocations: 0 / 1.996 GB, free: 8.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.009854/5.279, allocations: 3.769 MB / 2 GB, free: 5.016 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/5.279, allocations: 119.4 kB / 2 GB, free: 4.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/5.281, allocations: 0.8636 MB / 2.001 GB, free: 4.004 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/5.281, allocations: 37.7 kB / 2.001 GB, free: 3.961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/5.281, allocations: 0.5644 MB / 2.001 GB, free: 3.387 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/5.281, allocations: 244.6 kB / 2.002 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/5.281, allocations: 20 kB / 2.002 GB, free: 3.125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/5.282, allocations: 349.9 kB / 2.002 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/5.282, allocations: 0.5296 MB / 2.003 GB, free: 2.246 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/5.283, allocations: 0.9051 MB / 2.003 GB, free: 1.168 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/5.284, allocations: 0.6629 MB / 2.004 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/5.284, allocations: 4 kB / 2.004 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003227/5.288, allocations: 1.898 MB / 2.006 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/5.288, allocations: 8 kB / 2.006 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/5.288, allocations: 12 kB / 2.006 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/5.292, allocations: 1.304 MB / 2.007 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/5.293, allocations: 191.7 kB / 2.007 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/5.296, allocations: 1.732 MB / 2.009 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/5.297, allocations: 115.8 kB / 2.009 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/5.298, allocations: 91.97 kB / 2.009 GB, free: 11.11 MB / 0.4948 GB 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 () * Number of clocked 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 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.001204/5.299, allocations: 401.3 kB / 2.01 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/5.299, allocations: 98.88 kB / 2.01 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/5.302, allocations: 1.253 MB / 2.011 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/5.302, allocations: 8 kB / 2.011 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/5.302, allocations: 0 / 2.011 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/5.302, allocations: 3.984 kB / 2.011 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/5.307, allocations: 2.488 MB / 2.013 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/5.307, allocations: 7.984 kB / 2.013 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/5.309, allocations: 311.7 kB / 2.014 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/5.309, allocations: 68.97 kB / 2.014 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/5.309, allocations: 35.97 kB / 2.014 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/5.312, allocations: 2.855 MB / 2.017 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.312, allocations: 4.031 kB / 2.017 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/5.315, allocations: 1.689 MB / 2.018 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/5.316, allocations: 307.8 kB / 2.019 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/5.316, allocations: 23.98 kB / 2.019 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/5.318, allocations: 79.8 kB / 2.019 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/5.318, allocations: 56.52 kB / 2.019 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/5.318, allocations: 59.95 kB / 2.019 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001422/5.319, allocations: 0.6707 MB / 2.019 GB, free: 328 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/5.319, allocations: 0 / 2.019 GB, free: 328 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.387/5.707, allocations: 0.5968 MB / 2.02 GB, free: 86.91 MB / 0.4948 GB 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 () * Number of clocked 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.004081/5.711, allocations: 1.392 MB / 2.021 GB, free: 86.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003245/5.714, allocations: 1.385 MB / 2.023 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/5.714, allocations: 2.094 kB / 2.023 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/5.716, allocations: 0.7818 MB / 2.023 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/5.719, allocations: 0.5906 MB / 2.024 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/5.726, allocations: 3.247 MB / 2.027 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/5.728, allocations: 1.2 MB / 2.028 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002998/5.731, allocations: 457.6 kB / 2.029 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/5.732, allocations: 120.2 kB / 2.029 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/5.732, allocations: 0.5 kB / 2.029 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.07052/5.802, allocations: 42.88 MB / 2.071 GB, free: 83.76 MB / 0.4948 GB 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)