Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0007601/0.0007604, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009303/0.0009306, allocations: 184.3 kB / 17.57 MB, free: 6.199 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.41/1.41, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004787/0.0004789, allocations: 12 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3942/0.5046, allocations: 168.4 MB / 496.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.5083, allocations: 3.194 MB / 499.9 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.5086, allocations: 7.938 kB / 499.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.5091, allocations: 131.3 kB / 0.4883 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.5099, allocations: 391.6 kB / 0.4887 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.5107, allocations: 312.2 kB / 0.489 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.5119, allocations: 1.348 MB / 0.4903 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.5121, allocations: 76.62 kB / 0.4904 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.5137, allocations: 0.7085 MB / 0.4911 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.5141, allocations: 290.8 kB / 0.4913 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.5142, allocations: 12 kB / 0.4914 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.5144, allocations: 99.88 kB / 0.4914 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.5145, allocations: 83.7 kB / 0.4915 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.5147, allocations: 193 kB / 0.4917 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.5153, allocations: 0.5023 MB / 0.4922 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5153, allocations: 4 kB / 0.4922 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5153, allocations: 0 / 0.4922 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.5153, allocations: 0 / 0.4922 GB, free: 10 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.0006963/0.516, allocations: 0.5112 MB / 0.4927 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.516, allocations: 8.031 kB / 0.4927 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.5163, allocations: 43.62 kB / 0.4928 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.5166, allocations: 286.4 kB / 0.493 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5167, allocations: 17.44 kB / 0.493 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.5167, allocations: 24 kB / 0.4931 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.5172, allocations: 319.7 kB / 0.4934 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.5172, allocations: 7.875 kB / 0.4934 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.5173, allocations: 19.94 kB / 0.4934 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5173, allocations: 11.98 kB / 0.4934 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.5176, allocations: 197.6 kB / 0.4936 GB, free: 8.457 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.001652/0.5193, allocations: 1.589 MB / 0.4951 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.5196, allocations: 168.6 kB / 0.4953 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.5197, allocations: 100.8 kB / 0.4954 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.5197, allocations: 7.984 kB / 0.4954 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5198, allocations: 34.56 kB / 0.4954 GB, free: 6.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.5198, allocations: 7.938 kB / 0.4955 GB, free: 6.387 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.005335/0.5251, allocations: 1.618 MB / 0.497 GB, free: 4.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.5252, allocations: 55.41 kB / 0.4971 GB, free: 4.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.5255, allocations: 256.8 kB / 0.4973 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.5255, allocations: 41.64 kB / 0.4974 GB, free: 4.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5257, allocations: 176.2 kB / 0.4975 GB, free: 4.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.5257, allocations: 94.64 kB / 0.4976 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.5258, allocations: 33.7 kB / 0.4977 GB, free: 3.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5259, allocations: 334.8 kB / 0.498 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.5261, allocations: 95.73 kB / 0.4981 GB, free: 3.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.5263, allocations: 183.8 kB / 0.4982 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.5267, allocations: 320.2 kB / 0.4986 GB, free: 2.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5267, allocations: 4 kB / 0.4986 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006286/0.5274, allocations: 391.1 kB / 0.4989 GB, free: 2.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5274, allocations: 8 kB / 0.4989 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5274, allocations: 4 kB / 0.4989 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.5276, allocations: 73.61 kB / 0.499 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.528, allocations: 83.91 kB / 0.4991 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.5292, allocations: 1.86 MB / 0.5009 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.5295, allocations: 20.16 kB / 0.5009 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.5295, allocations: 43.98 kB / 0.501 GB, free: 300 kB / 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.0001602/0.5297, allocations: 153.7 kB / 0.5011 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.5298, allocations: 27.66 kB / 0.5011 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.5307, allocations: 440.2 kB / 0.5016 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5308, allocations: 4 kB / 0.5016 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5308, allocations: 0 / 0.5016 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005131/0.5313, allocations: 0.563 MB / 0.5021 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.5323, allocations: 0.7271 MB / 0.5028 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5323, allocations: 0 / 0.5028 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.5326, allocations: 75.89 kB / 0.5029 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-05/0.5327, allocations: 20.75 kB / 0.5029 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5327, allocations: 19.94 kB / 0.5029 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008523/0.5336, allocations: 1.28 MB / 0.5042 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5336, allocations: 4 kB / 0.5042 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.5342, allocations: 490.7 kB / 0.5047 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.5343, allocations: 104.8 kB / 0.5048 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.5344, allocations: 8 kB / 0.5048 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5346, allocations: 23.94 kB / 0.5048 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.5347, allocations: 27.91 kB / 0.5048 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.5347, allocations: 27.98 kB / 0.5048 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.5349, allocations: 194 kB / 0.505 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5349, allocations: 0 / 0.505 GB, free: 11.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.5354, allocations: 123.9 kB / 0.5051 GB, free: 11.66 MB / 414.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.000343/0.5358, allocations: 151.1 kB / 0.5053 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.5364, allocations: 379.2 kB / 0.5057 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.5364, allocations: 0 / 0.5057 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.5367, allocations: 222.5 kB / 0.5059 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.5376, allocations: 161.9 kB / 0.506 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5388, allocations: 0.8598 MB / 0.5069 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.5392, allocations: 0.7684 MB / 0.5076 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.5397, allocations: 114.9 kB / 0.5077 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.5399, allocations: 67.41 kB / 0.5078 GB, free: 8.867 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.54, allocations: 0 / 0.5078 GB, free: 8.867 MB / 414.1 MB Notification: Performance of Templates: time 0.01363/0.5536, allocations: 8.396 MB / 0.516 GB, free: 484 kB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)