Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 110.3 kB / 16.92 MB, free: 5.855 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.001636/0.001636, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.506/1.506, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001443/0.001443, allocations: 47.94 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 46.62 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4244/0.534, allocations: 172.7 MB / 499.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.5376, allocations: 3.201 MB / 0.4908 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.5378, allocations: 7.938 kB / 0.4908 GB, free: 7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.5383, allocations: 171 kB / 0.4909 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.5391, allocations: 415.2 kB / 0.4913 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.5398, allocations: 336.8 kB / 0.4917 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.5406, allocations: 0.8953 MB / 0.4925 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.5408, allocations: 105.2 kB / 0.4926 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.5423, allocations: 0.7949 MB / 0.4934 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.5427, allocations: 270.9 kB / 0.4937 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.5428, allocations: 32 kB / 0.4937 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.5431, allocations: 127.8 kB / 0.4938 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.5432, allocations: 91.78 kB / 0.4939 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.5434, allocations: 187.2 kB / 0.4941 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.5439, allocations: 0.5064 MB / 0.4946 GB, free: 3.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.544, allocations: 0 / 0.4946 GB, free: 3.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.544, allocations: 4 kB / 0.4946 GB, free: 3.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.544, allocations: 0 / 0.4946 GB, free: 3.094 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008286/0.5448, allocations: 0.593 MB / 0.4952 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5449, allocations: 8.031 kB / 0.4952 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5452, allocations: 43.61 kB / 0.4952 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.5456, allocations: 290.4 kB / 0.4955 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5456, allocations: 20.56 kB / 0.4955 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.5456, allocations: 24 kB / 0.4955 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.5461, allocations: 315.7 kB / 0.4958 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5461, allocations: 3.938 kB / 0.4958 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.5462, allocations: 12 kB / 0.4959 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5462, allocations: 12 kB / 0.4959 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.5465, allocations: 205.5 kB / 0.4961 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.001884/0.5484, allocations: 1.596 MB / 0.4976 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.5487, allocations: 175.1 kB / 0.4978 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.5489, allocations: 96.77 kB / 0.4979 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.5489, allocations: 7.984 kB / 0.4979 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.549, allocations: 34.56 kB / 0.4979 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.549, allocations: 4 kB / 0.4979 GB, free: 15.39 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=27): time 0.00575/0.5548, allocations: 1.602 MB / 0.4995 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5548, allocations: 59.41 kB / 0.4995 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.5551, allocations: 252.9 kB / 0.4998 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5551, allocations: 33.7 kB / 0.4998 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5552, allocations: 180.1 kB / 0.5 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.5553, allocations: 90.66 kB / 0.5001 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.5554, allocations: 93.38 kB / 0.5002 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5556, allocations: 334.8 kB / 0.5005 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.5558, allocations: 98.14 kB / 0.5006 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.556, allocations: 187.8 kB / 0.5008 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.5564, allocations: 311.7 kB / 0.5011 GB, free: 11.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5564, allocations: 0 / 0.5011 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006174/0.557, allocations: 394.7 kB / 0.5014 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5571, allocations: 8 kB / 0.5014 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5571, allocations: 4 kB / 0.5014 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.5573, allocations: 69.67 kB / 0.5015 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.5576, allocations: 92.23 kB / 0.5016 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5593, allocations: 1.95 MB / 0.5035 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5595, allocations: 8 kB / 0.5035 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.5595, allocations: 39.98 kB / 0.5035 GB, free: 9.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0001604/0.5597, allocations: 154.8 kB / 0.5037 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.5598, allocations: 32.62 kB / 0.5037 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.5607, allocations: 440.4 kB / 0.5041 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5607, allocations: 0 / 0.5041 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5608, allocations: 8 kB / 0.5042 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005314/0.5613, allocations: 0.563 MB / 0.5047 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.5623, allocations: 0.7387 MB / 0.5054 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5623, allocations: 4 kB / 0.5054 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.5626, allocations: 63.95 kB / 0.5055 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.5627, allocations: 24.91 kB / 0.5055 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.5627, allocations: 12 kB / 0.5055 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009002/0.5636, allocations: 1.375 MB / 0.5069 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5636, allocations: 0 / 0.5069 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.5643, allocations: 489.9 kB / 0.5073 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.5644, allocations: 100.8 kB / 0.5074 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.5644, allocations: 15.98 kB / 0.5074 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.5647, allocations: 8 kB / 0.5075 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.5647, allocations: 23.97 kB / 0.5075 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.5648, allocations: 27.98 kB / 0.5075 GB, free: 4.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.565, allocations: 193.9 kB / 0.5077 GB, free: 4.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.565, allocations: 8.062 kB / 0.5077 GB, free: 4.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.5655, allocations: 120 kB / 0.5078 GB, free: 4.453 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0003737/0.5659, allocations: 159 kB / 0.508 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.5666, allocations: 395 kB / 0.5083 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5666, allocations: 0 / 0.5083 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.5668, allocations: 223.4 kB / 0.5085 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.5678, allocations: 171.5 kB / 0.5087 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5689, allocations: 0.6986 MB / 0.5094 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.5692, allocations: 0.7645 MB / 0.5101 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.5698, allocations: 114.9 kB / 0.5103 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.57, allocations: 55.42 kB / 0.5103 GB, free: 1.805 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.57, allocations: 8 kB / 0.5103 GB, free: 1.797 MB / 414.1 MB Notification: Performance of Templates: time 0.01427/0.5843, allocations: 8.715 MB / 0.5188 GB, free: 9.074 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)