Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.00112/0.00112, allocations: 107.8 kB / 16.92 MB, free: 6.145 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.001114/0.001114, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.458/1.458, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.001276/0.001276, allocations: 51.94 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 46.62 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4208/0.5247, allocations: 175.5 MB / 0.4904 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.5304, allocations: 3.835 MB / 0.4941 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.5308, allocations: 7.938 kB / 0.4941 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.5316, allocations: 242.7 kB / 0.4943 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007279/0.5324, allocations: 362.1 kB / 0.4947 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.534, allocations: 0.5382 MB / 0.4952 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.5353, allocations: 1.099 MB / 0.4963 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.5357, allocations: 286.4 kB / 0.4966 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.539, allocations: 1.289 MB / 0.4978 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.5396, allocations: 406.7 kB / 0.4982 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.5398, allocations: 68 kB / 0.4983 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.5411, allocations: 0.5654 MB / 0.4988 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.5415, allocations: 447 kB / 0.4992 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.5421, allocations: 0.4904 MB / 0.4997 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.5439, allocations: 1.562 MB / 0.5013 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5439, allocations: 0 / 0.5013 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5439, allocations: 0 / 0.5013 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.5439, allocations: 0 / 0.5013 GB, free: 12.53 MB / 414.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.002039/0.546, allocations: 1.069 MB / 0.5023 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.546, allocations: 11.89 kB / 0.5023 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.5467, allocations: 151 kB / 0.5025 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.5474, allocations: 476.8 kB / 0.5029 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.5475, allocations: 45.31 kB / 0.5029 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5476, allocations: 75.91 kB / 0.503 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.5491, allocations: 0.9513 MB / 0.504 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.5491, allocations: 4 kB / 0.504 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.5492, allocations: 31.94 kB / 0.504 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.5493, allocations: 41.98 kB / 0.504 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.5505, allocations: 0.8745 MB / 0.5049 GB, free: 8.711 MB / 414.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.005612/0.5561, allocations: 3.487 MB / 0.5083 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5571, allocations: 0.6346 MB / 0.5089 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.5577, allocations: 366.2 kB / 0.5093 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.5578, allocations: 16.53 kB / 0.5093 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.5578, allocations: 51.06 kB / 0.5093 GB, free: 3.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.577e-06/0.5578, allocations: 0 / 0.5093 GB, free: 3.871 MB / 414.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.01555/0.5734, allocations: 6.215 MB / 0.5154 GB, free: 13.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5735, allocations: 60 kB / 0.5154 GB, free: 13.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.5741, allocations: 0.5486 MB / 0.516 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.5742, allocations: 45.7 kB / 0.516 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.5744, allocations: 280.6 kB / 0.5163 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.5746, allocations: 252.3 kB / 0.5165 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.5749, allocations: 146.7 kB / 0.5167 GB, free: 11.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.575, allocations: 370.8 kB / 0.517 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.5757, allocations: 441.8 kB / 0.5174 GB, free: 11.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.5763, allocations: 0.5116 MB / 0.5179 GB, free: 10.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.5777, allocations: 0.9759 MB / 0.5189 GB, free: 9.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5777, allocations: 0 / 0.5189 GB, free: 9.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002029/0.5797, allocations: 1.347 MB / 0.5202 GB, free: 8.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5798, allocations: 8 kB / 0.5202 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5798, allocations: 0 / 0.5202 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.5804, allocations: 338.7 kB / 0.5205 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5814, allocations: 179.8 kB / 0.5207 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/0.5897, allocations: 10.96 MB / 0.5314 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.5904, allocations: 23.95 kB / 0.5314 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.5905, allocations: 47.98 kB / 0.5315 GB, free: 11.62 MB / 446.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 (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004614/0.5909, allocations: 281.5 kB / 0.5318 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.5911, allocations: 63.28 kB / 0.5318 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.5932, allocations: 1.283 MB / 0.5331 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5932, allocations: 8 kB / 0.5331 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5932, allocations: 0 / 0.5331 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001762/0.595, allocations: 1.614 MB / 0.5347 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.5984, allocations: 2.272 MB / 0.5369 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5984, allocations: 4.031 kB / 0.5369 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5995, allocations: 215.7 kB / 0.5371 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.5997, allocations: 72.66 kB / 0.5372 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.5998, allocations: 43.97 kB / 0.5372 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.6011, allocations: 1.535 MB / 0.5387 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.6012, allocations: 3.938 kB / 0.5387 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.6034, allocations: 1.594 MB / 0.5403 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.6037, allocations: 144.3 kB / 0.5404 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6038, allocations: 23.98 kB / 0.5404 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.6045, allocations: 43.91 kB / 0.5405 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6046, allocations: 64.52 kB / 0.5405 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.463e-05/0.6047, allocations: 55.95 kB / 0.5406 GB, free: 1.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.6051, allocations: 411 kB / 0.541 GB, free: 1.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6052, allocations: 0 / 0.541 GB, free: 1.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001035/0.6062, allocations: 335.9 kB / 0.5413 GB, free: 1.129 MB / 446.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 (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.001521/0.6077, allocations: 0.5065 MB / 0.5418 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1598/0.7675, allocations: 2.094 MB / 0.5438 GB, free: 180.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.7676, allocations: 6.578 kB / 0.5438 GB, free: 180.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7686, allocations: 0.6804 MB / 0.5445 GB, free: 180.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.7713, allocations: 0.5014 MB / 0.545 GB, free: 180.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.7758, allocations: 2.205 MB / 0.5471 GB, free: 179.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.7765, allocations: 0.972 MB / 0.5481 GB, free: 179 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001427/0.7779, allocations: 279.3 kB / 0.5483 GB, free: 179 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.7782, allocations: 93.52 kB / 0.5484 GB, free: 179 MB / 446.1 MB Notification: Performance of SimCode: time 2.895e-06/0.7782, allocations: 0 / 0.5484 GB, free: 179 MB / 446.1 MB Notification: Performance of Templates: time 0.03647/0.8147, allocations: 26.32 MB / 0.5741 GB, free: 160.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)