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.008153/0.008153, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001699/0.001699, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001223/0.001223, allocations: 49.55 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5014/0.6144, allocations: 175.5 MB / 0.5358 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.6196, allocations: 3.838 MB / 0.5396 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.6199, allocations: 4 kB / 0.5396 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.6208, allocations: 246.6 kB / 0.5398 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006711/0.6214, allocations: 362.1 kB / 0.5402 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.623, allocations: 0.5445 MB / 0.5407 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.6243, allocations: 1.099 MB / 0.5418 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.6248, allocations: 294.6 kB / 0.5421 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6286, allocations: 1.287 MB / 0.5433 GB, free: 8.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.6292, allocations: 402.8 kB / 0.5437 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6294, allocations: 71.94 kB / 0.5438 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.6305, allocations: 479 kB / 0.5442 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.6308, allocations: 439 kB / 0.5447 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.6313, allocations: 494.2 kB / 0.5451 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.6329, allocations: 1.539 MB / 0.5466 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6329, allocations: 3.938 kB / 0.5466 GB, free: 5.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.633, allocations: 0 / 0.5466 GB, free: 5.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.633, allocations: 7.938 kB / 0.5466 GB, free: 5.457 MB / 430.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.001836/0.6348, allocations: 1.056 MB / 0.5477 GB, free: 4.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.6349, allocations: 11.89 kB / 0.5477 GB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.6356, allocations: 155 kB / 0.5478 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.6365, allocations: 484.8 kB / 0.5483 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.6365, allocations: 49.31 kB / 0.5483 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6366, allocations: 64 kB / 0.5484 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.6381, allocations: 0.9552 MB / 0.5493 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.6381, allocations: 11.91 kB / 0.5493 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.6382, allocations: 31.81 kB / 0.5494 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.6383, allocations: 41.98 kB / 0.5494 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.6395, allocations: 0.8745 MB / 0.5503 GB, free: 1.641 MB / 430.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.005412/0.6449, allocations: 3.371 MB / 0.5536 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.6458, allocations: 0.6462 MB / 0.5542 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.6462, allocations: 362.4 kB / 0.5545 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.6463, allocations: 16.53 kB / 0.5546 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.6464, allocations: 55 kB / 0.5546 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.104e-06/0.6464, allocations: 0 / 0.5546 GB, free: 12.9 MB / 446.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.01485/0.6612, allocations: 6.07 MB / 0.5605 GB, free: 6.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.6613, allocations: 64 kB / 0.5606 GB, free: 6.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.6619, allocations: 0.537 MB / 0.5611 GB, free: 5.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.662, allocations: 45.7 kB / 0.5612 GB, free: 5.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.6622, allocations: 276.5 kB / 0.5614 GB, free: 5.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.6625, allocations: 256.4 kB / 0.5617 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.6627, allocations: 154.6 kB / 0.5618 GB, free: 5.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6629, allocations: 366.8 kB / 0.5622 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.6635, allocations: 445.7 kB / 0.5626 GB, free: 4.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.6642, allocations: 0.5232 MB / 0.5631 GB, free: 3.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.6655, allocations: 0.9681 MB / 0.564 GB, free: 2.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6656, allocations: 0 / 0.564 GB, free: 2.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00202/0.6676, allocations: 1.347 MB / 0.5654 GB, free: 1.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.6676, allocations: 15.89 kB / 0.5654 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6676, allocations: 0 / 0.5654 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.6682, allocations: 334.7 kB / 0.5657 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/0.6692, allocations: 171.8 kB / 0.5659 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.6778, allocations: 10.96 MB / 0.5766 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.6784, allocations: 23.98 kB / 0.5766 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6786, allocations: 43.98 kB / 0.5766 GB, free: 4.805 MB / 462.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.0007436/0.6793, allocations: 277.7 kB / 0.5769 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.6796, allocations: 63.28 kB / 0.577 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.6819, allocations: 1.275 MB / 0.5782 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6819, allocations: 8 kB / 0.5782 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6819, allocations: 4 kB / 0.5782 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001858/0.6838, allocations: 1.606 MB / 0.5798 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.6875, allocations: 2.26 MB / 0.582 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6875, allocations: 4.094 kB / 0.582 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.6887, allocations: 215.8 kB / 0.5822 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.6889, allocations: 80.56 kB / 0.5823 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.689, allocations: 35.97 kB / 0.5823 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.6903, allocations: 1.538 MB / 0.5838 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6903, allocations: 4.031 kB / 0.5838 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.6926, allocations: 1.599 MB / 0.5854 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.6929, allocations: 140.4 kB / 0.5855 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.693, allocations: 31.92 kB / 0.5855 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.6938, allocations: 39.91 kB / 0.5856 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6939, allocations: 56.52 kB / 0.5856 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.694, allocations: 63.95 kB / 0.5857 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.6945, allocations: 407.1 kB / 0.5861 GB, free: 10.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6945, allocations: 0 / 0.5861 GB, free: 10.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001148/0.6957, allocations: 331.9 kB / 0.5864 GB, free: 10.34 MB / 478.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.001423/0.6971, allocations: 0.4986 MB / 0.5869 GB, free: 9.832 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.6997, allocations: 1.889 MB / 0.5887 GB, free: 7.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.6997, allocations: 4 kB / 0.5887 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.7007, allocations: 0.6859 MB / 0.5894 GB, free: 7.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.7031, allocations: 0.5018 MB / 0.5899 GB, free: 6.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.7072, allocations: 2.179 MB / 0.592 GB, free: 4.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.7077, allocations: 0.971 MB / 0.593 GB, free: 3.434 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000885/0.7086, allocations: 289.6 kB / 0.5932 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.709, allocations: 87.41 kB / 0.5933 GB, free: 3.062 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.709, allocations: 0 / 0.5933 GB, free: 3.062 MB / 478.1 MB Notification: Performance of Templates: time 0.04493/0.754, allocations: 27.24 MB / 0.6199 GB, free: 7.75 MB / 0.4981 GB 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)