Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.00138/0.00138, 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.001144/0.001144, allocations: 191.9 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.465/1.465, allocations: 205.1 MB / 222 MB, free: 4.738 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.001168/0.001168, allocations: 52.3 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3062, allocations: 46.63 MB / 324.7 MB, free: 2.266 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4601/0.7664, allocations: 173.5 MB / 498.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.7708, allocations: 3.865 MB / 0.4903 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.7711, allocations: 3.891 kB / 0.4903 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.7718, allocations: 222.5 kB / 0.4905 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.7725, allocations: 356 kB / 0.4908 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.774, allocations: 498.8 kB / 0.4913 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.7754, allocations: 1.598 MB / 0.4928 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.7757, allocations: 240.6 kB / 0.4931 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.7787, allocations: 1.213 MB / 0.4943 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.7793, allocations: 470.3 kB / 0.4947 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.7794, allocations: 37.84 kB / 0.4947 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.7809, allocations: 0.7718 MB / 0.4955 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.7813, allocations: 417.1 kB / 0.4959 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.7818, allocations: 456.8 kB / 0.4963 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.7835, allocations: 1.612 MB / 0.4979 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7835, allocations: 0 / 0.4979 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.7835, allocations: 0 / 0.4979 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.7836, allocations: 0 / 0.4979 GB, free: 10.72 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001713/0.7853, allocations: 1.058 MB / 0.4989 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.7853, allocations: 7.75 kB / 0.4989 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.786, allocations: 149.6 kB / 0.4991 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.7867, allocations: 483.8 kB / 0.4996 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.7867, allocations: 53.64 kB / 0.4996 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.7868, allocations: 63.47 kB / 0.4997 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.7882, allocations: 0.9539 MB / 0.5006 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.7883, allocations: 10.44 kB / 0.5006 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.7884, allocations: 28.03 kB / 0.5006 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.7884, allocations: 44.39 kB / 0.5007 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.7897, allocations: 0.8741 MB / 0.5015 GB, free: 9.289 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.005575/0.7952, allocations: 3.454 MB / 0.5049 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.7961, allocations: 0.6346 MB / 0.5055 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.7965, allocations: 369.5 kB / 0.5059 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.7966, allocations: 23.59 kB / 0.5059 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.7967, allocations: 49.23 kB / 0.5059 GB, free: 6.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 3.105e-06/0.7967, allocations: 2.125 kB / 0.5059 GB, free: 6.906 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.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.01516/0.8119, allocations: 6.202 MB / 0.512 GB, free: 3.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.8119, allocations: 63.59 kB / 0.5121 GB, free: 3.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/0.8128, allocations: 0.5425 MB / 0.5126 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.813, allocations: 46.41 kB / 0.5126 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.8132, allocations: 274.9 kB / 0.5129 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.8134, allocations: 260.4 kB / 0.5131 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.8137, allocations: 145.1 kB / 0.5133 GB, free: 2.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8139, allocations: 371.9 kB / 0.5136 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.8146, allocations: 441.4 kB / 0.5141 GB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.8153, allocations: 0.5154 MB / 0.5146 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.8167, allocations: 0.972 MB / 0.5155 GB, free: 368 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8168, allocations: 4 kB / 0.5155 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002329/0.8191, allocations: 1.351 MB / 0.5168 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.8191, allocations: 4 kB / 0.5168 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8192, allocations: 1.094 kB / 0.5168 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.8198, allocations: 334.7 kB / 0.5172 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.8208, allocations: 171.8 kB / 0.5173 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.8285, allocations: 10.24 MB / 0.5273 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.8293, allocations: 75.88 kB / 0.5274 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.8294, allocations: 47.98 kB / 0.5274 GB, free: 3.133 MB / 414.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.0005079/0.8299, allocations: 281.5 kB / 0.5277 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.8302, allocations: 63.34 kB / 0.5278 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.8323, allocations: 1.291 MB / 0.529 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.8323, allocations: 11.94 kB / 0.529 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8323, allocations: 0 / 0.529 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001701/0.834, allocations: 1.602 MB / 0.5306 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.8374, allocations: 2.274 MB / 0.5328 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.8374, allocations: 0 / 0.5328 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8385, allocations: 225 kB / 0.533 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.8387, allocations: 68.78 kB / 0.5331 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.8388, allocations: 39.97 kB / 0.5331 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.8401, allocations: 1.435 MB / 0.5345 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.8401, allocations: 0 / 0.5345 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.8426, allocations: 1.605 MB / 0.5361 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.8429, allocations: 136.4 kB / 0.5362 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.843, allocations: 35.92 kB / 0.5363 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.8439, allocations: 75.78 kB / 0.5364 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.844, allocations: 57.67 kB / 0.5364 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.8441, allocations: 59.94 kB / 0.5365 GB, free: 9.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004704/0.8446, allocations: 403.1 kB / 0.5368 GB, free: 9.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.8446, allocations: 4 kB / 0.5369 GB, free: 9.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001365/0.846, allocations: 347.9 kB / 0.5372 GB, free: 8.711 MB / 430.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.001859/0.8479, allocations: 0.4966 MB / 0.5377 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.851, allocations: 1.867 MB / 0.5395 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.851, allocations: 0 / 0.5395 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.8522, allocations: 0.691 MB / 0.5402 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.8545, allocations: 490.2 kB / 0.5406 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.8587, allocations: 2.471 MB / 0.543 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/0.8595, allocations: 0.9749 MB / 0.544 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.8605, allocations: 273.7 kB / 0.5443 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.8608, allocations: 95.39 kB / 0.5444 GB, free: 1.227 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.8609, allocations: 0 / 0.5444 GB, free: 1.227 MB / 430.1 MB Notification: Performance of Templates: time 0.04333/0.9042, allocations: 25.34 MB / 0.5691 GB, free: 7.871 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)