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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 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.00117/0.00117, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.00117/0.00117, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1906, 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.3609/0.5516, allocations: 172.7 MB / 498.1 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.5547, allocations: 3.219 MB / 0.4895 GB, free: 20 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.555, allocations: 5.438 kB / 0.4895 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.5556, allocations: 169.7 kB / 0.4897 GB, free: 12 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000769/0.5564, allocations: 410.5 kB / 0.4901 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.5571, allocations: 341.8 kB / 0.4904 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006436/0.5577, allocations: 0.8972 MB / 0.4913 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.5579, allocations: 113.2 kB / 0.4914 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.5593, allocations: 0.7848 MB / 0.4922 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.5597, allocations: 271.7 kB / 0.4924 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.5597, allocations: 31.94 kB / 0.4925 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.56, allocations: 122.4 kB / 0.4926 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.5602, allocations: 95.36 kB / 0.4927 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.5604, allocations: 188.4 kB / 0.4928 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.5608, allocations: 0.5076 MB / 0.4933 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5609, allocations: 4 kB / 0.4933 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5609, allocations: 0 / 0.4933 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5609, allocations: 0 / 0.4933 GB, free: 15.9 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.0007445/0.5616, allocations: 0.5845 MB / 0.4939 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.5617, allocations: 8 kB / 0.4939 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.562, allocations: 46.39 kB / 0.494 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5623, allocations: 291.1 kB / 0.4942 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5623, allocations: 20.97 kB / 0.4943 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.5624, allocations: 27.72 kB / 0.4943 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.5628, allocations: 314.7 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5628, allocations: 3.938 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.5629, allocations: 15.88 kB / 0.4946 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5629, allocations: 5.562 kB / 0.4946 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.5632, allocations: 211.4 kB / 0.4948 GB, free: 15.11 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.001675/0.5649, allocations: 1.592 MB / 0.4964 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.5651, allocations: 173.2 kB / 0.4965 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.5653, allocations: 105.6 kB / 0.4966 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.5653, allocations: 7.859 kB / 0.4966 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5654, allocations: 37.44 kB / 0.4967 GB, free: 13.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.5654, allocations: 0 / 0.4967 GB, free: 13.83 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.005491/0.5709, allocations: 1.621 MB / 0.4983 GB, free: 13.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.5709, allocations: 55 kB / 0.4983 GB, free: 13.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.5711, allocations: 247.9 kB / 0.4986 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5712, allocations: 31.08 kB / 0.4986 GB, free: 12.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5713, allocations: 179.7 kB / 0.4988 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.5714, allocations: 98.5 kB / 0.4988 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5715, allocations: 85.2 kB / 0.4989 GB, free: 12.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5716, allocations: 336.3 kB / 0.4993 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5718, allocations: 92.2 kB / 0.4993 GB, free: 12.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.572, allocations: 186.9 kB / 0.4995 GB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.5723, allocations: 305 kB / 0.4998 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5723, allocations: 1.203 kB / 0.4998 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005652/0.5729, allocations: 399.7 kB / 0.5002 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5729, allocations: 6.406 kB / 0.5002 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.573, allocations: 5.375 kB / 0.5002 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.5732, allocations: 69.39 kB / 0.5003 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.5735, allocations: 90.22 kB / 0.5004 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5749, allocations: 1.946 MB / 0.5023 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.5751, allocations: 12.41 kB / 0.5023 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.5752, allocations: 39.84 kB / 0.5023 GB, free: 10.17 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.0001536/0.5754, allocations: 158.8 kB / 0.5025 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.5754, allocations: 30.44 kB / 0.5025 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/0.5763, allocations: 443.7 kB / 0.5029 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5764, allocations: 6.25 kB / 0.5029 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5764, allocations: 1.594 kB / 0.5029 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004973/0.5769, allocations: 0.5613 MB / 0.5035 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.5778, allocations: 0.7284 MB / 0.5042 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5778, allocations: 0 / 0.5042 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.5781, allocations: 74.14 kB / 0.5042 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-05/0.5782, allocations: 22.55 kB / 0.5043 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5782, allocations: 13.08 kB / 0.5043 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/0.5792, allocations: 1.38 MB / 0.5056 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5792, allocations: 8.031 kB / 0.5056 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.5798, allocations: 480.4 kB / 0.5061 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.5799, allocations: 102.2 kB / 0.5062 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.58, allocations: 11.39 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.5802, allocations: 6.094 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.5803, allocations: 28.69 kB / 0.5062 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.5803, allocations: 30.58 kB / 0.5063 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.5805, allocations: 193.2 kB / 0.5064 GB, free: 7.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5805, allocations: 1.203 kB / 0.5064 GB, free: 7.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.5811, allocations: 128.4 kB / 0.5066 GB, free: 7.395 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.0003981/0.5815, allocations: 148.9 kB / 0.5067 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.5822, allocations: 391.5 kB / 0.5071 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5822, allocations: 0 / 0.5071 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.5825, allocations: 229.9 kB / 0.5073 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.5834, allocations: 167.6 kB / 0.5075 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5845, allocations: 0.6982 MB / 0.5081 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5849, allocations: 0.7621 MB / 0.5089 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.5854, allocations: 118.4 kB / 0.509 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.5857, allocations: 65.59 kB / 0.5091 GB, free: 5.895 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5857, allocations: 0 / 0.5091 GB, free: 5.895 MB / 398.1 MB Notification: Performance of Templates: time 0.01343/0.5991, allocations: 8.702 MB / 0.5176 GB, free: 464 kB / 398.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)