Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008951/0.0008951, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.000966/0.0009657, allocations: 172.7 kB / 15.95 MB, free: 208 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.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005014/0.0005017, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2919, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.463/0.7549, allocations: 159.6 MB / 486.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.7588, allocations: 3.572 MB / 489.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.7593, allocations: 2.906 kB / 489.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.76, allocations: 149.3 kB / 489.8 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006834/0.7607, allocations: 339.7 kB / 490.2 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7619, allocations: 404.5 kB / 490.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.7632, allocations: 1.309 MB / 491.9 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.7634, allocations: 79.86 kB / 491.9 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.7661, allocations: 1.104 MB / 493 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.7666, allocations: 362.9 kB / 493.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.7666, allocations: 18 kB / 493.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.7678, allocations: 0.6094 MB / 494 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.768, allocations: 222.3 kB / 494.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.7682, allocations: 131.4 kB / 494.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.7692, allocations: 0.8564 MB / 495.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.7692, allocations: 3.188 kB / 495.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.7692, allocations: 0 / 495.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.7692, allocations: 1.781 kB / 495.2 MB, free: 1.301 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.001347/0.7706, allocations: 0.6974 MB / 495.9 MB, free: 16.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.7706, allocations: 8.375 kB / 495.9 MB, free: 16.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.7713, allocations: 134.5 kB / 496.1 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.7718, allocations: 366.7 kB / 496.4 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.7719, allocations: 30.41 kB / 496.5 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.772, allocations: 36.52 kB / 496.5 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.7729, allocations: 0.5563 MB / 497.1 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.773, allocations: 4.969 kB / 497.1 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.773, allocations: 19 kB / 497.1 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.7731, allocations: 9.375 kB / 497.1 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.7737, allocations: 450.6 kB / 497.5 MB, free: 16.45 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.003105/0.7768, allocations: 2.047 MB / 499.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.777, allocations: 153.3 kB / 499.7 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.7771, allocations: 79.31 kB / 499.8 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.7772, allocations: 3.5 kB / 499.8 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.7772, allocations: 37.75 kB / 499.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.7772, allocations: 1.859 kB / 499.8 MB, free: 15.21 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.005151/0.7824, allocations: 1.688 MB / 0.4898 GB, free: 14.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7824, allocations: 54.41 kB / 0.4898 GB, free: 14.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.783, allocations: 480.6 kB / 0.4903 GB, free: 14.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.783, allocations: 30.2 kB / 0.4903 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.7832, allocations: 317.3 kB / 0.4906 GB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.7833, allocations: 92.41 kB / 0.4907 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.7833, allocations: 10.59 kB / 0.4907 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7834, allocations: 356.4 kB / 0.4911 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.7836, allocations: 129.3 kB / 0.4912 GB, free: 13.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.784, allocations: 438.9 kB / 0.4916 GB, free: 13.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.7843, allocations: 229.8 kB / 0.4918 GB, free: 13.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7843, allocations: 5.688 kB / 0.4918 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008795/0.7852, allocations: 0.6311 MB / 0.4924 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7852, allocations: 10.22 kB / 0.4924 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7852, allocations: 8.562 kB / 0.4925 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.7854, allocations: 64.97 kB / 0.4925 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.7859, allocations: 139.5 kB / 0.4927 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.7873, allocations: 1.844 MB / 0.4945 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.7879, allocations: 32.44 kB / 0.4945 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.7879, allocations: 35.28 kB / 0.4945 GB, free: 11.24 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.0002977/0.7882, allocations: 216.2 kB / 0.4947 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.7883, allocations: 49.44 kB / 0.4948 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.7889, allocations: 294.4 kB / 0.4951 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7889, allocations: 3.438 kB / 0.4951 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.789, allocations: 0 / 0.4951 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005316/0.7895, allocations: 0.5237 MB / 0.4956 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.7906, allocations: 0.6972 MB / 0.4962 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7906, allocations: 4 kB / 0.4963 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.7908, allocations: 60.77 kB / 0.4963 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.7909, allocations: 25.3 kB / 0.4963 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.791, allocations: 8 kB / 0.4963 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.7918, allocations: 1.274 MB / 0.4976 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7918, allocations: 1.781 kB / 0.4976 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.7924, allocations: 422.8 kB / 0.498 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.7925, allocations: 121.6 kB / 0.4981 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.7926, allocations: 6.344 kB / 0.4981 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.7928, allocations: 17.58 kB / 0.4981 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.7929, allocations: 14.8 kB / 0.4981 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.7929, allocations: 19.45 kB / 0.4982 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.7933, allocations: 321.7 kB / 0.4985 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.7933, allocations: 0 / 0.4985 GB, free: 8.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009133/0.7942, allocations: 219 kB / 0.4987 GB, free: 8.383 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.001407/0.7956, allocations: 395.6 kB / 0.4991 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007837/0.7964, allocations: 469.7 kB / 0.4995 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7964, allocations: 0 / 0.4995 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7967, allocations: 203.9 kB / 0.4997 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7977, allocations: 211.7 kB / 0.4999 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.7993, allocations: 1.041 MB / 0.5009 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.7998, allocations: 0.8346 MB / 0.5017 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.8003, allocations: 133.7 kB / 0.5019 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8005, allocations: 46.16 kB / 0.5019 GB, free: 6.328 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.8005, allocations: 0 / 0.5019 GB, free: 6.328 MB / 398.1 MB Notification: Performance of Templates: time 0.02071/0.8212, allocations: 11.28 MB / 0.5129 GB, free: 136 kB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)