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.0007976/0.0007976, allocations: 92.47 kB / 16.65 MB, free: 6.535 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.0008948/0.000895, allocations: 172.6 kB / 17.56 MB, free: 6.184 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.464/1.464, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004665/0.0004664, allocations: 12 kB / 280.8 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4528/0.5608, allocations: 168.3 MB / 496.7 MB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.5651, allocations: 3.175 MB / 499.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.5656, allocations: 7.938 kB / 499.8 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.5662, allocations: 143.2 kB / 500 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.5673, allocations: 395.6 kB / 0.4886 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009466/0.5683, allocations: 317.4 kB / 0.4889 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.5697, allocations: 1.344 MB / 0.4903 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.5699, allocations: 76.64 kB / 0.4903 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.5718, allocations: 0.7094 MB / 0.491 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.5723, allocations: 282.9 kB / 0.4913 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.5723, allocations: 15.94 kB / 0.4913 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.5727, allocations: 111.8 kB / 0.4914 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.5729, allocations: 71.73 kB / 0.4915 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.5731, allocations: 197 kB / 0.4917 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.5737, allocations: 0.4983 MB / 0.4922 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5737, allocations: 0 / 0.4922 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5737, allocations: 4 kB / 0.4922 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5737, allocations: 0 / 0.4922 GB, free: 10.04 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.0007979/0.5745, allocations: 0.519 MB / 0.4927 GB, free: 9.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5746, allocations: 8.031 kB / 0.4927 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.5749, allocations: 47.59 kB / 0.4927 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.5753, allocations: 282.4 kB / 0.493 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.5753, allocations: 16.56 kB / 0.493 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.5754, allocations: 28 kB / 0.493 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.5759, allocations: 319.6 kB / 0.4933 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.576, allocations: 3.938 kB / 0.4933 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.576, allocations: 12 kB / 0.4933 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.576, allocations: 12.69 kB / 0.4934 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.5764, allocations: 205.6 kB / 0.4936 GB, free: 8.484 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.001888/0.5783, allocations: 1.569 MB / 0.4951 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.5786, allocations: 179.1 kB / 0.4953 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5788, allocations: 108.8 kB / 0.4954 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.5788, allocations: 4 kB / 0.4954 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5789, allocations: 35.06 kB / 0.4954 GB, free: 6.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/0.5789, allocations: 0 / 0.4954 GB, free: 6.426 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.005609/0.5845, allocations: 1.625 MB / 0.497 GB, free: 4.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.5845, allocations: 59.39 kB / 0.497 GB, free: 4.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.5848, allocations: 252.9 kB / 0.4973 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5848, allocations: 33.7 kB / 0.4973 GB, free: 4.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.585, allocations: 184.1 kB / 0.4975 GB, free: 4.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.5851, allocations: 90.66 kB / 0.4976 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.5851, allocations: 37.64 kB / 0.4976 GB, free: 3.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5854, allocations: 342.8 kB / 0.4979 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.5856, allocations: 87.75 kB / 0.498 GB, free: 3.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5858, allocations: 191.8 kB / 0.4982 GB, free: 3.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.5863, allocations: 308.2 kB / 0.4985 GB, free: 2.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5863, allocations: 4 kB / 0.4985 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006852/0.587, allocations: 386.7 kB / 0.4989 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.587, allocations: 12.39 kB / 0.4989 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.587, allocations: 8 kB / 0.4989 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.5873, allocations: 73.62 kB / 0.499 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.5877, allocations: 83.89 kB / 0.499 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.5893, allocations: 1.852 MB / 0.5009 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.5896, allocations: 28.08 kB / 0.5009 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.5897, allocations: 41.12 kB / 0.5009 GB, free: 336 kB / 398.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.000184/0.5898, allocations: 157.6 kB / 0.5011 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.59, allocations: 31.66 kB / 0.5011 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009901/0.591, allocations: 436.6 kB / 0.5015 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.591, allocations: 4 kB / 0.5015 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.591, allocations: 0 / 0.5015 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006137/0.5916, allocations: 0.5591 MB / 0.5021 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.5927, allocations: 0.731 MB / 0.5028 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5927, allocations: 0 / 0.5028 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.5931, allocations: 71.89 kB / 0.5028 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-05/0.5932, allocations: 28.75 kB / 0.5029 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.5932, allocations: 15.98 kB / 0.5029 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.5944, allocations: 1.28 MB / 0.5041 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.5944, allocations: 3.984 kB / 0.5041 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.5952, allocations: 490.6 kB / 0.5046 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5953, allocations: 108.8 kB / 0.5047 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.5954, allocations: 8 kB / 0.5047 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5957, allocations: 15.98 kB / 0.5047 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.5957, allocations: 31.91 kB / 0.5048 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.5958, allocations: 35.98 kB / 0.5048 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.596, allocations: 194 kB / 0.505 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.596, allocations: 0 / 0.505 GB, free: 11.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006065/0.5966, allocations: 123.9 kB / 0.5051 GB, free: 11.68 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.0004193/0.5971, allocations: 147.1 kB / 0.5052 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.5979, allocations: 371.2 kB / 0.5056 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5979, allocations: 4 kB / 0.5056 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.5982, allocations: 234.5 kB / 0.5058 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5993, allocations: 157.5 kB / 0.506 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.6006, allocations: 0.8598 MB / 0.5068 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.601, allocations: 0.7684 MB / 0.5076 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005816/0.6016, allocations: 114.9 kB / 0.5077 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.6019, allocations: 67.41 kB / 0.5077 GB, free: 8.891 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6019, allocations: 0 / 0.5077 GB, free: 8.891 MB / 414.1 MB Notification: Performance of Templates: time 0.01564/0.6175, allocations: 8.396 MB / 0.5159 GB, free: 0.4961 MB / 414.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)