Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001097/0.001097, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009011/0.009011, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.54/1.54, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004635/0.0004635, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.431/0.6876, allocations: 171.2 MB / 498.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004459/0.6921, allocations: 3.808 MB / 0.4903 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.6926, allocations: 7.188 kB / 0.4903 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.6935, allocations: 219.7 kB / 0.4905 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000981/0.6945, allocations: 354.5 kB / 0.4908 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.6962, allocations: 0.4934 MB / 0.4913 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.6979, allocations: 1.598 MB / 0.4929 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.6982, allocations: 234 kB / 0.4931 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.7011, allocations: 1.195 MB / 0.4943 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.7017, allocations: 439.6 kB / 0.4947 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.7018, allocations: 32.59 kB / 0.4947 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.703, allocations: 0.7613 MB / 0.4954 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.7034, allocations: 401.6 kB / 0.4958 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.7038, allocations: 468.8 kB / 0.4963 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7053, allocations: 1.584 MB / 0.4978 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7053, allocations: 1.859 kB / 0.4978 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7054, allocations: 2.812 kB / 0.4978 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.7054, allocations: 0 / 0.4978 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001555/0.7069, allocations: 0.8888 MB / 0.4987 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.707, allocations: 8.719 kB / 0.4987 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.7076, allocations: 151.6 kB / 0.4988 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.7083, allocations: 482.4 kB / 0.4993 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.7083, allocations: 50.81 kB / 0.4994 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.7085, allocations: 65.06 kB / 0.4994 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.7098, allocations: 0.954 MB / 0.5004 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.7099, allocations: 10.64 kB / 0.5004 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.71, allocations: 30.16 kB / 0.5004 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.71, allocations: 46.2 kB / 0.5004 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.7111, allocations: 0.8661 MB / 0.5013 GB, free: 9.516 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.004918/0.7161, allocations: 3.444 MB / 0.5046 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.7169, allocations: 0.6425 MB / 0.5053 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.7173, allocations: 360.4 kB / 0.5056 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.7174, allocations: 17.61 kB / 0.5056 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.7174, allocations: 45.25 kB / 0.5057 GB, free: 7.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.7175, allocations: 0 / 0.5057 GB, free: 7.141 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.0151/0.7326, allocations: 6.226 MB / 0.5118 GB, free: 4.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7326, allocations: 66.22 kB / 0.5118 GB, free: 4.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.7333, allocations: 0.5423 MB / 0.5123 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.7334, allocations: 43.77 kB / 0.5124 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.7336, allocations: 275.3 kB / 0.5127 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.7338, allocations: 257 kB / 0.5129 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.7339, allocations: 61.69 kB / 0.513 GB, free: 3.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.7341, allocations: 367.6 kB / 0.5133 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/0.7348, allocations: 446.6 kB / 0.5137 GB, free: 3.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.7355, allocations: 0.5181 MB / 0.5142 GB, free: 2.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.7368, allocations: 0.9734 MB / 0.5152 GB, free: 2.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7368, allocations: 0 / 0.5152 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002094/0.7389, allocations: 1.342 MB / 0.5165 GB, free: 1.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7389, allocations: 5.25 kB / 0.5165 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.739, allocations: 4 kB / 0.5165 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.7396, allocations: 325.9 kB / 0.5168 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/0.7405, allocations: 191.2 kB / 0.517 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007987/0.7485, allocations: 10.24 MB / 0.527 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.7494, allocations: 75.88 kB / 0.5271 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.7495, allocations: 47.98 kB / 0.5271 GB, free: 6.309 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.0005638/0.7501, allocations: 281.5 kB / 0.5274 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.7503, allocations: 59.34 kB / 0.5274 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.7525, allocations: 1.29 MB / 0.5287 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7525, allocations: 8 kB / 0.5287 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7525, allocations: 4 kB / 0.5287 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/0.7543, allocations: 1.598 MB / 0.5303 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.758, allocations: 2.275 MB / 0.5325 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.758, allocations: 4 kB / 0.5325 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7592, allocations: 223.8 kB / 0.5327 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.7594, allocations: 60.78 kB / 0.5328 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.7595, allocations: 47.91 kB / 0.5328 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.7608, allocations: 1.446 MB / 0.5342 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7608, allocations: 0 / 0.5342 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.7632, allocations: 1.594 MB / 0.5358 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.7636, allocations: 152.3 kB / 0.5359 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.7637, allocations: 35.92 kB / 0.536 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.7645, allocations: 67.89 kB / 0.536 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7646, allocations: 56.58 kB / 0.5361 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.7647, allocations: 63.94 kB / 0.5361 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004837/0.7652, allocations: 403.1 kB / 0.5365 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.7652, allocations: 0 / 0.5365 GB, free: 12.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001213/0.7665, allocations: 349.8 kB / 0.5369 GB, free: 11.88 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.001589/0.768, allocations: 0.4962 MB / 0.5373 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.7708, allocations: 1.875 MB / 0.5392 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7708, allocations: 128 / 0.5392 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.7718, allocations: 0.6934 MB / 0.5399 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.7743, allocations: 494.3 kB / 0.5403 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.7784, allocations: 2.61 MB / 0.5429 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.779, allocations: 0.9749 MB / 0.5438 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.78, allocations: 285.8 kB / 0.5441 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7803, allocations: 89.27 kB / 0.5442 GB, free: 4.223 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7803, allocations: 0 / 0.5442 GB, free: 4.223 MB / 430.1 MB Notification: Performance of Templates: time 0.03861/0.8189, allocations: 25.11 MB / 0.5687 GB, free: 11.09 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)