Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001439/0.001439, 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.001356/0.001356, allocations: 194.2 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.372/1.372, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001228/0.001228, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 46.63 MB / 325.3 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.417/0.6571, allocations: 172.7 MB / 498 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.6604, allocations: 3.208 MB / 0.4895 GB, free: 20 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.6606, allocations: 7.594 kB / 0.4895 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.6612, allocations: 169.6 kB / 0.4897 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.662, allocations: 410 kB / 0.49 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.6627, allocations: 338.7 kB / 0.4904 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008067/0.6636, allocations: 0.897 MB / 0.4912 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.6638, allocations: 103.6 kB / 0.4913 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.6656, allocations: 0.7916 MB / 0.4921 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.666, allocations: 270 kB / 0.4924 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.6661, allocations: 36.31 kB / 0.4924 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.6664, allocations: 129.2 kB / 0.4925 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.6665, allocations: 94.41 kB / 0.4926 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.6667, allocations: 180.2 kB / 0.4928 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.6673, allocations: 0.5068 MB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6673, allocations: 5.547 kB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6673, allocations: 0 / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.6673, allocations: 1.094 kB / 0.4933 GB, free: 15.91 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.0009418/0.6683, allocations: 0.5957 MB / 0.4939 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6683, allocations: 10.06 kB / 0.4939 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.6686, allocations: 39.81 kB / 0.4939 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.6691, allocations: 290.9 kB / 0.4942 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.6691, allocations: 19.41 kB / 0.4942 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.6692, allocations: 22.16 kB / 0.4942 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.6697, allocations: 327.1 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6698, allocations: 6.188 kB / 0.4946 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.6698, allocations: 9.781 kB / 0.4946 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6698, allocations: 8.281 kB / 0.4946 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.6701, allocations: 210 kB / 0.4948 GB, free: 15.11 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.672, allocations: 1.591 MB / 0.4963 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.6723, allocations: 175.2 kB / 0.4965 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.6725, allocations: 96.72 kB / 0.4966 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.6725, allocations: 9.219 kB / 0.4966 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6725, allocations: 36.31 kB / 0.4966 GB, free: 13.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.6726, allocations: 0 / 0.4966 GB, free: 13.83 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.006014/0.6786, allocations: 1.613 MB / 0.4982 GB, free: 13.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.6786, allocations: 54.81 kB / 0.4983 GB, free: 13.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.6789, allocations: 250.8 kB / 0.4985 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.679, allocations: 31.39 kB / 0.4985 GB, free: 12.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.6791, allocations: 186.9 kB / 0.4987 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.6792, allocations: 91.95 kB / 0.4988 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.6793, allocations: 87.22 kB / 0.4989 GB, free: 12.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6794, allocations: 339.6 kB / 0.4992 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.6796, allocations: 84.16 kB / 0.4993 GB, free: 12.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.6798, allocations: 192.8 kB / 0.4995 GB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.6802, allocations: 306.6 kB / 0.4998 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6802, allocations: 0 / 0.4998 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006323/0.6809, allocations: 397 kB / 0.5001 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6809, allocations: 7.312 kB / 0.5001 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6809, allocations: 6.906 kB / 0.5002 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.6811, allocations: 71.86 kB / 0.5002 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.6815, allocations: 86.05 kB / 0.5003 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.683, allocations: 1.953 MB / 0.5022 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.6832, allocations: 11.16 kB / 0.5022 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.6833, allocations: 36.81 kB / 0.5023 GB, free: 10.17 MB / 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.0001756/0.6835, allocations: 157.5 kB / 0.5024 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.6836, allocations: 30.56 kB / 0.5024 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/0.6845, allocations: 433.5 kB / 0.5029 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6845, allocations: 4.688 kB / 0.5029 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.6846, allocations: 4.656 kB / 0.5029 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006035/0.6852, allocations: 0.5617 MB / 0.5034 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6863, allocations: 0.7391 MB / 0.5041 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6863, allocations: 0 / 0.5041 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.6866, allocations: 74.52 kB / 0.5042 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.6867, allocations: 20.8 kB / 0.5042 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.6868, allocations: 14.36 kB / 0.5042 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009089/0.6877, allocations: 1.38 MB / 0.5056 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6877, allocations: 3.938 kB / 0.5056 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.6883, allocations: 478 kB / 0.506 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.6884, allocations: 102.1 kB / 0.5061 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.6885, allocations: 10.45 kB / 0.5062 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6887, allocations: 17.59 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.6888, allocations: 20.12 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6889, allocations: 34.03 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.689, allocations: 187.2 kB / 0.5064 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.689, allocations: 0 / 0.5064 GB, free: 7.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005277/0.6896, allocations: 124.1 kB / 0.5065 GB, free: 7.402 MB / 398.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.0003854/0.69, allocations: 154.3 kB / 0.5067 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.6908, allocations: 393.5 kB / 0.507 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6908, allocations: 1.203 kB / 0.507 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.6911, allocations: 229.8 kB / 0.5073 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.6921, allocations: 170.4 kB / 0.5074 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6934, allocations: 0.7063 MB / 0.5081 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6938, allocations: 0.7602 MB / 0.5089 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.6944, allocations: 118.6 kB / 0.509 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6946, allocations: 66.95 kB / 0.509 GB, free: 5.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6946, allocations: 0 / 0.509 GB, free: 5.891 MB / 398.1 MB Notification: Performance of Templates: time 0.01526/0.7098, allocations: 8.711 MB / 0.5175 GB, free: 492 kB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)