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.001509/0.001509, allocations: 112.5 kB / 15.73 MB, free: 76 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.001798/0.001798, allocations: 190.9 kB / 16.67 MB, free: 6.57 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001474/0.001474, allocations: 48.92 kB / 326.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4208/0.5251, allocations: 172.7 MB / 0.5332 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.5301, allocations: 3.224 MB / 0.5363 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.5307, allocations: 4 kB / 0.5363 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5318, allocations: 170.9 kB / 0.5365 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.5335, allocations: 421.3 kB / 0.5369 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.5348, allocations: 347.8 kB / 0.5372 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.5363, allocations: 0.8953 MB / 0.5381 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.5365, allocations: 101.2 kB / 0.5382 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.5386, allocations: 0.8054 MB / 0.539 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.5389, allocations: 267 kB / 0.5392 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.539, allocations: 28 kB / 0.5392 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.5393, allocations: 127.9 kB / 0.5394 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.5395, allocations: 95.66 kB / 0.5395 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.5397, allocations: 183.3 kB / 0.5396 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.5404, allocations: 0.5164 MB / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5404, allocations: 0 / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5404, allocations: 0 / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.5404, allocations: 0 / 0.5401 GB, free: 11.83 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.0009774/0.5414, allocations: 0.5922 MB / 0.5407 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5414, allocations: 8.031 kB / 0.5407 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.5417, allocations: 47.8 kB / 0.5408 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.5423, allocations: 290.5 kB / 0.541 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5423, allocations: 28.19 kB / 0.5411 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.5423, allocations: 24 kB / 0.5411 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.5429, allocations: 315.7 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5429, allocations: 11.88 kB / 0.5414 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.543, allocations: 12 kB / 0.5414 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.543, allocations: 8 kB / 0.5414 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.5434, allocations: 205.6 kB / 0.5416 GB, free: 10.2 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.001932/0.5453, allocations: 1.589 MB / 0.5432 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.5456, allocations: 179.1 kB / 0.5433 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.5458, allocations: 96.77 kB / 0.5434 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.5458, allocations: 7.984 kB / 0.5434 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5459, allocations: 38.56 kB / 0.5435 GB, free: 8.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.5459, allocations: 0 / 0.5435 GB, free: 8.121 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.005633/0.5515, allocations: 1.619 MB / 0.5451 GB, free: 6.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.5516, allocations: 55.41 kB / 0.5451 GB, free: 6.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.5518, allocations: 253 kB / 0.5454 GB, free: 6.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5519, allocations: 33.7 kB / 0.5454 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.552, allocations: 172.5 kB / 0.5455 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.5521, allocations: 103.2 kB / 0.5456 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5522, allocations: 85.64 kB / 0.5457 GB, free: 5.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5524, allocations: 338.8 kB / 0.5461 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5525, allocations: 87.95 kB / 0.5461 GB, free: 5.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.5528, allocations: 191.7 kB / 0.5463 GB, free: 4.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.5532, allocations: 300.2 kB / 0.5466 GB, free: 4.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5532, allocations: 4 kB / 0.5466 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006541/0.5539, allocations: 406.4 kB / 0.547 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5539, allocations: 8 kB / 0.547 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5539, allocations: 4 kB / 0.547 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.5542, allocations: 78.08 kB / 0.5471 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.5545, allocations: 83.89 kB / 0.5472 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.5561, allocations: 1.95 MB / 0.5491 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.5563, allocations: 12.03 kB / 0.5491 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.5564, allocations: 43.92 kB / 0.5491 GB, free: 1.898 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.0001917/0.5566, allocations: 153.9 kB / 0.5493 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.5567, allocations: 31.81 kB / 0.5493 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/0.5575, allocations: 432.8 kB / 0.5497 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5575, allocations: 4.875 kB / 0.5497 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5575, allocations: 4 kB / 0.5497 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005773/0.5581, allocations: 0.5669 MB / 0.5503 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5592, allocations: 0.7314 MB / 0.551 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5592, allocations: 0 / 0.551 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.5595, allocations: 71.89 kB / 0.5511 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/0.5596, allocations: 28.91 kB / 0.5511 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5597, allocations: 12 kB / 0.5511 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000938/0.5606, allocations: 1.382 MB / 0.5524 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5606, allocations: 0 / 0.5524 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.5613, allocations: 491.3 kB / 0.5529 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.5614, allocations: 100.9 kB / 0.553 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.5614, allocations: 7.984 kB / 0.553 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.5617, allocations: 8 kB / 0.553 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.5617, allocations: 27.97 kB / 0.5531 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.5618, allocations: 31.98 kB / 0.5531 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.562, allocations: 186 kB / 0.5533 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.562, allocations: 3.938 kB / 0.5533 GB, free: 13.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.5625, allocations: 127.9 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.000369/0.5629, allocations: 147.2 kB / 0.5535 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.5635, allocations: 370.4 kB / 0.5539 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5636, allocations: 0 / 0.5539 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.5639, allocations: 238.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.0009574/0.5648, allocations: 168.5 kB / 0.5543 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.566, allocations: 0.7024 MB / 0.555 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5664, allocations: 0.7606 MB / 0.5557 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.5668, allocations: 114.9 kB / 0.5558 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.567, allocations: 67.41 kB / 0.5559 GB, free: 10.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.567, allocations: 0 / 0.5559 GB, free: 10.53 MB / 446.1 MB Notification: Performance of Templates: time 0.01393/0.581, allocations: 8.772 MB / 0.5644 GB, free: 1.734 MB / 446.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)