Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00532/0.00532, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.00108/0.00108, allocations: 192 kB / 16.67 MB, free: 5.969 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.435/1.435, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001222/0.001222, allocations: 50.34 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09337, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.39/0.4834, allocations: 150.8 MB / 0.5117 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.4853, allocations: 1.484 MB / 0.5132 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.4854, allocations: 3.938 kB / 0.5132 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.4858, allocations: 56.59 kB / 0.5132 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.4871, allocations: 383.9 kB / 0.5136 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.4878, allocations: 174.2 kB / 0.5138 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.4881, allocations: 177.5 kB / 0.5139 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.4881, allocations: 8.953 kB / 0.514 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.4883, allocations: 84.81 kB / 0.514 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.4885, allocations: 59.75 kB / 0.5141 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.4885, allocations: 6.844 kB / 0.5141 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.4897, allocations: 0.5696 MB / 0.5147 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.4898, allocations: 36.5 kB / 0.5147 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.4899, allocations: 48.42 kB / 0.5147 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.4907, allocations: 396.2 kB / 0.5151 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4907, allocations: 1.031 kB / 0.5151 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4907, allocations: 0 / 0.5151 GB, free: 2.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.4907, allocations: 0 / 0.5151 GB, free: 2.906 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000657/0.4914, allocations: 441.8 kB / 0.5155 GB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4915, allocations: 10.06 kB / 0.5155 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.4937, allocations: 189 kB / 0.5157 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.494, allocations: 203.4 kB / 0.5159 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.494, allocations: 10.19 kB / 0.5159 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4941, allocations: 16.58 kB / 0.5159 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.4946, allocations: 195.4 kB / 0.5161 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4947, allocations: 5.938 kB / 0.5161 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.4947, allocations: 9.875 kB / 0.5161 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4947, allocations: 2.469 kB / 0.5161 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.4955, allocations: 241.4 kB / 0.5164 GB, free: 2.066 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.001735/0.4972, allocations: 0.6693 MB / 0.517 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4977, allocations: 190.7 kB / 0.5172 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4979, allocations: 91.47 kB / 0.5173 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.4981, allocations: 92.84 kB / 0.5174 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4981, allocations: 36.34 kB / 0.5174 GB, free: 1.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.4981, allocations: 0 / 0.5174 GB, free: 1.289 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005828/0.504, allocations: 1.534 MB / 0.5189 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.504, allocations: 54.66 kB / 0.519 GB, free: 136 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.5041, allocations: 107.1 kB / 0.5191 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.5042, allocations: 36.52 kB / 0.5191 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.5043, allocations: 99.22 kB / 0.5192 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5043, allocations: 74.73 kB / 0.5193 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5044, allocations: 45.03 kB / 0.5193 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.5045, allocations: 317.3 kB / 0.5196 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.5048, allocations: 98.16 kB / 0.5197 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.505, allocations: 121.5 kB / 0.5198 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.5055, allocations: 225.2 kB / 0.52 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5055, allocations: 0 / 0.52 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006315/0.5061, allocations: 302.5 kB / 0.5203 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5062, allocations: 2.688 kB / 0.5203 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5062, allocations: 2.125 kB / 0.5203 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.5063, allocations: 25.38 kB / 0.5204 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.5068, allocations: 64.02 kB / 0.5204 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003404/0.5072, allocations: 0.5351 MB / 0.5209 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.5075, allocations: 9.719 kB / 0.521 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.5075, allocations: 7.375 kB / 0.521 GB, free: 14.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.5077, allocations: 134.7 kB / 0.5211 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.5077, allocations: 8.391 kB / 0.5211 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.5085, allocations: 317.4 kB / 0.5214 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5085, allocations: 2.625 kB / 0.5214 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5085, allocations: 3.938 kB / 0.5214 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5085, allocations: 2.719 kB / 0.5214 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5097, allocations: 0.6721 MB / 0.5221 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5097, allocations: 2.031 kB / 0.5221 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.5102, allocations: 47.05 kB / 0.5221 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.5103, allocations: 27.78 kB / 0.5221 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5103, allocations: 5.891 kB / 0.5221 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009866/0.5113, allocations: 1.368 MB / 0.5235 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5113, allocations: 0 / 0.5235 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.5122, allocations: 454.8 kB / 0.5239 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.5123, allocations: 88.03 kB / 0.524 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.5123, allocations: 10.66 kB / 0.524 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.5127, allocations: 12.89 kB / 0.524 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.5127, allocations: 11.39 kB / 0.524 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.5127, allocations: 15.2 kB / 0.524 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.249e-05/0.5128, allocations: 95.38 kB / 0.5241 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5128, allocations: 3.938 kB / 0.5241 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.5134, allocations: 132.5 kB / 0.5243 GB, free: 11.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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.0007344/0.5141, allocations: 256.8 kB / 0.5245 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.5148, allocations: 241.5 kB / 0.5247 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5148, allocations: 0 / 0.5247 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.5152, allocations: 238.6 kB / 0.525 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.5157, allocations: 39.91 kB / 0.525 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000963/0.5166, allocations: 482.8 kB / 0.5255 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.5169, allocations: 0.7046 MB / 0.5262 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.5173, allocations: 53.56 kB / 0.5262 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.5174, allocations: 27.42 kB / 0.5262 GB, free: 9.469 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5174, allocations: 0 / 0.5262 GB, free: 9.469 MB / 414.1 MB Notification: Performance of Templates: time 0.01119/0.5286, allocations: 6.258 MB / 0.5323 GB, free: 3.195 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)