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.001555/0.001555, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.507/1.507, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001209/0.001209, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2479, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3947/0.6426, allocations: 175.6 MB / 0.4892 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.6465, allocations: 3.838 MB / 0.493 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.6467, allocations: 4.5 kB / 0.493 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.6474, allocations: 236.5 kB / 0.4932 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.648, allocations: 361.3 kB / 0.4935 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.6492, allocations: 0.5397 MB / 0.4941 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009457/0.6502, allocations: 1.109 MB / 0.4951 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.6503, allocations: 103.8 kB / 0.4952 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.6532, allocations: 1.253 MB / 0.4965 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.6536, allocations: 329 kB / 0.4968 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.6537, allocations: 46.19 kB / 0.4968 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.6547, allocations: 0.5312 MB / 0.4973 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.6549, allocations: 230.9 kB / 0.4976 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.6552, allocations: 315 kB / 0.4979 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6563, allocations: 1.105 MB / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6564, allocations: 2.812 kB / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6564, allocations: 0 / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.6564, allocations: 1.203 kB / 0.4989 GB, free: 10.2 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.001253/0.6576, allocations: 0.8012 MB / 0.4997 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.6577, allocations: 10.78 kB / 0.4997 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.6583, allocations: 120.9 kB / 0.4999 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.6587, allocations: 370.1 kB / 0.5002 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6588, allocations: 30.25 kB / 0.5002 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.6588, allocations: 38.88 kB / 0.5003 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.6596, allocations: 0.5645 MB / 0.5008 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6596, allocations: 1.812 kB / 0.5008 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.6597, allocations: 23.56 kB / 0.5008 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.6597, allocations: 9.75 kB / 0.5009 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.6603, allocations: 446.9 kB / 0.5013 GB, free: 9.035 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.003164/0.6634, allocations: 2.132 MB / 0.5034 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6637, allocations: 148.8 kB / 0.5035 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.6638, allocations: 76.75 kB / 0.5036 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.6638, allocations: 6.703 kB / 0.5036 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6639, allocations: 40.38 kB / 0.5036 GB, free: 7.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.6639, allocations: 0 / 0.5036 GB, free: 7.441 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.00595/0.6698, allocations: 1.745 MB / 0.5053 GB, free: 6.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.6699, allocations: 53.44 kB / 0.5054 GB, free: 6.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.6704, allocations: 489 kB / 0.5058 GB, free: 6.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.6704, allocations: 35.48 kB / 0.5059 GB, free: 6.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.6706, allocations: 319 kB / 0.5062 GB, free: 5.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.6707, allocations: 88.91 kB / 0.5063 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.6708, allocations: 125.1 kB / 0.5064 GB, free: 5.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.671, allocations: 350.8 kB / 0.5067 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.6712, allocations: 135.8 kB / 0.5069 GB, free: 5.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.6716, allocations: 437.1 kB / 0.5073 GB, free: 4.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.6723, allocations: 0.606 MB / 0.5079 GB, free: 4.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6723, allocations: 2.344 kB / 0.5079 GB, free: 4.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008489/0.6731, allocations: 0.6373 MB / 0.5085 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6732, allocations: 10.59 kB / 0.5085 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6732, allocations: 10.09 kB / 0.5085 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.6733, allocations: 63.84 kB / 0.5086 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.6738, allocations: 142.8 kB / 0.5087 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.6752, allocations: 1.936 MB / 0.5106 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.6755, allocations: 29.72 kB / 0.5106 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.6756, allocations: 35.72 kB / 0.5107 GB, free: 2.352 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.0001981/0.6758, allocations: 208.3 kB / 0.5109 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.6759, allocations: 48.66 kB / 0.5109 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.6763, allocations: 289.1 kB / 0.5112 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6763, allocations: 2.125 kB / 0.5112 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6764, allocations: 0 / 0.5112 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004417/0.6768, allocations: 0.5442 MB / 0.5117 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.6777, allocations: 0.6957 MB / 0.5124 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6777, allocations: 1.203 kB / 0.5124 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.6779, allocations: 52.08 kB / 0.5124 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-05/0.678, allocations: 22.44 kB / 0.5125 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.678, allocations: 9.938 kB / 0.5125 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008686/0.6789, allocations: 1.378 MB / 0.5138 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6789, allocations: 3.938 kB / 0.5138 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.6794, allocations: 429.4 kB / 0.5142 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.6795, allocations: 120.5 kB / 0.5143 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.6796, allocations: 7.25 kB / 0.5144 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.6799, allocations: 12.62 kB / 0.5144 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.6799, allocations: 15.16 kB / 0.5144 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.6799, allocations: 15.12 kB / 0.5144 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003014/0.6803, allocations: 329.1 kB / 0.5147 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6803, allocations: 0 / 0.5147 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007539/0.681, allocations: 212.1 kB / 0.5149 GB, free: 15.3 MB / 414.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.001349/0.6824, allocations: 468.1 kB / 0.5154 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.6831, allocations: 476.8 kB / 0.5158 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6831, allocations: 256 / 0.5158 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.6834, allocations: 217.2 kB / 0.516 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6844, allocations: 217.9 kB / 0.5162 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.6857, allocations: 0.879 MB / 0.5171 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6861, allocations: 0.8223 MB / 0.5179 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.6865, allocations: 135.1 kB / 0.518 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.6866, allocations: 47.61 kB / 0.5181 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6866, allocations: 4 kB / 0.5181 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01843/0.7051, allocations: 11.87 MB / 0.5297 GB, free: 2.023 MB / 414.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)