Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007373/0.007373, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001336/0.001336, allocations: 193.7 kB / 16.67 MB, free: 5.52 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001328/0.001328, allocations: 52.16 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 46.62 MB / 373.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4499/0.5612, allocations: 172.7 MB / 0.5331 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.565, allocations: 3.223 MB / 0.5363 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.5653, allocations: 7.938 kB / 0.5363 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.5659, allocations: 171 kB / 0.5364 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.5669, allocations: 407.2 kB / 0.5368 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.5678, allocations: 341 kB / 0.5372 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.5688, allocations: 0.8954 MB / 0.538 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.5691, allocations: 100.7 kB / 0.5381 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.5713, allocations: 0.8079 MB / 0.5389 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.5717, allocations: 274.9 kB / 0.5392 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.5717, allocations: 32 kB / 0.5392 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.5721, allocations: 123.9 kB / 0.5393 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.5723, allocations: 95.7 kB / 0.5394 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.5725, allocations: 183.3 kB / 0.5396 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000694/0.5732, allocations: 0.5141 MB / 0.5401 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5732, allocations: 0 / 0.5401 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5732, allocations: 0 / 0.5401 GB, free: 11.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.5732, allocations: 0 / 0.5401 GB, free: 11.17 MB / 478.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.0008868/0.5741, allocations: 0.5892 MB / 0.5407 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5742, allocations: 12.03 kB / 0.5407 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.5745, allocations: 47.61 kB / 0.5407 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5749, allocations: 286.4 kB / 0.541 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.575, allocations: 16.56 kB / 0.541 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.575, allocations: 24 kB / 0.541 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.5755, allocations: 324.5 kB / 0.5413 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5755, allocations: 3.938 kB / 0.5413 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5756, allocations: 12 kB / 0.5414 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5756, allocations: 8 kB / 0.5414 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.5759, allocations: 213.4 kB / 0.5416 GB, free: 9.543 MB / 478.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.001732/0.5776, allocations: 1.589 MB / 0.5431 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.5779, allocations: 171.1 kB / 0.5433 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5781, allocations: 100.8 kB / 0.5434 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.5781, allocations: 12 kB / 0.5434 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5782, allocations: 35.25 kB / 0.5434 GB, free: 7.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.5782, allocations: 0 / 0.5434 GB, free: 7.473 MB / 478.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.005404/0.5836, allocations: 1.605 MB / 0.545 GB, free: 5.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5837, allocations: 59.41 kB / 0.5451 GB, free: 5.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.5839, allocations: 256.9 kB / 0.5453 GB, free: 5.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.584, allocations: 29.7 kB / 0.5453 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.5841, allocations: 184.1 kB / 0.5455 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.5842, allocations: 90.66 kB / 0.5456 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.5843, allocations: 81.69 kB / 0.5457 GB, free: 5.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5845, allocations: 334.8 kB / 0.546 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5846, allocations: 92.58 kB / 0.5461 GB, free: 4.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.5848, allocations: 191.8 kB / 0.5463 GB, free: 4.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.5852, allocations: 304.2 kB / 0.5465 GB, free: 4.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5853, allocations: 0 / 0.5465 GB, free: 4.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006312/0.5859, allocations: 406.6 kB / 0.5469 GB, free: 3.602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5859, allocations: 4 kB / 0.5469 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5859, allocations: 4 kB / 0.5469 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.5862, allocations: 80.3 kB / 0.547 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.5865, allocations: 84.23 kB / 0.5471 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.5879, allocations: 1.954 MB / 0.549 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5881, allocations: 8 kB / 0.549 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.5882, allocations: 43.98 kB / 0.5491 GB, free: 1.262 MB / 478.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.0001739/0.5884, allocations: 158.4 kB / 0.5492 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.5885, allocations: 23.72 kB / 0.5492 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.5893, allocations: 440.5 kB / 0.5497 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5893, allocations: 4 kB / 0.5497 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5893, allocations: 0 / 0.5497 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2332/0.8225, allocations: 0.5631 MB / 0.5502 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.8238, allocations: 0.7338 MB / 0.5509 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8238, allocations: 1.375 kB / 0.5509 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.8242, allocations: 73.89 kB / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.8243, allocations: 21.02 kB / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.8243, allocations: 17.23 kB / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006853/0.825, allocations: 1.371 MB / 0.5524 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.825, allocations: 3.156 kB / 0.5524 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.8257, allocations: 483.8 kB / 0.5528 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.8257, allocations: 101.2 kB / 0.5529 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.8258, allocations: 6.297 kB / 0.5529 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.826, allocations: 10.69 kB / 0.5529 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.8261, allocations: 27.84 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.8262, allocations: 27.77 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.8264, allocations: 192.7 kB / 0.5532 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8264, allocations: 0 / 0.5532 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005968/0.827, allocations: 124.9 kB / 0.5533 GB, free: 168.6 MB / 478.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.0003936/0.8274, allocations: 147.8 kB / 0.5534 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.8282, allocations: 378.2 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8282, allocations: 1.125 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.8285, allocations: 233.9 kB / 0.554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.8295, allocations: 176.8 kB / 0.5542 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8306, allocations: 0.6853 MB / 0.5549 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.8308, allocations: 0.765 MB / 0.5556 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.8312, allocations: 123.5 kB / 0.5557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.8314, allocations: 69.39 kB / 0.5558 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.8314, allocations: 0 / 0.5558 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.0157/0.8471, allocations: 8.775 MB / 0.5644 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)