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.0054/0.0054, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001199/0.001199, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.376/1.376, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001252/0.001252, allocations: 50.77 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09021, allocations: 46.62 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4266/0.5169, allocations: 172.7 MB / 0.5332 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.5214, allocations: 3.22 MB / 0.5363 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.5218, allocations: 7.938 kB / 0.5363 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.5225, allocations: 174.9 kB / 0.5365 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.5238, allocations: 413.4 kB / 0.5369 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.5249, allocations: 351.8 kB / 0.5372 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.5262, allocations: 0.8876 MB / 0.5381 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.5264, allocations: 101.4 kB / 0.5382 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.5286, allocations: 0.8076 MB / 0.539 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.529, allocations: 267 kB / 0.5392 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.5291, allocations: 36 kB / 0.5393 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.5295, allocations: 119.9 kB / 0.5394 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.5296, allocations: 99.66 kB / 0.5395 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.5299, allocations: 179.3 kB / 0.5396 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.5306, allocations: 0.518 MB / 0.5401 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5306, allocations: 0 / 0.5401 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5306, allocations: 4 kB / 0.5401 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.5306, allocations: 0 / 0.5401 GB, free: 11.8 MB / 430.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.000922/0.5316, allocations: 0.5847 MB / 0.5407 GB, free: 11.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5316, allocations: 12.03 kB / 0.5407 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.532, allocations: 43.61 kB / 0.5408 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.5324, allocations: 290.4 kB / 0.541 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.5325, allocations: 20.56 kB / 0.5411 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.5325, allocations: 24 kB / 0.5411 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.5332, allocations: 323.6 kB / 0.5414 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5332, allocations: 3.938 kB / 0.5414 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.5332, allocations: 15.94 kB / 0.5414 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5332, allocations: 7.625 kB / 0.5414 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.5336, allocations: 213.5 kB / 0.5416 GB, free: 10.17 MB / 430.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.001978/0.5356, allocations: 1.589 MB / 0.5432 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.5359, allocations: 171.1 kB / 0.5433 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.5361, allocations: 104.8 kB / 0.5434 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.5361, allocations: 4 kB / 0.5434 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5362, allocations: 38.55 kB / 0.5435 GB, free: 8.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.5362, allocations: 0 / 0.5435 GB, free: 8.102 MB / 430.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.542, allocations: 1.607 MB / 0.5451 GB, free: 6.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.542, allocations: 55.41 kB / 0.5451 GB, free: 6.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.5423, allocations: 252.9 kB / 0.5453 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.5423, allocations: 33.7 kB / 0.5454 GB, free: 6.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5425, allocations: 176.2 kB / 0.5455 GB, free: 5.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.5426, allocations: 94.64 kB / 0.5456 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5427, allocations: 77.69 kB / 0.5457 GB, free: 5.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5428, allocations: 338.8 kB / 0.546 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.543, allocations: 91.91 kB / 0.5461 GB, free: 5.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5432, allocations: 188.4 kB / 0.5463 GB, free: 4.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.5437, allocations: 304.2 kB / 0.5466 GB, free: 4.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5437, allocations: 4 kB / 0.5466 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006681/0.5443, allocations: 402.6 kB / 0.547 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5444, allocations: 8 kB / 0.547 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5444, allocations: 4 kB / 0.547 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.5446, allocations: 74.09 kB / 0.5471 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.545, allocations: 99.2 kB / 0.5472 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.5465, allocations: 1.939 MB / 0.549 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.5467, allocations: 12 kB / 0.5491 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.5468, allocations: 35.98 kB / 0.5491 GB, free: 1.91 MB / 430.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.0001731/0.547, allocations: 157.8 kB / 0.5492 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.547, allocations: 31.72 kB / 0.5493 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.5479, allocations: 448.7 kB / 0.5497 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5479, allocations: 0 / 0.5497 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5479, allocations: 4.875 kB / 0.5497 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005399/0.5485, allocations: 0.5669 MB / 0.5503 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5495, allocations: 0.7314 MB / 0.551 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5495, allocations: 0 / 0.551 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.5498, allocations: 67.95 kB / 0.551 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.5499, allocations: 20.84 kB / 0.5511 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.55, allocations: 27.91 kB / 0.5511 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009456/0.5509, allocations: 1.379 MB / 0.5524 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5509, allocations: 0 / 0.5524 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.5516, allocations: 483 kB / 0.5529 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.5517, allocations: 104.8 kB / 0.553 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.5517, allocations: 8.125 kB / 0.553 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.552, allocations: 12 kB / 0.553 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.552, allocations: 23.97 kB / 0.553 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.5521, allocations: 27.98 kB / 0.5531 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.5523, allocations: 193.9 kB / 0.5532 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5523, allocations: 0 / 0.5532 GB, free: 13.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.5528, allocations: 120 kB / 0.5534 GB, free: 13.16 MB / 446.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.0003636/0.5531, allocations: 151.1 kB / 0.5535 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.5538, allocations: 379.2 kB / 0.5539 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5538, allocations: 0 / 0.5539 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.5541, allocations: 226.5 kB / 0.5541 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.5551, allocations: 172.2 kB / 0.5542 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.5563, allocations: 0.6953 MB / 0.5549 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.5567, allocations: 0.7645 MB / 0.5557 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.5571, allocations: 122.9 kB / 0.5558 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5573, allocations: 59.42 kB / 0.5558 GB, free: 10.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5573, allocations: 0 / 0.5558 GB, free: 10.53 MB / 446.1 MB Notification: Performance of Templates: time 0.01418/0.5715, allocations: 8.776 MB / 0.5644 GB, free: 1.734 MB / 446.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)