Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001108/0.001108, allocations: 88.25 kB / 16.65 MB, free: 6.59 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.001443/0.001444, allocations: 185.7 kB / 17.57 MB, free: 6.199 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.572/1.572, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004354/0.0004355, allocations: 8 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.58 MB / 328.3 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4239/0.5335, allocations: 171.3 MB / 499.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.5391, allocations: 3.814 MB / 0.4917 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.5397, allocations: 8 kB / 0.4917 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.5406, allocations: 207 kB / 0.4919 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.5414, allocations: 350.3 kB / 0.4922 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.5432, allocations: 0.4918 MB / 0.4927 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.5452, allocations: 1.606 MB / 0.4943 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.5455, allocations: 74.23 kB / 0.4943 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.5494, allocations: 1.177 MB / 0.4955 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.55, allocations: 362.7 kB / 0.4958 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.55, allocations: 20 kB / 0.4958 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.5515, allocations: 0.7446 MB / 0.4966 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.5517, allocations: 203.4 kB / 0.4968 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.5521, allocations: 312.6 kB / 0.4971 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.5535, allocations: 1.129 MB / 0.4982 GB, free: 3.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5535, allocations: 3.938 kB / 0.4982 GB, free: 3.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5535, allocations: 4 kB / 0.4982 GB, free: 3.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.5536, allocations: 4 kB / 0.4982 GB, free: 3.879 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.00135/0.5549, allocations: 0.6906 MB / 0.4988 GB, free: 3.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.555, allocations: 12.03 kB / 0.4989 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.5556, allocations: 131.3 kB / 0.499 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.5561, allocations: 369.2 kB / 0.4993 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5562, allocations: 29 kB / 0.4994 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.5562, allocations: 36 kB / 0.4994 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/0.5571, allocations: 0.5693 MB / 0.5 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5572, allocations: 4 kB / 0.5 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.5572, allocations: 20 kB / 0.5 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5572, allocations: 12 kB / 0.5 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.5579, allocations: 446.3 kB / 0.5004 GB, free: 1.473 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.0032/0.5611, allocations: 2.055 MB / 0.5024 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.5614, allocations: 146.6 kB / 0.5026 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.5615, allocations: 89.31 kB / 0.5026 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.5615, allocations: 7.938 kB / 0.5026 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5616, allocations: 34.56 kB / 0.5027 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.5616, allocations: 4 kB / 0.5027 GB, free: 14.95 MB / 414.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.005747/0.5674, allocations: 1.686 MB / 0.5043 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.5674, allocations: 59.41 kB / 0.5044 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.568, allocations: 481.6 kB / 0.5048 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.568, allocations: 33.7 kB / 0.5049 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.5682, allocations: 318.4 kB / 0.5052 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.5683, allocations: 86.75 kB / 0.5053 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.5684, allocations: 53.69 kB / 0.5053 GB, free: 12.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5685, allocations: 358.8 kB / 0.5057 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.5687, allocations: 129.2 kB / 0.5058 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.5692, allocations: 448.5 kB / 0.5062 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.5699, allocations: 0.6057 MB / 0.5068 GB, free: 10.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5699, allocations: 0 / 0.5068 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000942/0.5708, allocations: 0.6434 MB / 0.5074 GB, free: 9.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5709, allocations: 11.12 kB / 0.5074 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.5709, allocations: 12 kB / 0.5075 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.5711, allocations: 53.7 kB / 0.5075 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.5715, allocations: 139.8 kB / 0.5076 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.5729, allocations: 1.848 MB / 0.5094 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.5733, allocations: 35.98 kB / 0.5095 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.5733, allocations: 36 kB / 0.5095 GB, free: 7.301 MB / 414.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.0002384/0.5736, allocations: 213.5 kB / 0.5097 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.5737, allocations: 47.53 kB / 0.5098 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.5742, allocations: 298.9 kB / 0.51 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5742, allocations: 0 / 0.51 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5743, allocations: 4 kB / 0.51 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005007/0.5748, allocations: 0.5316 MB / 0.5106 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/0.5757, allocations: 0.6864 MB / 0.5112 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5757, allocations: 0 / 0.5112 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.576, allocations: 63.89 kB / 0.5113 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.5761, allocations: 24.75 kB / 0.5113 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5761, allocations: 7.938 kB / 0.5113 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008205/0.5769, allocations: 1.28 MB / 0.5126 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5769, allocations: 0 / 0.5126 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.5775, allocations: 432.1 kB / 0.513 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5776, allocations: 120.6 kB / 0.5131 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.5777, allocations: 4 kB / 0.5131 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.578, allocations: 16.16 kB / 0.5131 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.578, allocations: 15.97 kB / 0.5131 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.578, allocations: 19.98 kB / 0.5132 GB, free: 3.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.5784, allocations: 323.1 kB / 0.5135 GB, free: 2.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5784, allocations: 0 / 0.5135 GB, free: 2.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000809/0.5792, allocations: 219.9 kB / 0.5137 GB, free: 2.68 MB / 414.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.001385/0.5806, allocations: 474.7 kB / 0.5141 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.5814, allocations: 464.6 kB / 0.5146 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5814, allocations: 0 / 0.5146 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.5817, allocations: 210.6 kB / 0.5148 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5829, allocations: 209.7 kB / 0.515 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5843, allocations: 1.085 MB / 0.516 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.5847, allocations: 0.8233 MB / 0.5168 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004841/0.5852, allocations: 140.5 kB / 0.517 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5853, allocations: 43.44 kB / 0.517 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5853, allocations: 0 / 0.517 GB, free: 15.17 MB / 430.1 MB Notification: Performance of Templates: time 0.01912/0.6045, allocations: 11.5 MB / 0.5282 GB, free: 3.664 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)