Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.7 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 190 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 47.94 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4848/0.5984, allocations: 173.2 MB / 499.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009893/0.6083, allocations: 3.815 MB / 0.4914 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.6093, allocations: 8 kB / 0.4914 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.611, allocations: 219 kB / 0.4916 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.6126, allocations: 342.3 kB / 0.4919 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.6156, allocations: 0.5045 MB / 0.4924 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.6175, allocations: 1.095 MB / 0.4935 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.618, allocations: 279.3 kB / 0.4937 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.6217, allocations: 1.274 MB / 0.495 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/0.6227, allocations: 454.8 kB / 0.4954 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.623, allocations: 71.94 kB / 0.4955 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.6247, allocations: 0.7565 MB / 0.4962 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.6253, allocations: 446.9 kB / 0.4966 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.6263, allocations: 490.3 kB / 0.4971 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.6292, allocations: 1.632 MB / 0.4987 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.6293, allocations: 4 kB / 0.4987 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.6293, allocations: 3.938 kB / 0.4987 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.55e-05/0.6293, allocations: 3.844 kB / 0.4987 GB, free: 14.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004355/0.6337, allocations: 1.061 MB / 0.4997 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/0.6338, allocations: 11.89 kB / 0.4998 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.635, allocations: 151.1 kB / 0.4999 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.6362, allocations: 476.8 kB / 0.5004 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.6363, allocations: 49.31 kB / 0.5004 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.6365, allocations: 67.91 kB / 0.5005 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.6383, allocations: 0.9527 MB / 0.5014 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6383, allocations: 8 kB / 0.5014 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6385, allocations: 32 kB / 0.5014 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.6385, allocations: 41.98 kB / 0.5015 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6398, allocations: 0.8784 MB / 0.5023 GB, free: 11.09 MB / 414.1 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.005887/0.6456, allocations: 3.462 MB / 0.5057 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/0.6465, allocations: 0.6407 MB / 0.5063 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.647, allocations: 362.2 kB / 0.5067 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.6471, allocations: 20.47 kB / 0.5067 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.6471, allocations: 55.06 kB / 0.5068 GB, free: 6.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.6472, allocations: 0 / 0.5068 GB, free: 6.273 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.0152/0.6624, allocations: 6.206 MB / 0.5128 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.6625, allocations: 64 kB / 0.5129 GB, free: 15.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/0.6631, allocations: 0.5447 MB / 0.5134 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/0.6632, allocations: 41.7 kB / 0.5134 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6635, allocations: 280.6 kB / 0.5137 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.6637, allocations: 256.3 kB / 0.514 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.6639, allocations: 146.6 kB / 0.5141 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6641, allocations: 370.8 kB / 0.5145 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.6647, allocations: 445.8 kB / 0.5149 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.6655, allocations: 0.5155 MB / 0.5154 GB, free: 12.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.6668, allocations: 0.9681 MB / 0.5163 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6668, allocations: 0 / 0.5163 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002121/0.6689, allocations: 1.355 MB / 0.5176 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.669, allocations: 4 kB / 0.5177 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.669, allocations: 4 kB / 0.5177 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.6697, allocations: 326.8 kB / 0.518 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/0.6706, allocations: 179.8 kB / 0.5181 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/0.6794, allocations: 10.96 MB / 0.5288 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.6803, allocations: 87.84 kB / 0.5289 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.6805, allocations: 43.98 kB / 0.529 GB, free: 13.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005398/0.681, allocations: 281.6 kB / 0.5292 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.6812, allocations: 67.28 kB / 0.5293 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.6833, allocations: 1.275 MB / 0.5305 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6833, allocations: 15.94 kB / 0.5306 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6833, allocations: 0 / 0.5306 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/0.6851, allocations: 1.602 MB / 0.5321 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.6888, allocations: 2.276 MB / 0.5343 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6888, allocations: 0 / 0.5343 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.6899, allocations: 219.7 kB / 0.5346 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.6901, allocations: 72.83 kB / 0.5346 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.6902, allocations: 35.97 kB / 0.5347 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.6916, allocations: 1.542 MB / 0.5362 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6916, allocations: 0 / 0.5362 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.694, allocations: 1.601 MB / 0.5377 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.6943, allocations: 144.4 kB / 0.5379 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6944, allocations: 27.98 kB / 0.5379 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/0.6952, allocations: 83.72 kB / 0.538 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6953, allocations: 60.52 kB / 0.538 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.6954, allocations: 59.95 kB / 0.5381 GB, free: 4.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005059/0.6959, allocations: 407 kB / 0.5385 GB, free: 3.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6959, allocations: 0 / 0.5385 GB, free: 3.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00137/0.6973, allocations: 343.9 kB / 0.5388 GB, free: 3.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.699, allocations: 0.4987 MB / 0.5393 GB, free: 2.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.7023, allocations: 2.1 MB / 0.5413 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.7023, allocations: 4 kB / 0.5413 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7033, allocations: 0.6859 MB / 0.542 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2052/0.9086, allocations: 0.4921 MB / 0.5425 GB, free: 180.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.9137, allocations: 2.466 MB / 0.5449 GB, free: 180 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.9143, allocations: 0.9745 MB / 0.5459 GB, free: 179.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.9156, allocations: 281.6 kB / 0.5461 GB, free: 179.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.9159, allocations: 88.33 kB / 0.5462 GB, free: 179.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9159, allocations: 0 / 0.5462 GB, free: 179.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04292/0.9588, allocations: 26.22 MB / 0.5718 GB, free: 162.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)