Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009273, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006306/0.006307, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.579/1.579, 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.0005131/0.0005131, allocations: 16 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4216/0.6799, allocations: 171.3 MB / 498.3 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.6836, allocations: 3.819 MB / 0.4904 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.684, allocations: 10.84 kB / 0.4904 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.6848, allocations: 205.2 kB / 0.4906 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.6855, allocations: 352 kB / 0.4909 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.6869, allocations: 0.4977 MB / 0.4914 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.6883, allocations: 1.609 MB / 0.493 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.6885, allocations: 75.7 kB / 0.4931 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.691, allocations: 1.176 MB / 0.4942 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.6914, allocations: 358.4 kB / 0.4946 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.6915, allocations: 21.94 kB / 0.4946 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.6926, allocations: 0.7455 MB / 0.4953 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.6928, allocations: 202.7 kB / 0.4955 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.6931, allocations: 314.7 kB / 0.4958 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.6942, allocations: 1.133 MB / 0.4969 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6942, allocations: 0 / 0.4969 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6942, allocations: 0 / 0.4969 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.6942, allocations: 4 kB / 0.4969 GB, free: 11.18 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001088/0.6953, allocations: 0.6915 MB / 0.4976 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6953, allocations: 10.84 kB / 0.4976 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.6959, allocations: 131.8 kB / 0.4977 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.6964, allocations: 371.3 kB / 0.4981 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.6965, allocations: 29.34 kB / 0.4981 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.6965, allocations: 35.5 kB / 0.4981 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.6974, allocations: 0.5665 MB / 0.4987 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6974, allocations: 0 / 0.4987 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.6975, allocations: 20.28 kB / 0.4987 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6975, allocations: 10.69 kB / 0.4987 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.6981, allocations: 453 kB / 0.4992 GB, free: 10.04 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.00311/0.7012, allocations: 2.058 MB / 0.5012 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.7014, allocations: 145.2 kB / 0.5013 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.7016, allocations: 83.17 kB / 0.5014 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.7016, allocations: 6.312 kB / 0.5014 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.7016, allocations: 33.12 kB / 0.5014 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.7016, allocations: 4 kB / 0.5014 GB, free: 8.484 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005496/0.7071, allocations: 1.687 MB / 0.5031 GB, free: 7.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.7072, allocations: 59.39 kB / 0.5031 GB, free: 7.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.7077, allocations: 482 kB / 0.5036 GB, free: 7.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.7077, allocations: 32.23 kB / 0.5036 GB, free: 7.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.7079, allocations: 316.9 kB / 0.5039 GB, free: 6.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.708, allocations: 94.77 kB / 0.504 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.708, allocations: 48.55 kB / 0.5041 GB, free: 6.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7082, allocations: 355.8 kB / 0.5044 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.7084, allocations: 131.8 kB / 0.5045 GB, free: 6.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.7088, allocations: 446.5 kB / 0.5049 GB, free: 6.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.7094, allocations: 0.6029 MB / 0.5055 GB, free: 5.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7094, allocations: 2.906 kB / 0.5055 GB, free: 5.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008214/0.7102, allocations: 0.6381 MB / 0.5062 GB, free: 5.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7102, allocations: 12.62 kB / 0.5062 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7103, allocations: 11.38 kB / 0.5062 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.7104, allocations: 57.48 kB / 0.5062 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.7109, allocations: 141.7 kB / 0.5064 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.7123, allocations: 1.858 MB / 0.5082 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.7128, allocations: 27.8 kB / 0.5082 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.7128, allocations: 40.25 kB / 0.5083 GB, free: 3.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.7131, allocations: 211.8 kB / 0.5085 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.7131, allocations: 49.23 kB / 0.5085 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.7136, allocations: 296.8 kB / 0.5088 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7137, allocations: 2.594 kB / 0.5088 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7137, allocations: 0 / 0.5088 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004857/0.7142, allocations: 0.5245 MB / 0.5093 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.7151, allocations: 0.6897 MB / 0.51 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7151, allocations: 2.938 kB / 0.51 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.7153, allocations: 54.33 kB / 0.51 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.907e-05/0.7154, allocations: 28.72 kB / 0.5101 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.7154, allocations: 10.59 kB / 0.5101 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/0.7163, allocations: 1.28 MB / 0.5113 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7163, allocations: 5.797 kB / 0.5113 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.7168, allocations: 430.9 kB / 0.5117 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.7169, allocations: 122.1 kB / 0.5119 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.717, allocations: 6.5 kB / 0.5119 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.7173, allocations: 17.61 kB / 0.5119 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.7173, allocations: 11.98 kB / 0.5119 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.7173, allocations: 18.39 kB / 0.5119 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.7176, allocations: 330.4 kB / 0.5122 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7176, allocations: 0 / 0.5122 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008016/0.7185, allocations: 215.6 kB / 0.5124 GB, free: 0.5547 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,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 (23): * Single equations (assignments): 22 * 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.001342/0.7198, allocations: 456.3 kB / 0.5129 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.7206, allocations: 477.1 kB / 0.5133 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7206, allocations: 0 / 0.5133 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.7208, allocations: 210.1 kB / 0.5135 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.722, allocations: 208.1 kB / 0.5137 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.7234, allocations: 1.076 MB / 0.5148 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.7239, allocations: 0.8308 MB / 0.5156 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005118/0.7244, allocations: 133.9 kB / 0.5157 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7245, allocations: 48.02 kB / 0.5157 GB, free: 14.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7245, allocations: 0 / 0.5157 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Templates: time 0.01891/0.7434, allocations: 11.51 MB / 0.527 GB, free: 5.383 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)