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.00599/0.00599, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001642/0.001642, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001255/0.001255, allocations: 51.94 kB / 326.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09523, allocations: 46.62 MB / 373.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4145/0.5098, allocations: 172.8 MB / 0.5332 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.5139, allocations: 3.217 MB / 0.5363 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.5141, allocations: 11.94 kB / 0.5363 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.5147, allocations: 174.9 kB / 0.5365 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.5155, allocations: 401.8 kB / 0.5369 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.5164, allocations: 341.1 kB / 0.5372 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009223/0.5173, allocations: 0.8915 MB / 0.5381 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.5175, allocations: 108.6 kB / 0.5382 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.5191, allocations: 0.7951 MB / 0.5389 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.5195, allocations: 270.9 kB / 0.5392 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.5196, allocations: 32 kB / 0.5392 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.5199, allocations: 123.8 kB / 0.5394 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.52, allocations: 95.77 kB / 0.5394 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.5202, allocations: 187.2 kB / 0.5396 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.5208, allocations: 0.5178 MB / 0.5401 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5208, allocations: 0 / 0.5401 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5208, allocations: 0 / 0.5401 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.5209, allocations: 3.938 kB / 0.5401 GB, free: 11.15 MB / 478.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.0008504/0.5217, allocations: 0.5921 MB / 0.5407 GB, free: 10.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5218, allocations: 12.03 kB / 0.5407 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.5221, allocations: 51.73 kB / 0.5408 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.5225, allocations: 286.6 kB / 0.541 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5226, allocations: 20.56 kB / 0.5411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.5226, allocations: 24 kB / 0.5411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.5231, allocations: 319.7 kB / 0.5414 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5231, allocations: 3.938 kB / 0.5414 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.5232, allocations: 12 kB / 0.5414 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.5232, allocations: 8 kB / 0.5414 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.5235, allocations: 205.5 kB / 0.5416 GB, free: 9.523 MB / 478.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.001829/0.5254, allocations: 1.593 MB / 0.5432 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.5257, allocations: 175.1 kB / 0.5433 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.5259, allocations: 96.77 kB / 0.5434 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.5259, allocations: 4 kB / 0.5434 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.526, allocations: 38.55 kB / 0.5435 GB, free: 7.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.526, allocations: 0 / 0.5435 GB, free: 7.453 MB / 478.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.005443/0.5314, allocations: 1.623 MB / 0.545 GB, free: 5.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.5315, allocations: 55.41 kB / 0.5451 GB, free: 5.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.5317, allocations: 264.8 kB / 0.5454 GB, free: 5.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.5318, allocations: 33.7 kB / 0.5454 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5319, allocations: 176.5 kB / 0.5456 GB, free: 5.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.532, allocations: 99.12 kB / 0.5457 GB, free: 5.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.5321, allocations: 81.69 kB / 0.5457 GB, free: 4.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5322, allocations: 334.8 kB / 0.546 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5324, allocations: 87.95 kB / 0.5461 GB, free: 4.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5327, allocations: 183.8 kB / 0.5463 GB, free: 4.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.5331, allocations: 312.2 kB / 0.5466 GB, free: 3.973 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5331, allocations: 0 / 0.5466 GB, free: 3.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006753/0.5338, allocations: 403.1 kB / 0.547 GB, free: 3.566 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5338, allocations: 11.28 kB / 0.547 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5339, allocations: 4 kB / 0.547 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.5341, allocations: 73.67 kB / 0.5471 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.5345, allocations: 87.83 kB / 0.5472 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.536, allocations: 1.964 MB / 0.5491 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.5362, allocations: 8 kB / 0.5491 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5363, allocations: 36 kB / 0.5491 GB, free: 1.223 MB / 478.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.0001664/0.5365, allocations: 166.4 kB / 0.5493 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.5365, allocations: 27.81 kB / 0.5493 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.5374, allocations: 434.1 kB / 0.5497 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5374, allocations: 11.92 kB / 0.5497 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.5374, allocations: 0 / 0.5497 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2016/0.739, allocations: 0.5622 MB / 0.5503 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7403, allocations: 0.7327 MB / 0.551 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7404, allocations: 0 / 0.551 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.7407, allocations: 73.81 kB / 0.5511 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.7408, allocations: 21.42 kB / 0.5511 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.7409, allocations: 12.02 kB / 0.5511 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006692/0.7415, allocations: 1.377 MB / 0.5524 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7415, allocations: 2.078 kB / 0.5524 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.7422, allocations: 483.9 kB / 0.5529 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.7422, allocations: 101.7 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.7423, allocations: 8.5 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.7425, allocations: 14.06 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.7426, allocations: 21.58 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.7427, allocations: 31.84 kB / 0.5531 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.7429, allocations: 192.4 kB / 0.5533 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7429, allocations: 0.5938 kB / 0.5533 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006539/0.7436, allocations: 121.1 kB / 0.5534 GB, free: 168.7 MB / 478.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.0004187/0.744, allocations: 154.2 kB / 0.5535 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008891/0.7449, allocations: 379.2 kB / 0.5539 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7449, allocations: 0 / 0.5539 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.7453, allocations: 232.3 kB / 0.5541 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.7463, allocations: 167 kB / 0.5543 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.7477, allocations: 0.6906 MB / 0.5549 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.748, allocations: 0.7706 MB / 0.5557 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.7484, allocations: 123.6 kB / 0.5558 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.7486, allocations: 63.22 kB / 0.5559 GB, free: 167.4 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7486, allocations: 1.969 kB / 0.5559 GB, free: 167.4 MB / 478.1 MB Notification: Performance of Templates: time 0.01687/0.7655, allocations: 8.775 MB / 0.5644 GB, free: 165.7 MB / 478.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)