Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00122/0.001219, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009272/0.009273, allocations: 169 kB / 16.26 MB, free: 6.652 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.578/1.578, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0007648/0.0007651, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2726, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4052/0.6779, allocations: 169.2 MB / 496.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.6815, allocations: 3.191 MB / 499.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.6819, allocations: 3.594 kB / 499.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.6826, allocations: 143.8 kB / 499.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.6837, allocations: 384.5 kB / 500 MB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.6845, allocations: 317.1 kB / 0.4885 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6858, allocations: 1.348 MB / 0.4899 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.686, allocations: 72.5 kB / 0.4899 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.688, allocations: 0.7133 MB / 0.4906 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.6884, allocations: 280.6 kB / 0.4909 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.6885, allocations: 20.59 kB / 0.4909 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.6888, allocations: 104.8 kB / 0.491 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6889, allocations: 79.56 kB / 0.4911 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.6891, allocations: 194.2 kB / 0.4913 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.6897, allocations: 0.4948 MB / 0.4918 GB, free: 12.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6898, allocations: 0 / 0.4918 GB, free: 12.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6898, allocations: 0 / 0.4918 GB, free: 12.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.6898, allocations: 1.859 kB / 0.4918 GB, free: 12.13 MB / 398.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.0009555/0.6907, allocations: 0.525 MB / 0.4923 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6908, allocations: 7.812 kB / 0.4923 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.6911, allocations: 48.11 kB / 0.4923 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.6916, allocations: 285.5 kB / 0.4926 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.6916, allocations: 22.67 kB / 0.4926 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.6917, allocations: 24.62 kB / 0.4926 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.6922, allocations: 322.4 kB / 0.4929 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6922, allocations: 2.625 kB / 0.4929 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.6923, allocations: 14.31 kB / 0.493 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6923, allocations: 5.875 kB / 0.493 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.6926, allocations: 205.4 kB / 0.4932 GB, free: 11.19 MB / 398.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.00188/0.6945, allocations: 1.585 MB / 0.4947 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.6949, allocations: 171.2 kB / 0.4949 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.695, allocations: 104.1 kB / 0.495 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.6951, allocations: 4.844 kB / 0.495 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.6951, allocations: 37.31 kB / 0.495 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.6951, allocations: 0 / 0.495 GB, free: 9.746 MB / 398.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.005589/0.7007, allocations: 1.635 MB / 0.4966 GB, free: 8.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.7008, allocations: 53.97 kB / 0.4967 GB, free: 8.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.7011, allocations: 250.9 kB / 0.4969 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.7011, allocations: 33.19 kB / 0.4969 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7012, allocations: 175.1 kB / 0.4971 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.7013, allocations: 97.31 kB / 0.4972 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.7014, allocations: 34.67 kB / 0.4972 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7015, allocations: 343.5 kB / 0.4976 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.7016, allocations: 90.06 kB / 0.4976 GB, free: 8.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.7019, allocations: 188.6 kB / 0.4978 GB, free: 7.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.7023, allocations: 306.5 kB / 0.4981 GB, free: 7.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7023, allocations: 6.875 kB / 0.4981 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000625/0.7029, allocations: 398.7 kB / 0.4985 GB, free: 7.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7029, allocations: 5.375 kB / 0.4985 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.703, allocations: 2.75 kB / 0.4985 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.7032, allocations: 69.44 kB / 0.4986 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.7035, allocations: 86.67 kB / 0.4987 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.7049, allocations: 1.856 MB / 0.5005 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.7051, allocations: 18.42 kB / 0.5005 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.7052, allocations: 39.56 kB / 0.5005 GB, free: 5.773 MB / 398.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.0001722/0.7054, allocations: 160.2 kB / 0.5007 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.7054, allocations: 29.41 kB / 0.5007 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.7063, allocations: 440.9 kB / 0.5011 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7064, allocations: 2.938 kB / 0.5011 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7064, allocations: 4.609 kB / 0.5011 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005066/0.7069, allocations: 0.56 MB / 0.5017 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.7078, allocations: 0.7256 MB / 0.5024 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7078, allocations: 3.938 kB / 0.5024 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.7081, allocations: 74.2 kB / 0.5025 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/0.7082, allocations: 20.78 kB / 0.5025 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.7083, allocations: 16.02 kB / 0.5025 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008016/0.7091, allocations: 1.285 MB / 0.5038 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7091, allocations: 1.781 kB / 0.5038 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.7097, allocations: 481.8 kB / 0.5042 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.7098, allocations: 111.3 kB / 0.5043 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.7098, allocations: 10.88 kB / 0.5043 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.7101, allocations: 15.17 kB / 0.5043 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.7102, allocations: 33.56 kB / 0.5044 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.7102, allocations: 34.28 kB / 0.5044 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.7104, allocations: 186.1 kB / 0.5046 GB, free: 2.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7104, allocations: 0 / 0.5046 GB, free: 2.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.7109, allocations: 128.7 kB / 0.5047 GB, free: 2.77 MB / 398.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.7113, allocations: 152.5 kB / 0.5049 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.7119, allocations: 371.2 kB / 0.5052 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7119, allocations: 0 / 0.5052 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.7122, allocations: 233.7 kB / 0.5054 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.7133, allocations: 157.5 kB / 0.5056 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.7145, allocations: 0.8566 MB / 0.5064 GB, free: 1.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.7148, allocations: 0.7668 MB / 0.5072 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005692/0.7154, allocations: 119.3 kB / 0.5073 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.7156, allocations: 71.39 kB / 0.5073 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7156, allocations: 0 / 0.5073 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Templates: time 0.01444/0.73, allocations: 8.409 MB / 0.5156 GB, free: 12.65 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)