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.00106/0.00106, allocations: 95.2 kB / 16.3 MB, free: 5.566 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.0009449/0.0009449, allocations: 180.1 kB / 17.2 MB, free: 5.5 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.429/1.429, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004615/0.0004615, allocations: 11.28 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09821, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3832/0.4815, allocations: 137.2 MB / 464.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.4847, allocations: 1.94 MB / 466.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.4851, allocations: 0 / 466.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.4858, allocations: 143.4 kB / 467 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.4866, allocations: 279.1 kB / 467.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.4875, allocations: 274.3 kB / 467.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.4882, allocations: 487 kB / 468 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.4884, allocations: 77.17 kB / 468.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009123/0.4893, allocations: 426.9 kB / 468.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.4896, allocations: 179.3 kB / 468.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.4897, allocations: 16 kB / 468.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.49, allocations: 103.8 kB / 468.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4901, allocations: 75.78 kB / 468.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.4902, allocations: 89.58 kB / 469 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.4908, allocations: 393.7 kB / 469.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.4908, allocations: 3.938 kB / 469.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4908, allocations: 0 / 469.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4908, allocations: 4 kB / 469.4 MB, free: 11.09 MB / 366.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.0008616/0.4917, allocations: 0.5229 MB / 469.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4918, allocations: 12.03 kB / 469.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.4921, allocations: 43.61 kB / 470 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4925, allocations: 266.6 kB / 470.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.4925, allocations: 16.56 kB / 470.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.4926, allocations: 27.91 kB / 470.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4931, allocations: 315.7 kB / 470.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4931, allocations: 0 / 470.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4932, allocations: 12 kB / 470.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4932, allocations: 11.95 kB / 470.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4937, allocations: 205.6 kB / 470.8 MB, free: 9.559 MB / 366.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.002228/0.496, allocations: 1.566 MB / 472.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4963, allocations: 178.7 kB / 472.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.4963, allocations: 7.984 kB / 472.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4964, allocations: 30.56 kB / 472.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 3.867e-06/0.4964, allocations: 0 / 472.6 MB, free: 7.613 MB / 366.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.006042/0.5024, allocations: 1.635 MB / 474.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.5025, allocations: 55.41 kB / 474.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.5028, allocations: 256.8 kB / 474.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.5029, allocations: 29.7 kB / 474.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.5031, allocations: 176.3 kB / 474.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.5032, allocations: 98.5 kB / 474.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.5032, allocations: 8 kB / 474.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.5034, allocations: 338.8 kB / 475.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.5036, allocations: 87.73 kB / 475.2 MB, free: 4.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.5039, allocations: 191.7 kB / 475.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.5042, allocations: 112 kB / 475.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5042, allocations: 0 / 475.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006862/0.5049, allocations: 394.7 kB / 475.9 MB, free: 4.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5049, allocations: 8.406 kB / 475.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5051, allocations: 4 kB / 475.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.5053, allocations: 81.58 kB / 476 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.5057, allocations: 79.89 kB / 476.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.5076, allocations: 1.864 MB / 477.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.5079, allocations: 24.17 kB / 478 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.508, allocations: 43.94 kB / 478 MB, free: 1.777 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.5082, allocations: 157.7 kB / 478.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.5083, allocations: 27.72 kB / 478.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.5093, allocations: 442.3 kB / 478.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5094, allocations: 4 kB / 478.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.5094, allocations: 0 / 478.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008166/0.5102, allocations: 0.5668 MB / 479.2 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5113, allocations: 0.7194 MB / 479.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5113, allocations: 3.953 kB / 479.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.5116, allocations: 76.77 kB / 480 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.045e-05/0.5117, allocations: 20.78 kB / 480 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.5117, allocations: 16 kB / 480 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00098/0.5127, allocations: 1.288 MB / 481.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5128, allocations: 4.031 kB / 481.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.5134, allocations: 0.498 MB / 481.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.5135, allocations: 100.8 kB / 481.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.5136, allocations: 11.98 kB / 481.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.5138, allocations: 16.06 kB / 481.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.5139, allocations: 27.92 kB / 482 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.514, allocations: 27.98 kB / 482 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.5142, allocations: 190 kB / 482.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5142, allocations: 0 / 482.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.5147, allocations: 120 kB / 482.3 MB, free: 13.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.5151, allocations: 155 kB / 482.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.5158, allocations: 371.5 kB / 482.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5158, allocations: 0 / 482.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.5162, allocations: 226.5 kB / 483 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.5171, allocations: 158.4 kB / 483.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5186, allocations: 0.8363 MB / 484 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.5193, allocations: 0.7723 MB / 484.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.5204, allocations: 114.9 kB / 484.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.5207, allocations: 63.42 kB / 485 MB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5207, allocations: 0 / 485 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02073/0.5415, allocations: 8.269 MB / 493.2 MB, free: 2.086 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: