Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001651/0.001651, allocations: 192.6 kB / 16.13 MB, free: 6.664 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.46/1.46, allocations: 205.1 MB / 222 MB, free: 4.746 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.001371/0.001371, allocations: 47.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4611/0.7489, allocations: 173.6 MB / 498.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.7532, allocations: 3.872 MB / 0.4904 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.7534, allocations: 3.062 kB / 0.4904 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.7542, allocations: 204.2 kB / 0.4906 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.7549, allocations: 355.1 kB / 0.4909 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.7562, allocations: 0.4946 MB / 0.4914 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.7576, allocations: 1.604 MB / 0.493 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.7578, allocations: 77.8 kB / 0.4931 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.7605, allocations: 1.178 MB / 0.4942 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.761, allocations: 379.4 kB / 0.4946 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.7611, allocations: 20.8 kB / 0.4946 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.7623, allocations: 0.7399 MB / 0.4953 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.7626, allocations: 208.7 kB / 0.4955 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.7629, allocations: 284.7 kB / 0.4958 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.7641, allocations: 1.154 MB / 0.4969 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7641, allocations: 4 kB / 0.4969 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.7641, allocations: 1.203 kB / 0.4969 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.7641, allocations: 0 / 0.4969 GB, free: 10.75 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.001302/0.7654, allocations: 0.8072 MB / 0.4977 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.7655, allocations: 9.969 kB / 0.4977 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.7661, allocations: 126.9 kB / 0.4978 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.7666, allocations: 370 kB / 0.4982 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.7666, allocations: 26.31 kB / 0.4982 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.7667, allocations: 38.66 kB / 0.4982 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.7675, allocations: 0.5651 MB / 0.4988 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.7676, allocations: 0 / 0.4988 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.7676, allocations: 21.5 kB / 0.4988 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.7677, allocations: 10.03 kB / 0.4988 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.7683, allocations: 447.4 kB / 0.4993 GB, free: 9.59 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.003421/0.7717, allocations: 2.111 MB / 0.5013 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.772, allocations: 152.8 kB / 0.5015 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.7721, allocations: 84.42 kB / 0.5015 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.7721, allocations: 6.5 kB / 0.5015 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.7722, allocations: 35.56 kB / 0.5016 GB, free: 8.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.7722, allocations: 2.844 kB / 0.5016 GB, free: 8.008 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.005986/0.7782, allocations: 1.738 MB / 0.5033 GB, free: 6.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.7783, allocations: 57.5 kB / 0.5033 GB, free: 6.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.7788, allocations: 484.9 kB / 0.5038 GB, free: 6.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.7788, allocations: 35.55 kB / 0.5038 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.7791, allocations: 317.1 kB / 0.5041 GB, free: 6.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.7792, allocations: 88.77 kB / 0.5042 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.7793, allocations: 121.1 kB / 0.5043 GB, free: 6.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7795, allocations: 355.1 kB / 0.5047 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7797, allocations: 132 kB / 0.5048 GB, free: 5.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.7802, allocations: 447.4 kB / 0.5052 GB, free: 5.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.7808, allocations: 0.6064 MB / 0.5058 GB, free: 5.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7808, allocations: 2.406 kB / 0.5058 GB, free: 5.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008892/0.7817, allocations: 0.642 MB / 0.5064 GB, free: 4.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7817, allocations: 13.88 kB / 0.5065 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.7818, allocations: 12.22 kB / 0.5065 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.782, allocations: 53.2 kB / 0.5065 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.7824, allocations: 139 kB / 0.5067 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.7839, allocations: 1.843 MB / 0.5085 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.7843, allocations: 33.17 kB / 0.5085 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.7844, allocations: 43.98 kB / 0.5085 GB, free: 3.004 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.0002621/0.7847, allocations: 213 kB / 0.5087 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.7848, allocations: 46.66 kB / 0.5088 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.7853, allocations: 298.1 kB / 0.5091 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7853, allocations: 2.781 kB / 0.5091 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7853, allocations: 3.938 kB / 0.5091 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005633/0.7859, allocations: 0.5321 MB / 0.5096 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.7869, allocations: 0.6956 MB / 0.5103 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.7869, allocations: 0 / 0.5103 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.7872, allocations: 54.16 kB / 0.5103 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-05/0.7873, allocations: 20.22 kB / 0.5103 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.7873, allocations: 13.48 kB / 0.5104 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008396/0.7882, allocations: 1.281 MB / 0.5116 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7882, allocations: 160 / 0.5116 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.7887, allocations: 434.7 kB / 0.512 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.7889, allocations: 116.2 kB / 0.5121 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.7889, allocations: 3.562 kB / 0.5121 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.7892, allocations: 14.77 kB / 0.5121 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.7893, allocations: 23.67 kB / 0.5122 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.7893, allocations: 11.19 kB / 0.5122 GB, free: 188 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.7896, allocations: 329.2 kB / 0.5125 GB, free: 52 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7896, allocations: 0 / 0.5125 GB, free: 52 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008682/0.7905, allocations: 218 kB / 0.5127 GB, free: 36 kB / 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.00142/0.7919, allocations: 467.9 kB / 0.5131 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.7927, allocations: 459.9 kB / 0.5136 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7927, allocations: 2.812 kB / 0.5136 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.793, allocations: 212.1 kB / 0.5138 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7941, allocations: 213.8 kB / 0.514 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.7956, allocations: 1.017 MB / 0.515 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.7961, allocations: 0.8202 MB / 0.5158 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005092/0.7966, allocations: 140.9 kB / 0.5159 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7967, allocations: 46.55 kB / 0.516 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7967, allocations: 1.203 kB / 0.516 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Templates: time 0.01867/0.8154, allocations: 11.55 MB / 0.5272 GB, free: 3.195 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)