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.001387/0.001387, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001669/0.001669, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.342/1.342, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001233/0.001233, allocations: 51.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08776, allocations: 46.62 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.316/0.4038, allocations: 170.4 MB / 496.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.4074, allocations: 3.198 MB / 499.8 MB, free: 9.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.4076, allocations: 4 kB / 499.8 MB, free: 9.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.4082, allocations: 151.2 kB / 499.9 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007578/0.4089, allocations: 379.7 kB / 0.4886 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.4097, allocations: 320.2 kB / 0.4889 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.4105, allocations: 0.8991 MB / 0.4898 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.4107, allocations: 97.14 kB / 0.4899 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.4122, allocations: 0.7714 MB / 0.4906 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.4125, allocations: 286.9 kB / 0.4909 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.4126, allocations: 32 kB / 0.4909 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.4129, allocations: 131.8 kB / 0.491 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.413, allocations: 95.77 kB / 0.4911 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.4132, allocations: 183.3 kB / 0.4913 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.4137, allocations: 0.518 MB / 0.4918 GB, free: 5.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4137, allocations: 0 / 0.4918 GB, free: 5.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4137, allocations: 0 / 0.4918 GB, free: 5.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4137, allocations: 7.938 kB / 0.4918 GB, free: 5.859 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.0007735/0.4145, allocations: 0.5892 MB / 0.4924 GB, free: 5.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.4145, allocations: 8.031 kB / 0.4924 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.4148, allocations: 47.61 kB / 0.4924 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4152, allocations: 286.4 kB / 0.4927 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4152, allocations: 20.56 kB / 0.4927 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.4152, allocations: 24 kB / 0.4928 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.4157, allocations: 319.7 kB / 0.4931 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4157, allocations: 3.938 kB / 0.4931 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.4158, allocations: 12 kB / 0.4931 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4158, allocations: 8 kB / 0.4931 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.4161, allocations: 205.5 kB / 0.4933 GB, free: 4.238 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.001643/0.4178, allocations: 1.585 MB / 0.4948 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.4181, allocations: 176.1 kB / 0.495 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.4182, allocations: 96.77 kB / 0.4951 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4182, allocations: 4 kB / 0.4951 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4183, allocations: 39.44 kB / 0.4951 GB, free: 2.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.4183, allocations: 0 / 0.4951 GB, free: 2.176 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.005547/0.4238, allocations: 1.626 MB / 0.4967 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4239, allocations: 63.34 kB / 0.4968 GB, free: 356 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4241, allocations: 248.9 kB / 0.497 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4242, allocations: 29.7 kB / 0.497 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4243, allocations: 176.2 kB / 0.4972 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.4244, allocations: 110.6 kB / 0.4973 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4245, allocations: 85.38 kB / 0.4974 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4246, allocations: 334.8 kB / 0.4977 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4248, allocations: 87.97 kB / 0.4978 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.425, allocations: 187.8 kB / 0.498 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.4254, allocations: 307.8 kB / 0.4983 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4254, allocations: 0 / 0.4983 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006054/0.426, allocations: 394.7 kB / 0.4987 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4261, allocations: 8.406 kB / 0.4987 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4261, allocations: 4 kB / 0.4987 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.4263, allocations: 73.62 kB / 0.4987 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.4266, allocations: 83.89 kB / 0.4988 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.428, allocations: 1.954 MB / 0.5007 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.4282, allocations: 23.89 kB / 0.5008 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.4283, allocations: 43.98 kB / 0.5008 GB, free: 11.93 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.0001596/0.4285, allocations: 162.3 kB / 0.5009 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.4286, allocations: 27.81 kB / 0.501 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.4295, allocations: 434.1 kB / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4295, allocations: 4 kB / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4295, allocations: 0 / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005303/0.43, allocations: 0.563 MB / 0.5019 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.431, allocations: 0.7282 MB / 0.5027 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.431, allocations: 4 kB / 0.5027 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.4314, allocations: 67.89 kB / 0.5027 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.042e-05/0.4314, allocations: 24.91 kB / 0.5027 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.4315, allocations: 12 kB / 0.5028 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008809/0.4324, allocations: 1.383 MB / 0.5041 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4324, allocations: 8.031 kB / 0.5041 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.433, allocations: 478.7 kB / 0.5046 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.4331, allocations: 104.7 kB / 0.5047 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.4332, allocations: 11.98 kB / 0.5047 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4334, allocations: 12 kB / 0.5047 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.4335, allocations: 27.91 kB / 0.5047 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.4336, allocations: 35.92 kB / 0.5048 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4337, allocations: 194 kB / 0.5049 GB, free: 7.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4337, allocations: 0 / 0.5049 GB, free: 7.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.4342, allocations: 127.9 kB / 0.5051 GB, free: 7.199 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.0003499/0.4346, allocations: 151.1 kB / 0.5052 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.4353, allocations: 390.3 kB / 0.5056 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4353, allocations: 0 / 0.5056 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.4356, allocations: 227.3 kB / 0.5058 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.4365, allocations: 176.2 kB / 0.506 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.4377, allocations: 0.7952 MB / 0.5067 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4381, allocations: 0.7606 MB / 0.5075 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000559/0.4387, allocations: 122.9 kB / 0.5076 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.4389, allocations: 63.41 kB / 0.5077 GB, free: 4.449 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4389, allocations: 0 / 0.5077 GB, free: 4.449 MB / 414.1 MB Notification: Performance of Templates: time 0.01334/0.4522, allocations: 8.68 MB / 0.5161 GB, free: 11.76 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)