Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005047/0.005048, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001161/0.001161, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001215/0.001215, allocations: 46.25 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5638/0.6872, allocations: 172.7 MB / 0.5332 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.6934, allocations: 3.232 MB / 0.5363 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.6938, allocations: 4 kB / 0.5363 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.6947, allocations: 174.9 kB / 0.5365 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6963, allocations: 417.4 kB / 0.5369 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.6973, allocations: 343.8 kB / 0.5372 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.6984, allocations: 0.8953 MB / 0.5381 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.6986, allocations: 104.7 kB / 0.5382 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.7007, allocations: 0.8054 MB / 0.539 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.7011, allocations: 267 kB / 0.5392 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.7012, allocations: 32 kB / 0.5393 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.7015, allocations: 119.9 kB / 0.5394 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.7016, allocations: 95.72 kB / 0.5395 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.7018, allocations: 187.2 kB / 0.5396 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.7026, allocations: 0.5125 MB / 0.5401 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7026, allocations: 8 kB / 0.5402 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7026, allocations: 0 / 0.5402 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.7026, allocations: 0 / 0.5402 GB, free: 11.81 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.001177/0.7038, allocations: 0.5883 MB / 0.5407 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7039, allocations: 12.03 kB / 0.5407 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.7042, allocations: 39.81 kB / 0.5408 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.7048, allocations: 294.5 kB / 0.5411 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.7048, allocations: 21.56 kB / 0.5411 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.7049, allocations: 27.94 kB / 0.5411 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.7054, allocations: 315.7 kB / 0.5414 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7054, allocations: 11.81 kB / 0.5414 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.7054, allocations: 12 kB / 0.5414 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.7055, allocations: 4 kB / 0.5414 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.7058, allocations: 205.6 kB / 0.5416 GB, free: 10.18 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.002481/0.7083, allocations: 1.597 MB / 0.5432 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.7086, allocations: 175.2 kB / 0.5434 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.7088, allocations: 96.77 kB / 0.5434 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.7089, allocations: 7.984 kB / 0.5435 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.7089, allocations: 38.12 kB / 0.5435 GB, free: 8.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 2.215e-06/0.7089, allocations: 4 kB / 0.5435 GB, free: 8.105 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.005612/0.7145, allocations: 1.615 MB / 0.5451 GB, free: 6.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.7146, allocations: 55.41 kB / 0.5451 GB, free: 6.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.7149, allocations: 253 kB / 0.5454 GB, free: 6.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.7149, allocations: 37.7 kB / 0.5454 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.7151, allocations: 180.5 kB / 0.5456 GB, free: 5.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.7152, allocations: 95.17 kB / 0.5457 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.7153, allocations: 85.64 kB / 0.5457 GB, free: 5.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.7155, allocations: 334.8 kB / 0.5461 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.7157, allocations: 87.95 kB / 0.5461 GB, free: 5.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.7159, allocations: 187.8 kB / 0.5463 GB, free: 4.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.7164, allocations: 308.2 kB / 0.5466 GB, free: 4.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7164, allocations: 0 / 0.5466 GB, free: 4.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007331/0.7171, allocations: 403.2 kB / 0.547 GB, free: 4.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.7172, allocations: 8 kB / 0.547 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7172, allocations: 4 kB / 0.547 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.7174, allocations: 81.61 kB / 0.5471 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.7178, allocations: 80.41 kB / 0.5472 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.7195, allocations: 1.95 MB / 0.5491 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.7198, allocations: 20 kB / 0.5491 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.7198, allocations: 35.94 kB / 0.5491 GB, free: 1.891 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.0001851/0.72, allocations: 157.7 kB / 0.5493 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.7201, allocations: 31.81 kB / 0.5493 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.721, allocations: 440.8 kB / 0.5497 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.721, allocations: 0 / 0.5497 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.721, allocations: 4 kB / 0.5497 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005349/0.7215, allocations: 0.5639 MB / 0.5503 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.7227, allocations: 0.7352 MB / 0.551 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7227, allocations: 0 / 0.551 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.723, allocations: 75.89 kB / 0.5511 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.7231, allocations: 20.84 kB / 0.5511 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.7231, allocations: 12 kB / 0.5511 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009089/0.724, allocations: 1.386 MB / 0.5525 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.724, allocations: 0 / 0.5525 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.7247, allocations: 491.3 kB / 0.5529 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.7248, allocations: 100.9 kB / 0.553 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.7249, allocations: 8 kB / 0.553 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.7251, allocations: 11.98 kB / 0.553 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.7252, allocations: 19.97 kB / 0.5531 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.7252, allocations: 31.98 kB / 0.5531 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.7255, allocations: 190 kB / 0.5533 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7255, allocations: 3.938 kB / 0.5533 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.726, allocations: 127.9 kB / 0.5534 GB, free: 13.14 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.0003666/0.7264, allocations: 151.1 kB / 0.5535 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.7271, allocations: 366.4 kB / 0.5539 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7271, allocations: 4.812 kB / 0.5539 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.7275, allocations: 230.7 kB / 0.5541 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.7284, allocations: 171.5 kB / 0.5543 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.7297, allocations: 0.6985 MB / 0.555 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.7301, allocations: 0.7684 MB / 0.5557 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000372/0.7305, allocations: 106.9 kB / 0.5558 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.7307, allocations: 67.41 kB / 0.5559 GB, free: 10.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7307, allocations: 0 / 0.5559 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01573/0.7464, allocations: 8.776 MB / 0.5645 GB, free: 1.719 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)