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.001527/0.001527, allocations: 107.7 kB / 16.51 MB, free: 6.707 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.001457/0.001457, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.53/1.53, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001656/0.001656, allocations: 51.92 kB / 279.4 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1269, allocations: 46.61 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4194/0.5463, allocations: 173.6 MB / 499.6 MB, free: 9.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.5514, allocations: 3.872 MB / 0.4916 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.5516, allocations: 4 kB / 0.4916 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.5526, allocations: 203 kB / 0.4918 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007279/0.5534, allocations: 358.3 kB / 0.4922 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.5549, allocations: 496.7 kB / 0.4927 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.5563, allocations: 1.606 MB / 0.4942 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.5564, allocations: 78.09 kB / 0.4943 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.5589, allocations: 1.197 MB / 0.4955 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.5594, allocations: 358.8 kB / 0.4958 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.5595, allocations: 23.98 kB / 0.4958 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.5608, allocations: 0.7484 MB / 0.4966 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.561, allocations: 207.4 kB / 0.4968 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.5613, allocations: 290.8 kB / 0.497 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5626, allocations: 1.145 MB / 0.4982 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5626, allocations: 4 kB / 0.4982 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5626, allocations: 0 / 0.4982 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.5626, allocations: 0 / 0.4982 GB, free: 15.4 MB / 414.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.001364/0.564, allocations: 0.8075 MB / 0.4989 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.564, allocations: 8.031 kB / 0.499 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.5647, allocations: 127.3 kB / 0.4991 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.5652, allocations: 373.1 kB / 0.4994 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5653, allocations: 25 kB / 0.4995 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.5653, allocations: 40 kB / 0.4995 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.5662, allocations: 0.5693 MB / 0.5001 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5663, allocations: 0 / 0.5001 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.5664, allocations: 20 kB / 0.5001 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.5664, allocations: 8 kB / 0.5001 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.567, allocations: 446.3 kB / 0.5005 GB, free: 12.89 MB / 414.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.003391/0.5704, allocations: 2.116 MB / 0.5026 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.5707, allocations: 150.6 kB / 0.5027 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5708, allocations: 87.02 kB / 0.5028 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.5709, allocations: 4 kB / 0.5028 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.5709, allocations: 38.56 kB / 0.5028 GB, free: 10.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.5709, allocations: 0 / 0.5028 GB, free: 10.31 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.00627/0.5772, allocations: 1.74 MB / 0.5045 GB, free: 8.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5772, allocations: 55.41 kB / 0.5046 GB, free: 8.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.5778, allocations: 485.5 kB / 0.5051 GB, free: 7.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.5778, allocations: 41.64 kB / 0.5051 GB, free: 7.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.578, allocations: 322.2 kB / 0.5054 GB, free: 7.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.5781, allocations: 94.83 kB / 0.5055 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.5782, allocations: 122.1 kB / 0.5056 GB, free: 7.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5784, allocations: 350.8 kB / 0.5059 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.5786, allocations: 137.2 kB / 0.5061 GB, free: 6.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.579, allocations: 440.5 kB / 0.5065 GB, free: 6.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.5797, allocations: 0.6057 MB / 0.5071 GB, free: 5.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5797, allocations: 0 / 0.5071 GB, free: 5.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009364/0.5807, allocations: 0.6397 MB / 0.5077 GB, free: 4.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5807, allocations: 12.03 kB / 0.5077 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5807, allocations: 12 kB / 0.5077 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.5809, allocations: 57.69 kB / 0.5078 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.5814, allocations: 139.8 kB / 0.5079 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5828, allocations: 1.836 MB / 0.5097 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.5832, allocations: 32.2 kB / 0.5097 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.5833, allocations: 40 kB / 0.5098 GB, free: 2.539 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.000226/0.5835, allocations: 213.5 kB / 0.51 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.5836, allocations: 51.42 kB / 0.51 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/0.5841, allocations: 290.8 kB / 0.5103 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5842, allocations: 4 kB / 0.5103 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5842, allocations: 3.984 kB / 0.5103 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004787/0.5847, allocations: 0.5282 MB / 0.5108 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.5856, allocations: 0.6981 MB / 0.5115 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5856, allocations: 3.984 kB / 0.5115 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.5859, allocations: 47.97 kB / 0.5116 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.569e-05/0.586, allocations: 20.84 kB / 0.5116 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.586, allocations: 15.94 kB / 0.5116 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008148/0.5868, allocations: 1.28 MB / 0.5129 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5868, allocations: 160 / 0.5129 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.5874, allocations: 435.5 kB / 0.5133 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.5875, allocations: 116.6 kB / 0.5134 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.5876, allocations: 4 kB / 0.5134 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.5878, allocations: 15.98 kB / 0.5134 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.5879, allocations: 16.05 kB / 0.5134 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.5879, allocations: 23.92 kB / 0.5134 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.5882, allocations: 323.1 kB / 0.5137 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5883, allocations: 0 / 0.5137 GB, free: 14.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.5891, allocations: 219.9 kB / 0.514 GB, free: 13.91 MB / 430.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.001438/0.5905, allocations: 467.5 kB / 0.5144 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007564/0.5913, allocations: 464.2 kB / 0.5148 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5913, allocations: 0.6875 kB / 0.5148 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.5916, allocations: 218.5 kB / 0.5151 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5927, allocations: 206.1 kB / 0.5152 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.5942, allocations: 1.018 MB / 0.5162 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.5946, allocations: 0.8194 MB / 0.517 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004998/0.5951, allocations: 146.8 kB / 0.5172 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5952, allocations: 39.44 kB / 0.5172 GB, free: 10.49 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5952, allocations: 0 / 0.5172 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Templates: time 0.01825/0.6134, allocations: 11.54 MB / 0.5285 GB, free: 14.93 MB / 446.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)