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.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001416/0.001416, allocations: 59.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2648, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4525/0.7174, allocations: 175.6 MB / 0.4892 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.7216, allocations: 3.835 MB / 0.493 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.7219, allocations: 9.031 kB / 0.493 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.7226, allocations: 228.8 kB / 0.4932 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.7233, allocations: 361.7 kB / 0.4935 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.7246, allocations: 0.5407 MB / 0.4941 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009925/0.7256, allocations: 1.107 MB / 0.4951 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.7259, allocations: 100.1 kB / 0.4952 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.7285, allocations: 1.256 MB / 0.4965 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.7289, allocations: 338.2 kB / 0.4968 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.729, allocations: 45.34 kB / 0.4968 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.7302, allocations: 0.5257 MB / 0.4973 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.7304, allocations: 236.5 kB / 0.4976 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.7307, allocations: 319.7 kB / 0.4979 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.732, allocations: 1.099 MB / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.732, allocations: 2.906 kB / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.732, allocations: 0 / 0.4989 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.7321, allocations: 1.203 kB / 0.499 GB, free: 10.2 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.001341/0.7334, allocations: 0.7992 MB / 0.4997 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7335, allocations: 11.31 kB / 0.4997 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.7341, allocations: 123.4 kB / 0.4999 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.7346, allocations: 378.5 kB / 0.5002 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.7346, allocations: 29.19 kB / 0.5002 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.7347, allocations: 35.44 kB / 0.5003 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.7355, allocations: 0.5667 MB / 0.5008 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.7355, allocations: 0 / 0.5008 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.7356, allocations: 18.62 kB / 0.5009 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.7356, allocations: 10.25 kB / 0.5009 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.7362, allocations: 441.2 kB / 0.5013 GB, free: 9.047 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.003557/0.7397, allocations: 2.132 MB / 0.5034 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.74, allocations: 149.1 kB / 0.5035 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.7401, allocations: 78.3 kB / 0.5036 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.7402, allocations: 6.984 kB / 0.5036 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.7402, allocations: 44.45 kB / 0.5036 GB, free: 7.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.7402, allocations: 0 / 0.5036 GB, free: 7.453 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.006027/0.7462, allocations: 1.747 MB / 0.5053 GB, free: 6.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.7463, allocations: 53.84 kB / 0.5054 GB, free: 6.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.7468, allocations: 486.9 kB / 0.5059 GB, free: 6.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.7468, allocations: 28.02 kB / 0.5059 GB, free: 6.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.747, allocations: 323.2 kB / 0.5062 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.7471, allocations: 89.56 kB / 0.5063 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.7472, allocations: 121.6 kB / 0.5064 GB, free: 5.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7473, allocations: 355.8 kB / 0.5067 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.7475, allocations: 130.9 kB / 0.5069 GB, free: 5.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.7479, allocations: 440.3 kB / 0.5073 GB, free: 4.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.7485, allocations: 0.6066 MB / 0.5079 GB, free: 4.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7485, allocations: 4.312 kB / 0.5079 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008195/0.7493, allocations: 0.6385 MB / 0.5085 GB, free: 4.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.7494, allocations: 13.31 kB / 0.5085 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7494, allocations: 10.09 kB / 0.5085 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.7496, allocations: 57.11 kB / 0.5086 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.75, allocations: 147.1 kB / 0.5087 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.7514, allocations: 1.94 MB / 0.5106 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.7518, allocations: 24.19 kB / 0.5106 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.7518, allocations: 41.3 kB / 0.5107 GB, free: 2.355 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.0001884/0.752, allocations: 210.6 kB / 0.5109 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.7521, allocations: 46.12 kB / 0.5109 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.7526, allocations: 284.8 kB / 0.5112 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7526, allocations: 4.906 kB / 0.5112 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.7526, allocations: 3.938 kB / 0.5112 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005063/0.7531, allocations: 0.5334 MB / 0.5117 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7542, allocations: 0.7006 MB / 0.5124 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7542, allocations: 1.094 kB / 0.5124 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.7545, allocations: 55.5 kB / 0.5125 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.339e-05/0.7546, allocations: 20.16 kB / 0.5125 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7546, allocations: 12.2 kB / 0.5125 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.7558, allocations: 1.381 MB / 0.5138 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7559, allocations: 6.219 kB / 0.5138 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.7565, allocations: 424.8 kB / 0.5142 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.7567, allocations: 111.2 kB / 0.5143 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.7568, allocations: 13.17 kB / 0.5144 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.7571, allocations: 9.156 kB / 0.5144 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.7571, allocations: 19.72 kB / 0.5144 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.7571, allocations: 17.36 kB / 0.5144 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004421/0.7576, allocations: 329.5 kB / 0.5147 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7576, allocations: 0 / 0.5147 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001052/0.7587, allocations: 214.8 kB / 0.5149 GB, free: 15.3 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.001358/0.76, allocations: 462.6 kB / 0.5154 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.761, allocations: 476.3 kB / 0.5158 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.761, allocations: 0 / 0.5158 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.7613, allocations: 217.8 kB / 0.516 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7626, allocations: 207.7 kB / 0.5162 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.764, allocations: 0.8771 MB / 0.5171 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.7644, allocations: 0.8238 MB / 0.5179 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.7649, allocations: 139.1 kB / 0.518 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.765, allocations: 48.45 kB / 0.5181 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.765, allocations: 4 kB / 0.5181 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01973/0.7848, allocations: 11.86 MB / 0.5297 GB, free: 2.047 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)