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.001595/0.001595, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001724/0.001725, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.392/1.392, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001145/0.001145, allocations: 51.92 kB / 279.3 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1008, allocations: 46.62 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.441/0.5419, allocations: 173.5 MB / 499.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.547, allocations: 3.87 MB / 0.4915 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.5473, allocations: 4 kB / 0.4915 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.5481, allocations: 215 kB / 0.4917 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006931/0.5488, allocations: 354.3 kB / 0.4921 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.5504, allocations: 0.4964 MB / 0.4925 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.5519, allocations: 1.587 MB / 0.4941 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.5523, allocations: 243.1 kB / 0.4943 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.5557, allocations: 1.216 MB / 0.4955 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.5563, allocations: 466.7 kB / 0.496 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5564, allocations: 40 kB / 0.496 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.558, allocations: 0.7719 MB / 0.4967 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.5584, allocations: 415 kB / 0.4971 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.5589, allocations: 462.3 kB / 0.4976 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.561, allocations: 1.605 MB / 0.4992 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.561, allocations: 0 / 0.4992 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.561, allocations: 0 / 0.4992 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.561, allocations: 0 / 0.4992 GB, free: 14.38 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.002035/0.563, allocations: 1.061 MB / 0.5002 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5631, allocations: 8.031 kB / 0.5002 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.5638, allocations: 147.1 kB / 0.5003 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.5646, allocations: 476.7 kB / 0.5008 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.5647, allocations: 49.31 kB / 0.5008 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5648, allocations: 75.94 kB / 0.5009 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.5663, allocations: 0.9551 MB / 0.5018 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.5664, allocations: 7.906 kB / 0.5018 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.5665, allocations: 28 kB / 0.5019 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.5665, allocations: 41.98 kB / 0.5019 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.5678, allocations: 0.8784 MB / 0.5028 GB, free: 10.57 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.005583/0.5733, allocations: 3.459 MB / 0.5062 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.5742, allocations: 0.6463 MB / 0.5068 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.5747, allocations: 366.2 kB / 0.5071 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.5747, allocations: 16.53 kB / 0.5071 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5748, allocations: 51.06 kB / 0.5072 GB, free: 5.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.725e-06/0.5748, allocations: 3.938 kB / 0.5072 GB, free: 5.742 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.0151/0.5899, allocations: 6.193 MB / 0.5132 GB, free: 15.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.59, allocations: 67.94 kB / 0.5133 GB, free: 15.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.5907, allocations: 0.5525 MB / 0.5139 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.5908, allocations: 41.7 kB / 0.5139 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.591, allocations: 276.6 kB / 0.5142 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.5912, allocations: 256.2 kB / 0.5144 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.5914, allocations: 142.6 kB / 0.5145 GB, free: 13.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5916, allocations: 370.8 kB / 0.5149 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.5922, allocations: 445.7 kB / 0.5153 GB, free: 12.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.5929, allocations: 0.5154 MB / 0.5158 GB, free: 12.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5942, allocations: 0.9681 MB / 0.5168 GB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5942, allocations: 4 kB / 0.5168 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002168/0.5964, allocations: 1.347 MB / 0.5181 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5964, allocations: 4.625 kB / 0.5181 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5964, allocations: 4 kB / 0.5181 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.5971, allocations: 334.8 kB / 0.5184 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.5981, allocations: 179.8 kB / 0.5186 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007999/0.6061, allocations: 10.24 MB / 0.5286 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.6069, allocations: 83.84 kB / 0.5287 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.6071, allocations: 43.98 kB / 0.5287 GB, free: 14.23 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.0005469/0.6076, allocations: 281.5 kB / 0.529 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.6078, allocations: 59.34 kB / 0.529 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.61, allocations: 1.29 MB / 0.5303 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.61, allocations: 4 kB / 0.5303 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.61, allocations: 4 kB / 0.5303 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001786/0.6118, allocations: 1.602 MB / 0.5319 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.6152, allocations: 2.276 MB / 0.5341 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6152, allocations: 0 / 0.5341 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6164, allocations: 219.8 kB / 0.5343 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.6166, allocations: 64.78 kB / 0.5344 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.6167, allocations: 43.97 kB / 0.5344 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.618, allocations: 1.432 MB / 0.5358 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6181, allocations: 4.031 kB / 0.5358 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.6204, allocations: 1.593 MB / 0.5374 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.6207, allocations: 140.4 kB / 0.5375 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.6208, allocations: 36 kB / 0.5375 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6216, allocations: 75.78 kB / 0.5376 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6218, allocations: 56.52 kB / 0.5376 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6219, allocations: 63.94 kB / 0.5377 GB, free: 4.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000511/0.6224, allocations: 403.1 kB / 0.5381 GB, free: 4.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6224, allocations: 0 / 0.5381 GB, free: 4.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001362/0.6238, allocations: 343.9 kB / 0.5384 GB, free: 3.805 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.001651/0.6254, allocations: 0.5065 MB / 0.5389 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.6283, allocations: 1.87 MB / 0.5407 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.6283, allocations: 4 kB / 0.5407 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6293, allocations: 0.6898 MB / 0.5414 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.6316, allocations: 483.4 kB / 0.5419 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.8345, allocations: 2.463 MB / 0.5443 GB, free: 179.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/0.8355, allocations: 0.9742 MB / 0.5452 GB, free: 179 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001305/0.8368, allocations: 278.6 kB / 0.5455 GB, free: 178.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.8371, allocations: 91.05 kB / 0.5456 GB, free: 178.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.8371, allocations: 0 / 0.5456 GB, free: 178.9 MB / 446.1 MB Notification: Performance of Templates: time 0.03635/0.8735, allocations: 25.36 MB / 0.5704 GB, free: 163.5 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)