Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008145/0.0008144, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.00081/0.0008101, allocations: 176.7 kB / 15.96 MB, free: 196 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.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0005843/0.0005844, allocations: 15.98 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2589, allocations: 47.57 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4072/0.6662, allocations: 159.6 MB / 486.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.6698, allocations: 3.57 MB / 489.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.6702, allocations: 2.906 kB / 489.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.6708, allocations: 150.7 kB / 489.8 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007414/0.6716, allocations: 338 kB / 490.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.6728, allocations: 404.5 kB / 490.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.6742, allocations: 1.306 MB / 491.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.6744, allocations: 79.58 kB / 491.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.677, allocations: 1.106 MB / 493 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006765/0.6777, allocations: 355.2 kB / 493.4 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.6778, allocations: 20.75 kB / 493.4 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.6792, allocations: 0.6163 MB / 494 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.6795, allocations: 221.4 kB / 494.2 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.6798, allocations: 131.3 kB / 494.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6808, allocations: 0.8572 MB / 495.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6808, allocations: 0 / 495.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6808, allocations: 3.312 kB / 495.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.6808, allocations: 0 / 495.2 MB, free: 1.32 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001331/0.6822, allocations: 0.7027 MB / 495.9 MB, free: 16.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6822, allocations: 9.344 kB / 495.9 MB, free: 16.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006614/0.6829, allocations: 131.3 kB / 496.1 MB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.6834, allocations: 364.8 kB / 496.4 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.6835, allocations: 31.09 kB / 496.5 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.6835, allocations: 43.27 kB / 496.5 MB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.6844, allocations: 0.5518 MB / 497.1 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.6844, allocations: 2.938 kB / 497.1 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.6845, allocations: 23.47 kB / 497.1 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6845, allocations: 7.969 kB / 497.1 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.685, allocations: 444 kB / 497.5 MB, free: 16.47 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.002747/0.6878, allocations: 2.056 MB / 499.6 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.6881, allocations: 144.2 kB / 499.7 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.6882, allocations: 84.17 kB / 499.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.6882, allocations: 8.25 kB / 499.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6882, allocations: 37.09 kB / 499.8 MB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.6883, allocations: 0 / 499.8 MB, free: 15.23 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005124/0.6934, allocations: 1.688 MB / 0.4898 GB, free: 14.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.6934, allocations: 54.56 kB / 0.4898 GB, free: 14.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.694, allocations: 481.1 kB / 0.4903 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.694, allocations: 28.7 kB / 0.4903 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.6942, allocations: 314.5 kB / 0.4906 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.6943, allocations: 93.98 kB / 0.4907 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.6943, allocations: 8.062 kB / 0.4907 GB, free: 13.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6944, allocations: 353.2 kB / 0.491 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.6946, allocations: 132.6 kB / 0.4912 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.695, allocations: 438.9 kB / 0.4916 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.6953, allocations: 226.1 kB / 0.4918 GB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6953, allocations: 3.156 kB / 0.4918 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009042/0.6962, allocations: 0.6285 MB / 0.4924 GB, free: 13.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6962, allocations: 12.45 kB / 0.4924 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.6963, allocations: 13.28 kB / 0.4924 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.6964, allocations: 63.78 kB / 0.4925 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.6969, allocations: 139.2 kB / 0.4926 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.6983, allocations: 1.842 MB / 0.4944 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.6987, allocations: 39.19 kB / 0.4945 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.6988, allocations: 38.41 kB / 0.4945 GB, free: 11.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.699, allocations: 211 kB / 0.4947 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.6991, allocations: 46.31 kB / 0.4948 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.6996, allocations: 296.3 kB / 0.495 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6996, allocations: 7.5 kB / 0.4951 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6996, allocations: 3.984 kB / 0.4951 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004298/0.7, allocations: 0.5211 MB / 0.4956 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.7009, allocations: 0.7 MB / 0.4962 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.701, allocations: 0 / 0.4962 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.7012, allocations: 61.44 kB / 0.4963 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.355e-05/0.7013, allocations: 29.17 kB / 0.4963 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.7013, allocations: 9.375 kB / 0.4963 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008781/0.7022, allocations: 1.273 MB / 0.4976 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7022, allocations: 0 / 0.4976 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.7027, allocations: 427.2 kB / 0.498 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.7028, allocations: 118.8 kB / 0.4981 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.7029, allocations: 6.281 kB / 0.4981 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.7031, allocations: 15.5 kB / 0.4981 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.7032, allocations: 16.62 kB / 0.4981 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.7032, allocations: 14.77 kB / 0.4982 GB, free: 8.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.7035, allocations: 324.2 kB / 0.4985 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7035, allocations: 0 / 0.4985 GB, free: 8.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008454/0.7044, allocations: 217.2 kB / 0.4987 GB, free: 8.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,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 (23): * Single equations (assignments): 22 * 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.001156/0.7056, allocations: 402.2 kB / 0.4991 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.7063, allocations: 468.2 kB / 0.4995 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7063, allocations: 0 / 0.4995 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.7065, allocations: 205.4 kB / 0.4997 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.7075, allocations: 217 kB / 0.4999 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.7088, allocations: 1.032 MB / 0.5009 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.7091, allocations: 0.8291 MB / 0.5017 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.7096, allocations: 135.2 kB / 0.5019 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.7097, allocations: 51.11 kB / 0.5019 GB, free: 6.355 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7097, allocations: 0 / 0.5019 GB, free: 6.355 MB / 398.1 MB Notification: Performance of Templates: time 0.01854/0.7282, allocations: 11.29 MB / 0.5129 GB, free: 140 kB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)