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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 189.5 kB / 16.14 MB, free: 6.707 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.984 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.001198/0.001198, allocations: 40.27 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 46.63 MB / 324.7 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4518/0.759, allocations: 173.6 MB / 498.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.764, allocations: 3.876 MB / 0.4904 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.7642, allocations: 6.531 kB / 0.4904 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.7651, allocations: 211.9 kB / 0.4906 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.7659, allocations: 348.5 kB / 0.4909 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.7673, allocations: 499.8 kB / 0.4914 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.7689, allocations: 1.609 MB / 0.493 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.7691, allocations: 67.28 kB / 0.493 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.7723, allocations: 1.198 MB / 0.4942 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.7728, allocations: 368.2 kB / 0.4946 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.7729, allocations: 22.72 kB / 0.4946 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.7743, allocations: 0.7408 MB / 0.4953 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.7745, allocations: 210.1 kB / 0.4955 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.7748, allocations: 292.8 kB / 0.4958 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.7762, allocations: 1.146 MB / 0.4969 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7762, allocations: 0 / 0.4969 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.7762, allocations: 0 / 0.4969 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.7762, allocations: 0 / 0.4969 GB, free: 10.92 MB / 398.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.001284/0.7775, allocations: 0.8078 MB / 0.4977 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.7775, allocations: 10.16 kB / 0.4977 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.7781, allocations: 119.5 kB / 0.4978 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.7786, allocations: 377.1 kB / 0.4982 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.7786, allocations: 33.84 kB / 0.4982 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.7787, allocations: 35.66 kB / 0.4983 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.7795, allocations: 0.5638 MB / 0.4988 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7795, allocations: 0 / 0.4988 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.7796, allocations: 18.97 kB / 0.4988 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.7796, allocations: 14.09 kB / 0.4988 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/0.7802, allocations: 445.1 kB / 0.4993 GB, free: 9.766 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.003451/0.7837, allocations: 2.112 MB / 0.5013 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.7839, allocations: 147.6 kB / 0.5015 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.7841, allocations: 85.03 kB / 0.5015 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.7841, allocations: 8.594 kB / 0.5015 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.7841, allocations: 36.94 kB / 0.5016 GB, free: 8.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/0.7841, allocations: 0 / 0.5016 GB, free: 8.184 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.005992/0.7901, allocations: 1.751 MB / 0.5033 GB, free: 7.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.7902, allocations: 54.19 kB / 0.5033 GB, free: 7.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.7907, allocations: 480.5 kB / 0.5038 GB, free: 6.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.7907, allocations: 30.11 kB / 0.5038 GB, free: 6.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.7909, allocations: 322.6 kB / 0.5041 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.791, allocations: 91.81 kB / 0.5042 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.7911, allocations: 125 kB / 0.5043 GB, free: 6.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7913, allocations: 350.1 kB / 0.5047 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.7915, allocations: 139.1 kB / 0.5048 GB, free: 6.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.7919, allocations: 436.6 kB / 0.5052 GB, free: 5.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.7925, allocations: 0.6061 MB / 0.5058 GB, free: 5.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7925, allocations: 2.844 kB / 0.5058 GB, free: 5.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008851/0.7934, allocations: 0.636 MB / 0.5064 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7934, allocations: 8.953 kB / 0.5065 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7934, allocations: 15.2 kB / 0.5065 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.7936, allocations: 57.33 kB / 0.5065 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.7941, allocations: 145.2 kB / 0.5067 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.7953, allocations: 1.846 MB / 0.5085 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.7957, allocations: 28.09 kB / 0.5085 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.7958, allocations: 39.27 kB / 0.5085 GB, free: 3.18 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.796, allocations: 211.3 kB / 0.5087 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.7961, allocations: 45.97 kB / 0.5088 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.7966, allocations: 296.7 kB / 0.5091 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7966, allocations: 5.062 kB / 0.5091 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7966, allocations: 1.203 kB / 0.5091 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004753/0.7971, allocations: 0.526 MB / 0.5096 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/0.798, allocations: 0.7062 MB / 0.5103 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.798, allocations: 0 / 0.5103 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.7983, allocations: 51.81 kB / 0.5103 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.7984, allocations: 23.81 kB / 0.5103 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.7984, allocations: 13.86 kB / 0.5104 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.7993, allocations: 1.269 MB / 0.5116 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7993, allocations: 3.031 kB / 0.5116 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.7999, allocations: 441.1 kB / 0.512 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.8, allocations: 116.9 kB / 0.5121 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.8, allocations: 3.312 kB / 0.5121 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.8003, allocations: 17.89 kB / 0.5121 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.8004, allocations: 14.11 kB / 0.5122 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.8004, allocations: 14.02 kB / 0.5122 GB, free: 372 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.8008, allocations: 329.5 kB / 0.5125 GB, free: 236 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8008, allocations: 0 / 0.5125 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009915/0.8018, allocations: 219 kB / 0.5127 GB, free: 216 kB / 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 (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.00157/0.8034, allocations: 476.3 kB / 0.5132 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.8044, allocations: 458.3 kB / 0.5136 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8044, allocations: 5.031 kB / 0.5136 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.8047, allocations: 208 kB / 0.5138 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8059, allocations: 206.6 kB / 0.514 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.8074, allocations: 1.019 MB / 0.515 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.8078, allocations: 0.8266 MB / 0.5158 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.8083, allocations: 144.8 kB / 0.5159 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8084, allocations: 40.12 kB / 0.516 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.8084, allocations: 0 / 0.516 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01971/0.8281, allocations: 11.54 MB / 0.5272 GB, free: 3.391 MB / 414.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)