Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001435/0.001435, allocations: 110.2 kB / 17.06 MB, free: 5.793 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.001721/0.001721, allocations: 198.8 kB / 18.01 MB, free: 4.918 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001306/0.001306, allocations: 47.94 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09363, allocations: 46.62 MB / 374.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.5062/0.5999, allocations: 172.8 MB / 0.5345 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.6038, allocations: 3.224 MB / 0.5376 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.604, allocations: 7.938 kB / 0.5376 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.6046, allocations: 166.9 kB / 0.5378 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.6054, allocations: 401.8 kB / 0.5382 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.6063, allocations: 348.8 kB / 0.5385 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.6074, allocations: 0.8915 MB / 0.5394 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.6076, allocations: 100.7 kB / 0.5395 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.6097, allocations: 0.7973 MB / 0.5402 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.6101, allocations: 266.9 kB / 0.5405 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.6102, allocations: 28 kB / 0.5405 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.6105, allocations: 131.8 kB / 0.5406 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.6106, allocations: 99.77 kB / 0.5407 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.6108, allocations: 179.3 kB / 0.5409 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.6115, allocations: 0.5178 MB / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6115, allocations: 3.938 kB / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6115, allocations: 0 / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.6115, allocations: 0 / 0.5414 GB, free: 11.14 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.001028/0.6126, allocations: 0.6 MB / 0.542 GB, free: 10.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.6126, allocations: 8.031 kB / 0.542 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.613, allocations: 43.8 kB / 0.5421 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.6135, allocations: 290.6 kB / 0.5423 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.6135, allocations: 16.56 kB / 0.5423 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.6135, allocations: 24 kB / 0.5424 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.6141, allocations: 319.7 kB / 0.5427 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6141, allocations: 3.938 kB / 0.5427 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.6141, allocations: 12 kB / 0.5427 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6141, allocations: 8.875 kB / 0.5427 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.6145, allocations: 205.5 kB / 0.5429 GB, free: 9.516 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.001797/0.6163, allocations: 1.597 MB / 0.5445 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.6166, allocations: 175.1 kB / 0.5446 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.6168, allocations: 96.77 kB / 0.5447 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.6168, allocations: 8 kB / 0.5447 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.6169, allocations: 38.56 kB / 0.5448 GB, free: 7.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.6169, allocations: 0 / 0.5448 GB, free: 7.438 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.005465/0.6223, allocations: 1.622 MB / 0.5463 GB, free: 5.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.6224, allocations: 59.34 kB / 0.5464 GB, free: 5.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.6227, allocations: 257 kB / 0.5466 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.6228, allocations: 29.7 kB / 0.5467 GB, free: 5.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.6229, allocations: 180.5 kB / 0.5468 GB, free: 5.137 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.623, allocations: 99.12 kB / 0.5469 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6231, allocations: 77.69 kB / 0.547 GB, free: 4.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6232, allocations: 338.8 kB / 0.5473 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.6234, allocations: 91.95 kB / 0.5474 GB, free: 4.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.6236, allocations: 183.8 kB / 0.5476 GB, free: 4.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.6241, allocations: 309.1 kB / 0.5479 GB, free: 3.961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6241, allocations: 0 / 0.5479 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007072/0.6248, allocations: 402.8 kB / 0.5483 GB, free: 3.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6248, allocations: 8 kB / 0.5483 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6248, allocations: 0 / 0.5483 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.6251, allocations: 77.67 kB / 0.5484 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.6255, allocations: 84.25 kB / 0.5484 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.6269, allocations: 1.961 MB / 0.5504 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.6271, allocations: 12 kB / 0.5504 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.6272, allocations: 36 kB / 0.5504 GB, free: 1.215 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.0001842/0.6274, allocations: 162.4 kB / 0.5506 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.6275, allocations: 31.81 kB / 0.5506 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008377/0.6283, allocations: 436.8 kB / 0.551 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6283, allocations: 4 kB / 0.551 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6283, allocations: 3.938 kB / 0.551 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2486/0.8769, allocations: 0.5572 MB / 0.5516 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.8781, allocations: 0.7368 MB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8781, allocations: 1.375 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.8784, allocations: 73.77 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.395e-05/0.8785, allocations: 20.05 kB / 0.5524 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.8786, allocations: 16.66 kB / 0.5524 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006658/0.8793, allocations: 1.376 MB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.8793, allocations: 1.188 kB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8799, allocations: 482.4 kB / 0.5542 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.88, allocations: 101.4 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.8801, allocations: 6.594 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.8803, allocations: 7.906 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.8804, allocations: 24.89 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.8805, allocations: 32.95 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.8807, allocations: 193.5 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8807, allocations: 6.125 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006642/0.8814, allocations: 120.2 kB / 0.5547 GB, free: 168.6 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.0003972/0.8818, allocations: 155.1 kB / 0.5548 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.8827, allocations: 379.9 kB / 0.5552 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8827, allocations: 0.5938 kB / 0.5552 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.883, allocations: 230.5 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.8839, allocations: 167.3 kB / 0.5555 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.8852, allocations: 0.6955 MB / 0.5562 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.8855, allocations: 0.7698 MB / 0.557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004099/0.8859, allocations: 118.2 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.8861, allocations: 66.75 kB / 0.5572 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.8861, allocations: 0 / 0.5572 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01768/0.9037, allocations: 8.777 MB / 0.5657 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)