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.00125/0.00125, allocations: 106.2 kB / 16.92 MB, free: 6.145 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.001376/0.001376, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.43/1.43, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001267/0.001267, allocations: 44.16 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09591, allocations: 46.62 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4252/0.5212, allocations: 172.8 MB / 499.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.5252, allocations: 3.205 MB / 0.4908 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.5254, allocations: 4 kB / 0.4908 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.5261, allocations: 182.9 kB / 0.491 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.527, allocations: 415.2 kB / 0.4914 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.5278, allocations: 332.7 kB / 0.4917 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.5287, allocations: 0.8992 MB / 0.4926 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.5289, allocations: 109.1 kB / 0.4927 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.5305, allocations: 0.7901 MB / 0.4935 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.5309, allocations: 266.9 kB / 0.4937 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.531, allocations: 28 kB / 0.4937 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.5313, allocations: 131.8 kB / 0.4939 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.5314, allocations: 91.73 kB / 0.4939 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.5317, allocations: 191.2 kB / 0.4941 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.5323, allocations: 0.5025 MB / 0.4946 GB, free: 3.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5323, allocations: 12 kB / 0.4946 GB, free: 3.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5323, allocations: 0 / 0.4946 GB, free: 3.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5324, allocations: 0 / 0.4946 GB, free: 3.055 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.0008923/0.5333, allocations: 0.5813 MB / 0.4952 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5333, allocations: 12.03 kB / 0.4952 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.5336, allocations: 43.61 kB / 0.4953 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.534, allocations: 294.3 kB / 0.4955 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.534, allocations: 20.56 kB / 0.4956 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.5341, allocations: 24 kB / 0.4956 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.5346, allocations: 315.7 kB / 0.4959 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5346, allocations: 3.938 kB / 0.4959 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.5347, allocations: 12 kB / 0.4959 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5347, allocations: 12 kB / 0.4959 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.535, allocations: 205.6 kB / 0.4961 GB, free: 1.438 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.001888/0.5369, allocations: 1.592 MB / 0.4977 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.5373, allocations: 175.9 kB / 0.4978 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.5374, allocations: 100.8 kB / 0.4979 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.5374, allocations: 4 kB / 0.4979 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5375, allocations: 38.56 kB / 0.498 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.5375, allocations: 0 / 0.498 GB, free: 15.36 MB / 414.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.005802/0.5433, allocations: 1.606 MB / 0.4995 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5434, allocations: 63.41 kB / 0.4996 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.5437, allocations: 252.9 kB / 0.4998 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.5437, allocations: 33.7 kB / 0.4999 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5438, allocations: 176.2 kB / 0.5 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.5439, allocations: 98.64 kB / 0.5001 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5441, allocations: 85.38 kB / 0.5002 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5442, allocations: 334.8 kB / 0.5005 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5444, allocations: 95.89 kB / 0.5006 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.5446, allocations: 191.7 kB / 0.5008 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.545, allocations: 307.7 kB / 0.5011 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.545, allocations: 4 kB / 0.5011 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006415/0.5457, allocations: 394.7 kB / 0.5015 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5457, allocations: 8 kB / 0.5015 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5457, allocations: 4 kB / 0.5015 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.546, allocations: 73.67 kB / 0.5016 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.5463, allocations: 84.3 kB / 0.5016 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.5479, allocations: 1.954 MB / 0.5035 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5482, allocations: 12.03 kB / 0.5036 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.5482, allocations: 39.98 kB / 0.5036 GB, free: 9.145 MB / 414.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.0002334/0.5485, allocations: 154.8 kB / 0.5037 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.5486, allocations: 31.62 kB / 0.5038 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009475/0.5495, allocations: 434.1 kB / 0.5042 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5495, allocations: 4 kB / 0.5042 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5495, allocations: 4 kB / 0.5042 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005506/0.5501, allocations: 0.563 MB / 0.5047 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5511, allocations: 0.7388 MB / 0.5055 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5512, allocations: 0 / 0.5055 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.5515, allocations: 71.89 kB / 0.5055 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-05/0.5515, allocations: 25.84 kB / 0.5056 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.5516, allocations: 12 kB / 0.5056 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/0.5526, allocations: 1.379 MB / 0.5069 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5526, allocations: 4 kB / 0.5069 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.5533, allocations: 485.9 kB / 0.5074 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.5534, allocations: 100.8 kB / 0.5075 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.5535, allocations: 11.98 kB / 0.5075 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5537, allocations: 8 kB / 0.5075 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.5538, allocations: 23.97 kB / 0.5075 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.5538, allocations: 31.98 kB / 0.5076 GB, free: 4.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.5541, allocations: 190 kB / 0.5077 GB, free: 4.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5541, allocations: 0 / 0.5077 GB, free: 4.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000578/0.5547, allocations: 124 kB / 0.5079 GB, free: 4.422 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.000432/0.5551, allocations: 155 kB / 0.508 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.5558, allocations: 395 kB / 0.5084 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5558, allocations: 3.938 kB / 0.5084 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.5561, allocations: 219.3 kB / 0.5086 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/0.5571, allocations: 180.5 kB / 0.5088 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.5584, allocations: 0.6947 MB / 0.5094 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5587, allocations: 0.7606 MB / 0.5102 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.5593, allocations: 118.9 kB / 0.5103 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5595, allocations: 59.42 kB / 0.5104 GB, free: 1.773 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5595, allocations: 0 / 0.5104 GB, free: 1.773 MB / 414.1 MB Notification: Performance of Templates: time 0.01549/0.575, allocations: 8.714 MB / 0.5189 GB, free: 9.051 MB / 430.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)