Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 152 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.001376/0.001376, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001184/0.001185, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4343/0.6887, allocations: 172.7 MB / 498.1 MB, free: 96 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.6929, allocations: 3.21 MB / 0.4895 GB, free: 0 / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.6932, allocations: 5.156 kB / 0.4895 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.6939, allocations: 168.8 kB / 0.4897 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000924/0.6949, allocations: 408.8 kB / 0.4901 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.6957, allocations: 353.4 kB / 0.4904 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.6966, allocations: 0.8923 MB / 0.4913 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.6968, allocations: 109 kB / 0.4914 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.6988, allocations: 0.7859 MB / 0.4922 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.6993, allocations: 272.3 kB / 0.4924 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.6993, allocations: 28.88 kB / 0.4925 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.6997, allocations: 125.2 kB / 0.4926 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.6999, allocations: 100.9 kB / 0.4927 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.7001, allocations: 184.7 kB / 0.4928 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.7008, allocations: 0.5122 MB / 0.4933 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.7008, allocations: 2.75 kB / 0.4933 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7008, allocations: 0 / 0.4933 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.7008, allocations: 0 / 0.4933 GB, free: 15.88 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.0009707/0.7018, allocations: 0.5792 MB / 0.4939 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.7018, allocations: 16.53 kB / 0.4939 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.7022, allocations: 43.27 kB / 0.494 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.7026, allocations: 291 kB / 0.4942 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.7026, allocations: 19.11 kB / 0.4943 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.7027, allocations: 25.86 kB / 0.4943 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.7032, allocations: 318.6 kB / 0.4946 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.7033, allocations: 6.25 kB / 0.4946 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.7033, allocations: 13.06 kB / 0.4946 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.7033, allocations: 6.031 kB / 0.4946 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.7037, allocations: 203.9 kB / 0.4948 GB, free: 15.09 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.001952/0.7057, allocations: 1.594 MB / 0.4964 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.706, allocations: 167.6 kB / 0.4965 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.7061, allocations: 107.7 kB / 0.4966 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7062, allocations: 4.922 kB / 0.4966 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.7062, allocations: 34.06 kB / 0.4967 GB, free: 13.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.7062, allocations: 0 / 0.4967 GB, free: 13.82 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.005801/0.712, allocations: 1.624 MB / 0.4983 GB, free: 13.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.7121, allocations: 54.78 kB / 0.4983 GB, free: 13.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.7124, allocations: 250.8 kB / 0.4985 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.7124, allocations: 32.23 kB / 0.4986 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.7126, allocations: 176.9 kB / 0.4987 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.7126, allocations: 94.59 kB / 0.4988 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.7128, allocations: 93.7 kB / 0.4989 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.713, allocations: 333.2 kB / 0.4992 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.7132, allocations: 89.83 kB / 0.4993 GB, free: 12.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.7134, allocations: 191.8 kB / 0.4995 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.7139, allocations: 301.1 kB / 0.4998 GB, free: 12.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.714, allocations: 2.125 kB / 0.4998 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006792/0.7146, allocations: 397.9 kB / 0.5002 GB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.7147, allocations: 8.344 kB / 0.5002 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7147, allocations: 3.562 kB / 0.5002 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.7149, allocations: 76.11 kB / 0.5003 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.7153, allocations: 86.83 kB / 0.5003 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.7171, allocations: 1.945 MB / 0.5022 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.7173, allocations: 12.28 kB / 0.5023 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.7173, allocations: 42.03 kB / 0.5023 GB, free: 10.15 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.7175, allocations: 161.4 kB / 0.5025 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.7176, allocations: 34.56 kB / 0.5025 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.7185, allocations: 441.6 kB / 0.5029 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7186, allocations: 3.016 kB / 0.5029 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7186, allocations: 3 kB / 0.5029 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005776/0.7192, allocations: 0.5621 MB / 0.5035 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.7203, allocations: 0.7362 MB / 0.5042 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7203, allocations: 0 / 0.5042 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.7206, allocations: 72.22 kB / 0.5042 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.7207, allocations: 20.53 kB / 0.5043 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.7207, allocations: 12.17 kB / 0.5043 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.7217, allocations: 1.381 MB / 0.5056 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7218, allocations: 1.359 kB / 0.5056 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.7225, allocations: 483.5 kB / 0.5061 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.7225, allocations: 101.9 kB / 0.5062 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.7226, allocations: 6 kB / 0.5062 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.7228, allocations: 9.906 kB / 0.5062 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.7229, allocations: 30.5 kB / 0.5062 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.723, allocations: 33.2 kB / 0.5063 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.7231, allocations: 189.2 kB / 0.5064 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7231, allocations: 0 / 0.5064 GB, free: 7.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.7237, allocations: 123.9 kB / 0.5066 GB, free: 7.379 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.0004553/0.7241, allocations: 147.2 kB / 0.5067 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006847/0.7248, allocations: 393.5 kB / 0.5071 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7248, allocations: 4 kB / 0.5071 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.7251, allocations: 229.2 kB / 0.5073 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.7261, allocations: 171.3 kB / 0.5075 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.7274, allocations: 0.7044 MB / 0.5082 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.7278, allocations: 0.762 MB / 0.5089 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.7283, allocations: 115.2 kB / 0.509 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.7285, allocations: 68.2 kB / 0.5091 GB, free: 5.871 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7286, allocations: 0 / 0.5091 GB, free: 5.871 MB / 398.1 MB Notification: Performance of Templates: time 0.01411/0.7427, allocations: 8.708 MB / 0.5176 GB, free: 444 kB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)