Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001455/0.001455, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001608/0.001609, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.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.0004766/0.0004767, allocations: 14.81 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2671, allocations: 47.58 MB / 326.5 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4139/0.6811, allocations: 138.8 MB / 465.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.684, allocations: 2.385 MB / 467.7 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.6844, allocations: 6.156 kB / 467.7 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.685, allocations: 183.7 kB / 467.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.6856, allocations: 226.5 kB / 468.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.6869, allocations: 419.5 kB / 468.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.6876, allocations: 0.578 MB / 469 MB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.6879, allocations: 203.8 kB / 469.2 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.6894, allocations: 0.8062 MB / 470.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.6898, allocations: 259 kB / 470.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.096e-05/0.6899, allocations: 29.69 kB / 470.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009428/0.6908, allocations: 439.3 kB / 470.8 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.6912, allocations: 373.5 kB / 471.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.6914, allocations: 193 kB / 471.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.6929, allocations: 1.174 MB / 472.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.6929, allocations: 0 / 472.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.6929, allocations: 3.094 kB / 472.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.6929, allocations: 0 / 472.5 MB, free: 1.957 MB / 382.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.001537/0.6945, allocations: 0.8938 MB / 473.4 MB, free: 17.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6945, allocations: 12.44 kB / 473.4 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.6952, allocations: 160.2 kB / 473.6 MB, free: 17.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.696, allocations: 464.9 kB / 474 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.696, allocations: 51.05 kB / 474.1 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6961, allocations: 63.97 kB / 474.1 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.6974, allocations: 0.9485 MB / 475.1 MB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6975, allocations: 6.734 kB / 475.1 MB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.6976, allocations: 30.59 kB / 475.1 MB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.6976, allocations: 39.88 kB / 475.1 MB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6987, allocations: 0.8702 MB / 476 MB, free: 17.04 MB / 398.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.00487/0.7036, allocations: 3.388 MB / 479.4 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.7043, allocations: 0.632 MB / 480 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.7044, allocations: 18.17 kB / 480.1 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.7044, allocations: 49.64 kB / 480.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.514e-06/0.7044, allocations: 0 / 480.1 MB, free: 15.39 MB / 398.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.01412/0.7186, allocations: 6.155 MB / 486.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.7187, allocations: 64.05 kB / 486.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.7193, allocations: 0.5396 MB / 486.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7194, allocations: 41.55 kB / 486.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.7196, allocations: 281.8 kB / 487.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.7197, allocations: 259.9 kB / 487.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.7198, allocations: 14.22 kB / 487.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7199, allocations: 371.2 kB / 487.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.7205, allocations: 444.2 kB / 488.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.721, allocations: 0.5057 MB / 488.7 MB, free: 12.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.7216, allocations: 0.5021 MB / 489.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7216, allocations: 0 / 489.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001739/0.7234, allocations: 1.339 MB / 490.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7234, allocations: 9.266 kB / 490.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7234, allocations: 2.844 kB / 490.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.724, allocations: 334.4 kB / 490.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.7249, allocations: 176.8 kB / 491.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/0.7325, allocations: 10.29 MB / 0.4896 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/0.7334, allocations: 81.16 kB / 0.4897 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.7335, allocations: 44.5 kB / 0.4898 GB, free: 2.695 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.734, allocations: 270.1 kB / 0.49 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.7342, allocations: 62.88 kB / 0.4901 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.7362, allocations: 1.297 MB / 0.4913 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7362, allocations: 11.75 kB / 0.4914 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7362, allocations: 0 / 0.4914 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.738, allocations: 1.601 MB / 0.4929 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.7413, allocations: 2.274 MB / 0.4951 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7413, allocations: 2.469 kB / 0.4951 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.7424, allocations: 217.8 kB / 0.4954 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.7426, allocations: 71.12 kB / 0.4954 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.7427, allocations: 38.72 kB / 0.4955 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.744, allocations: 1.444 MB / 0.4969 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.744, allocations: 7.188 kB / 0.4969 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.7461, allocations: 1.626 MB / 0.4985 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.7463, allocations: 152.3 kB / 0.4986 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.7465, allocations: 27.27 kB / 0.4986 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.7472, allocations: 75.02 kB / 0.4987 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.7473, allocations: 57.72 kB / 0.4988 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7475, allocations: 65.91 kB / 0.4988 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000458/0.7479, allocations: 404.2 kB / 0.4992 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7479, allocations: 4 kB / 0.4992 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001194/0.7491, allocations: 341 kB / 0.4995 GB, free: 14.41 MB / 414.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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.7506, allocations: 419.7 kB / 0.4999 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.753, allocations: 1.866 MB / 0.5018 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7531, allocations: 1.781 kB / 0.5018 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008985/0.754, allocations: 0.684 MB / 0.5024 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.7561, allocations: 496.5 kB / 0.5029 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.7602, allocations: 2.54 MB / 0.5054 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.7608, allocations: 0.9893 MB / 0.5063 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.7619, allocations: 280.8 kB / 0.5066 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.7621, allocations: 88.72 kB / 0.5067 GB, free: 10.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7621, allocations: 0 / 0.5067 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Templates: time 0.03704/0.7992, allocations: 24.81 MB / 0.5309 GB, free: 1.859 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: