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.001123/0.001123, allocations: 110.7 kB / 16.63 MB, free: 6.34 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.001275/0.001276, allocations: 189.5 kB / 17.55 MB, free: 5.801 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.389/1.389, allocations: 205.1 MB / 223.4 MB, free: 12.4 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.001449/0.001449, allocations: 52.61 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 46.63 MB / 326.2 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.446/0.5537, allocations: 170.4 MB / 496.5 MB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.558, allocations: 3.194 MB / 499.7 MB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.5583, allocations: 4 kB / 499.7 MB, free: 9.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.559, allocations: 143.2 kB / 499.9 MB, free: 9.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009426/0.56, allocations: 379.8 kB / 0.4885 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.5609, allocations: 320.8 kB / 0.4888 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009511/0.5619, allocations: 0.8991 MB / 0.4897 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.5622, allocations: 97.14 kB / 0.4898 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5646, allocations: 0.7726 MB / 0.4906 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.5649, allocations: 298.8 kB / 0.4908 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.565, allocations: 36 kB / 0.4909 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.5654, allocations: 123.9 kB / 0.491 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.5655, allocations: 95.7 kB / 0.4911 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.5658, allocations: 195.2 kB / 0.4913 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000751/0.5665, allocations: 0.5141 MB / 0.4918 GB, free: 6.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5665, allocations: 0 / 0.4918 GB, free: 6.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5665, allocations: 0 / 0.4918 GB, free: 6.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.5666, allocations: 0 / 0.4918 GB, free: 6.039 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.001052/0.5676, allocations: 0.5853 MB / 0.4924 GB, free: 5.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5677, allocations: 12.02 kB / 0.4924 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.568, allocations: 44.44 kB / 0.4924 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.5684, allocations: 282.4 kB / 0.4927 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5685, allocations: 20.56 kB / 0.4927 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.5685, allocations: 24 kB / 0.4927 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.5691, allocations: 319.7 kB / 0.493 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.5691, allocations: 7.875 kB / 0.493 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.5692, allocations: 12 kB / 0.493 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.5692, allocations: 4 kB / 0.493 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.5695, allocations: 209.6 kB / 0.4932 GB, free: 4.422 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.001931/0.5715, allocations: 1.587 MB / 0.4948 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.5718, allocations: 167.2 kB / 0.495 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.572, allocations: 96.77 kB / 0.495 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.572, allocations: 11.98 kB / 0.4951 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5721, allocations: 42.5 kB / 0.4951 GB, free: 2.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.5721, allocations: 0 / 0.4951 GB, free: 2.355 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=27): time 0.00575/0.5778, allocations: 1.622 MB / 0.4967 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.5779, allocations: 51.41 kB / 0.4967 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.5782, allocations: 252.9 kB / 0.497 GB, free: 288 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.5782, allocations: 29.7 kB / 0.497 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5783, allocations: 180.2 kB / 0.4972 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5785, allocations: 98.64 kB / 0.4973 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.5786, allocations: 89.38 kB / 0.4974 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5787, allocations: 334.8 kB / 0.4977 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.5789, allocations: 91.95 kB / 0.4978 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.5792, allocations: 183.8 kB / 0.4979 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.5796, allocations: 307.7 kB / 0.4982 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5796, allocations: 5.5 kB / 0.4982 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006552/0.5803, allocations: 394.7 kB / 0.4986 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5803, allocations: 8 kB / 0.4986 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5803, allocations: 0 / 0.4986 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.5806, allocations: 82.02 kB / 0.4987 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.5809, allocations: 79.91 kB / 0.4988 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.5825, allocations: 1.959 MB / 0.5007 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5828, allocations: 24.09 kB / 0.5007 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.5829, allocations: 43.92 kB / 0.5008 GB, free: 12.11 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.0002136/0.5831, allocations: 158.4 kB / 0.5009 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.5832, allocations: 23.72 kB / 0.5009 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/0.5841, allocations: 439.7 kB / 0.5013 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5842, allocations: 0 / 0.5013 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5842, allocations: 4 kB / 0.5013 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005834/0.5848, allocations: 0.563 MB / 0.5019 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5859, allocations: 0.7271 MB / 0.5026 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5859, allocations: 4 kB / 0.5026 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.5862, allocations: 67.89 kB / 0.5027 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.5863, allocations: 20.84 kB / 0.5027 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.5863, allocations: 15.98 kB / 0.5027 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009378/0.5873, allocations: 1.39 MB / 0.5041 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5873, allocations: 0 / 0.5041 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.588, allocations: 482.5 kB / 0.5045 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.5881, allocations: 108.7 kB / 0.5046 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.5882, allocations: 12.12 kB / 0.5046 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.5884, allocations: 15.98 kB / 0.5047 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.5885, allocations: 23.97 kB / 0.5047 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5886, allocations: 31.98 kB / 0.5047 GB, free: 7.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.5888, allocations: 186 kB / 0.5049 GB, free: 7.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5888, allocations: 0 / 0.5049 GB, free: 7.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.5894, allocations: 131.9 kB / 0.505 GB, free: 7.379 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.0004245/0.5898, allocations: 143.1 kB / 0.5052 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.5906, allocations: 394.3 kB / 0.5055 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5906, allocations: 0 / 0.5055 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.5909, allocations: 226.5 kB / 0.5057 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.5919, allocations: 177 kB / 0.5059 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5933, allocations: 0.8 MB / 0.5067 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5938, allocations: 0.7645 MB / 0.5074 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000639/0.5944, allocations: 118.9 kB / 0.5076 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.5947, allocations: 63.41 kB / 0.5076 GB, free: 4.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5947, allocations: 0 / 0.5076 GB, free: 4.625 MB / 414.1 MB Notification: Performance of Templates: time 0.01745/0.6121, allocations: 8.689 MB / 0.5161 GB, free: 11.93 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)