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.006029/0.006029, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001106/0.001106, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001148/0.001148, allocations: 51.14 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09439, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4432/0.5376, allocations: 172.7 MB / 0.5332 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.5421, allocations: 3.228 MB / 0.5363 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.5425, allocations: 4 kB / 0.5363 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007621/0.5433, allocations: 178.9 kB / 0.5365 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.5444, allocations: 405.5 kB / 0.5369 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.5455, allocations: 347.8 kB / 0.5372 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.5468, allocations: 0.8953 MB / 0.5381 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.547, allocations: 104.7 kB / 0.5382 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.5494, allocations: 0.8006 MB / 0.539 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.55, allocations: 267 kB / 0.5392 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.5501, allocations: 35.94 kB / 0.5393 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.5505, allocations: 123.9 kB / 0.5394 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.5507, allocations: 95.72 kB / 0.5395 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.5509, allocations: 183.3 kB / 0.5396 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007658/0.5517, allocations: 0.5219 MB / 0.5401 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5517, allocations: 0 / 0.5401 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5517, allocations: 0 / 0.5401 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5518, allocations: 0 / 0.5401 GB, free: 11.96 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.001105/0.5529, allocations: 0.5847 MB / 0.5407 GB, free: 11.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5529, allocations: 8.031 kB / 0.5407 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.5533, allocations: 47.61 kB / 0.5408 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.5538, allocations: 290.4 kB / 0.541 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.5538, allocations: 12.56 kB / 0.5411 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.5539, allocations: 24 kB / 0.5411 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.5544, allocations: 323.7 kB / 0.5414 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5545, allocations: 7.875 kB / 0.5414 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.5545, allocations: 12 kB / 0.5414 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5545, allocations: 8 kB / 0.5414 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.5549, allocations: 205.5 kB / 0.5416 GB, free: 10.34 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.002024/0.5569, allocations: 1.593 MB / 0.5432 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.5573, allocations: 171.1 kB / 0.5433 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.5575, allocations: 96.77 kB / 0.5434 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.5576, allocations: 7.984 kB / 0.5434 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.5576, allocations: 38.55 kB / 0.5435 GB, free: 8.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.5576, allocations: 4 kB / 0.5435 GB, free: 8.27 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.005509/0.5631, allocations: 1.609 MB / 0.545 GB, free: 6.527 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.5632, allocations: 59.34 kB / 0.5451 GB, free: 6.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.5635, allocations: 260.9 kB / 0.5454 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.5635, allocations: 29.7 kB / 0.5454 GB, free: 6.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5636, allocations: 176.2 kB / 0.5455 GB, free: 5.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.5637, allocations: 94.64 kB / 0.5456 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.5638, allocations: 81.69 kB / 0.5457 GB, free: 5.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.564, allocations: 334.8 kB / 0.546 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5642, allocations: 83.97 kB / 0.5461 GB, free: 5.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5644, allocations: 191.8 kB / 0.5463 GB, free: 5.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.5648, allocations: 304.2 kB / 0.5466 GB, free: 4.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5648, allocations: 0 / 0.5466 GB, free: 4.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007279/0.5656, allocations: 410.7 kB / 0.547 GB, free: 4.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5656, allocations: 4 kB / 0.547 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5656, allocations: 4 kB / 0.547 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.5659, allocations: 81.62 kB / 0.5471 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.5662, allocations: 80.77 kB / 0.5471 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.5679, allocations: 1.955 MB / 0.5491 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5681, allocations: 8 kB / 0.5491 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.5682, allocations: 47.92 kB / 0.5491 GB, free: 2.055 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.0001712/0.5684, allocations: 157.7 kB / 0.5493 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.5684, allocations: 23.72 kB / 0.5493 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.5693, allocations: 447.6 kB / 0.5497 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5693, allocations: 4 kB / 0.5497 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5694, allocations: 0 / 0.5497 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006924/0.5701, allocations: 0.563 MB / 0.5503 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5711, allocations: 0.7353 MB / 0.551 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5711, allocations: 4 kB / 0.551 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.5714, allocations: 71.89 kB / 0.551 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.415e-05/0.5715, allocations: 20.84 kB / 0.5511 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.5716, allocations: 15.98 kB / 0.5511 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/0.5725, allocations: 1.375 MB / 0.5524 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5725, allocations: 4.188 kB / 0.5524 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.5732, allocations: 475.1 kB / 0.5529 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.5733, allocations: 108.8 kB / 0.553 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.5734, allocations: 8 kB / 0.553 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.5736, allocations: 11.94 kB / 0.553 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.5736, allocations: 24.03 kB / 0.553 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.5737, allocations: 31.98 kB / 0.5531 GB, free: 13.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.5739, allocations: 194 kB / 0.5532 GB, free: 13.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5739, allocations: 3.938 kB / 0.5532 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.5744, allocations: 116 kB / 0.5534 GB, free: 13.32 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.0003876/0.5748, allocations: 154.5 kB / 0.5535 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006951/0.5755, allocations: 379.2 kB / 0.5539 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5755, allocations: 4 kB / 0.5539 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.5758, allocations: 222.6 kB / 0.5541 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.5767, allocations: 172.2 kB / 0.5542 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.578, allocations: 0.6875 MB / 0.5549 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.5785, allocations: 0.7684 MB / 0.5557 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.579, allocations: 118.9 kB / 0.5558 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.5792, allocations: 59.42 kB / 0.5558 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5792, allocations: 4 kB / 0.5558 GB, free: 10.69 MB / 446.1 MB Notification: Performance of Templates: time 0.01537/0.5945, allocations: 8.776 MB / 0.5644 GB, free: 1.895 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)