Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009078/0.009078, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001893/0.001893, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001158/0.001158, allocations: 51.14 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08473, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4027/0.4874, allocations: 172.7 MB / 0.5332 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003913/0.4914, allocations: 3.232 MB / 0.5363 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.4917, allocations: 4 kB / 0.5363 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.4923, allocations: 174.9 kB / 0.5365 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009002/0.4933, allocations: 405.4 kB / 0.5369 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.4941, allocations: 351.8 kB / 0.5372 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.495, allocations: 0.8914 MB / 0.5381 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.4952, allocations: 108.3 kB / 0.5382 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.4969, allocations: 0.7888 MB / 0.5389 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.4972, allocations: 270.9 kB / 0.5392 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.4973, allocations: 35.98 kB / 0.5392 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.4976, allocations: 127.9 kB / 0.5394 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.4977, allocations: 87.73 kB / 0.5394 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.498, allocations: 183.3 kB / 0.5396 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.4986, allocations: 0.5219 MB / 0.5401 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4986, allocations: 0 / 0.5401 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4986, allocations: 0 / 0.5401 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4986, allocations: 0 / 0.5401 GB, free: 11.82 MB / 430.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.0009215/0.4996, allocations: 0.5847 MB / 0.5407 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.4996, allocations: 8.031 kB / 0.5407 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.4999, allocations: 43.61 kB / 0.5408 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.5003, allocations: 290.4 kB / 0.541 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5003, allocations: 16.56 kB / 0.541 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.5004, allocations: 24 kB / 0.5411 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.5008, allocations: 319.7 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5009, allocations: 11.94 kB / 0.5414 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.5009, allocations: 16.55 kB / 0.5414 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.5009, allocations: 11.94 kB / 0.5414 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.5012, allocations: 197.6 kB / 0.5416 GB, free: 10.2 MB / 430.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.00169/0.5029, allocations: 1.585 MB / 0.5431 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.5032, allocations: 175.1 kB / 0.5433 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5034, allocations: 108.4 kB / 0.5434 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.5034, allocations: 7.984 kB / 0.5434 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5034, allocations: 38.56 kB / 0.5435 GB, free: 8.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 2.876e-06/0.5034, allocations: 0 / 0.5435 GB, free: 8.129 MB / 430.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.005263/0.5087, allocations: 1.615 MB / 0.545 GB, free: 6.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.5088, allocations: 59.34 kB / 0.5451 GB, free: 6.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.509, allocations: 248.9 kB / 0.5453 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.509, allocations: 29.7 kB / 0.5454 GB, free: 6.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5092, allocations: 180.2 kB / 0.5455 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.5092, allocations: 98.64 kB / 0.5456 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5094, allocations: 77.69 kB / 0.5457 GB, free: 5.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5095, allocations: 334.8 kB / 0.546 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5096, allocations: 95.95 kB / 0.5461 GB, free: 5.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5099, allocations: 183.8 kB / 0.5463 GB, free: 5.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.5103, allocations: 308.2 kB / 0.5466 GB, free: 4.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5103, allocations: 0 / 0.5466 GB, free: 4.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006365/0.5109, allocations: 406.6 kB / 0.547 GB, free: 4.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5109, allocations: 8 kB / 0.547 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.511, allocations: 0 / 0.547 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.5112, allocations: 81.05 kB / 0.5471 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.5115, allocations: 84.3 kB / 0.5471 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.5129, allocations: 1.947 MB / 0.549 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5131, allocations: 8 kB / 0.549 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.5132, allocations: 43.98 kB / 0.5491 GB, free: 1.922 MB / 430.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.0001546/0.5133, allocations: 157.6 kB / 0.5492 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.5134, allocations: 35.81 kB / 0.5493 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.5142, allocations: 436.8 kB / 0.5497 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5142, allocations: 4 kB / 0.5497 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5142, allocations: 0.875 kB / 0.5497 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000507/0.5147, allocations: 0.5552 MB / 0.5502 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5158, allocations: 0.743 MB / 0.551 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5158, allocations: 0 / 0.551 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.5161, allocations: 71.89 kB / 0.551 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/0.5162, allocations: 20.84 kB / 0.551 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.5162, allocations: 12 kB / 0.5511 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008383/0.5171, allocations: 1.39 MB / 0.5524 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5171, allocations: 0 / 0.5524 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.5178, allocations: 483 kB / 0.5529 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.5179, allocations: 104.8 kB / 0.553 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.5179, allocations: 4 kB / 0.553 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5181, allocations: 12.12 kB / 0.553 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5182, allocations: 27.97 kB / 0.553 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.5182, allocations: 31.98 kB / 0.553 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.5184, allocations: 186 kB / 0.5532 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5184, allocations: 0 / 0.5532 GB, free: 13.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.5189, allocations: 124 kB / 0.5533 GB, free: 13.19 MB / 446.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.0003635/0.5193, allocations: 151.1 kB / 0.5535 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.5199, allocations: 379.2 kB / 0.5538 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.52, allocations: 0 / 0.5538 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.5203, allocations: 230.6 kB / 0.5541 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.5213, allocations: 171.6 kB / 0.5542 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5226, allocations: 0.696 MB / 0.5549 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.523, allocations: 0.7606 MB / 0.5557 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.5235, allocations: 122.9 kB / 0.5558 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5236, allocations: 67.42 kB / 0.5558 GB, free: 10.55 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5236, allocations: 0 / 0.5558 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Templates: time 0.01409/0.5377, allocations: 8.857 MB / 0.5645 GB, free: 1.668 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)