Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008826/0.008826, allocations: 100.8 kB / 15.73 MB, free: 5.586 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.001609/0.001609, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001225/0.001225, allocations: 47.94 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09596, allocations: 46.62 MB / 373.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3992/0.4952, allocations: 173.6 MB / 0.534 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.4995, allocations: 3.207 MB / 0.5371 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.4998, allocations: 11.94 kB / 0.5372 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.5003, allocations: 170.9 kB / 0.5373 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008707/0.5012, allocations: 403.2 kB / 0.5377 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.5022, allocations: 335.8 kB / 0.538 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.5033, allocations: 0.8915 MB / 0.5389 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.5035, allocations: 108.6 kB / 0.539 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.5055, allocations: 0.7976 MB / 0.5398 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.5059, allocations: 274.9 kB / 0.54 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.506, allocations: 28 kB / 0.5401 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.5063, allocations: 127.9 kB / 0.5402 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5065, allocations: 95.66 kB / 0.5403 GB, free: 11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.5067, allocations: 179.3 kB / 0.5405 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.5073, allocations: 0.518 MB / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5073, allocations: 0 / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5073, allocations: 0 / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5073, allocations: 0 / 0.541 GB, free: 10.3 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.0009007/0.5083, allocations: 0.593 MB / 0.5415 GB, free: 9.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5083, allocations: 8.031 kB / 0.5415 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.5086, allocations: 43.61 kB / 0.5416 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.5092, allocations: 298.4 kB / 0.5419 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.5093, allocations: 16.56 kB / 0.5419 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.5093, allocations: 24 kB / 0.5419 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.5099, allocations: 323.7 kB / 0.5422 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.5099, allocations: 7.969 kB / 0.5422 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.51, allocations: 15.94 kB / 0.5422 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.51, allocations: 8 kB / 0.5423 GB, free: 8.863 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.5103, allocations: 205.5 kB / 0.5424 GB, free: 8.664 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.001969/0.5123, allocations: 1.586 MB / 0.544 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5126, allocations: 182.7 kB / 0.5442 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.5128, allocations: 97.14 kB / 0.5443 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.5128, allocations: 4 kB / 0.5443 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5129, allocations: 38.56 kB / 0.5443 GB, free: 6.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.5129, allocations: 0 / 0.5443 GB, free: 6.594 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.00526/0.5181, allocations: 1.61 MB / 0.5459 GB, free: 4.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5182, allocations: 51.41 kB / 0.5459 GB, free: 4.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.5185, allocations: 256.9 kB / 0.5462 GB, free: 4.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.5185, allocations: 33.7 kB / 0.5462 GB, free: 4.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5187, allocations: 184.1 kB / 0.5464 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.5187, allocations: 90.66 kB / 0.5465 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.5189, allocations: 77.69 kB / 0.5465 GB, free: 4.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.519, allocations: 338.8 kB / 0.5469 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.5192, allocations: 91.89 kB / 0.5469 GB, free: 3.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5194, allocations: 195.8 kB / 0.5471 GB, free: 3.469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.5198, allocations: 297.2 kB / 0.5474 GB, free: 3.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5199, allocations: 3.938 kB / 0.5474 GB, free: 3.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006233/0.5205, allocations: 406.9 kB / 0.5478 GB, free: 2.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5205, allocations: 4 kB / 0.5478 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5205, allocations: 4 kB / 0.5478 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.5208, allocations: 77.67 kB / 0.5479 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.5211, allocations: 87.83 kB / 0.548 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5226, allocations: 1.949 MB / 0.5499 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.5228, allocations: 12 kB / 0.5499 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.5229, allocations: 39.98 kB / 0.5499 GB, free: 396 kB / 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.0001596/0.523, allocations: 158.4 kB / 0.5501 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.5231, allocations: 27.72 kB / 0.5501 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2057/0.7288, allocations: 437.2 kB / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.7288, allocations: 4.297 kB / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7288, allocations: 0 / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004906/0.7293, allocations: 0.5637 MB / 0.5511 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.7305, allocations: 0.7329 MB / 0.5518 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7305, allocations: 5.875 kB / 0.5518 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.7309, allocations: 69.2 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.731, allocations: 25.72 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.731, allocations: 15.64 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.7318, allocations: 1.376 MB / 0.5532 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7318, allocations: 2.688 kB / 0.5533 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.7327, allocations: 476.2 kB / 0.5537 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.7328, allocations: 99.97 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.7328, allocations: 10.22 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.7331, allocations: 11.58 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.7332, allocations: 27.44 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.7333, allocations: 27.58 kB / 0.5539 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.7336, allocations: 191 kB / 0.5541 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7336, allocations: 0 / 0.5541 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007311/0.7343, allocations: 125.8 kB / 0.5542 GB, free: 168.3 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.0005003/0.7349, allocations: 149 kB / 0.5543 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.7358, allocations: 382.3 kB / 0.5547 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.7358, allocations: 0 / 0.5547 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.7361, allocations: 237.3 kB / 0.5549 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.7371, allocations: 169.2 kB / 0.5551 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.7384, allocations: 0.6915 MB / 0.5557 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.7387, allocations: 0.7679 MB / 0.5565 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.7391, allocations: 119 kB / 0.5566 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.7393, allocations: 71.94 kB / 0.5567 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7394, allocations: 0 / 0.5567 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01638/0.7557, allocations: 8.864 MB / 0.5653 GB, free: 165.1 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)