Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001197/0.001197, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001218/0.001218, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.562/1.562, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.00131/0.00131, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.361/0.4767, allocations: 171.3 MB / 497.4 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003939/0.4807, allocations: 3.2 MB / 0.4889 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.481, allocations: 7.938 kB / 0.4889 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.4817, allocations: 143.3 kB / 0.4891 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.4828, allocations: 371.6 kB / 0.4894 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.4838, allocations: 320 kB / 0.4897 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4855, allocations: 0.8952 MB / 0.4906 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.4859, allocations: 104.6 kB / 0.4907 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.4885, allocations: 0.7679 MB / 0.4914 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.4891, allocations: 290.9 kB / 0.4917 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.4892, allocations: 32 kB / 0.4918 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.4896, allocations: 123.9 kB / 0.4919 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4898, allocations: 99.66 kB / 0.492 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.49, allocations: 187.3 kB / 0.4921 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.4907, allocations: 0.5141 MB / 0.4926 GB, free: 5.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4907, allocations: 0 / 0.4926 GB, free: 5.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4907, allocations: 4 kB / 0.4926 GB, free: 5.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.4907, allocations: 0 / 0.4926 GB, free: 5.02 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.00102/0.4917, allocations: 0.5969 MB / 0.4932 GB, free: 4.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4918, allocations: 8.031 kB / 0.4932 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.4921, allocations: 40.45 kB / 0.4933 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.4925, allocations: 290.4 kB / 0.4936 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4925, allocations: 20.56 kB / 0.4936 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.4926, allocations: 28 kB / 0.4936 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.4932, allocations: 315.7 kB / 0.4939 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4932, allocations: 0 / 0.4939 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.4932, allocations: 15.94 kB / 0.4939 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4932, allocations: 4 kB / 0.4939 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.4936, allocations: 213.5 kB / 0.4941 GB, free: 3.391 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.001814/0.4954, allocations: 1.587 MB / 0.4957 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.4957, allocations: 178.7 kB / 0.4958 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.4959, allocations: 97.14 kB / 0.4959 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.4959, allocations: 7.984 kB / 0.4959 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.496, allocations: 34.56 kB / 0.496 GB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.845e-06/0.496, allocations: 0 / 0.496 GB, free: 1.324 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.005899/0.5019, allocations: 1.617 MB / 0.4976 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5019, allocations: 51.41 kB / 0.4976 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.5022, allocations: 256.9 kB / 0.4979 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.5023, allocations: 33.7 kB / 0.4979 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5024, allocations: 180.2 kB / 0.4981 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.5025, allocations: 94.64 kB / 0.4981 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.5026, allocations: 85.38 kB / 0.4982 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5027, allocations: 334.8 kB / 0.4985 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.5029, allocations: 91.95 kB / 0.4986 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.5031, allocations: 195.7 kB / 0.4988 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.5035, allocations: 303.8 kB / 0.4991 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5036, allocations: 3.938 kB / 0.4991 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006097/0.5042, allocations: 395.6 kB / 0.4995 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5042, allocations: 4 kB / 0.4995 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5042, allocations: 4 kB / 0.4995 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.5044, allocations: 77.67 kB / 0.4996 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.5048, allocations: 83.89 kB / 0.4997 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.5063, allocations: 1.954 MB / 0.5016 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.5066, allocations: 27.89 kB / 0.5016 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.5067, allocations: 32 kB / 0.5016 GB, free: 11.1 MB / 414.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.0001931/0.5069, allocations: 166.5 kB / 0.5018 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.507, allocations: 27.72 kB / 0.5018 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.5079, allocations: 434.3 kB / 0.5022 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5079, allocations: 0 / 0.5022 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5079, allocations: 4 kB / 0.5022 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004981/0.5084, allocations: 0.5707 MB / 0.5028 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.5094, allocations: 0.7242 MB / 0.5035 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5094, allocations: 0 / 0.5035 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.5097, allocations: 75.89 kB / 0.5036 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.5098, allocations: 28.69 kB / 0.5036 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.5098, allocations: 15.98 kB / 0.5036 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008249/0.5107, allocations: 1.379 MB / 0.5049 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5107, allocations: 0 / 0.5049 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.5113, allocations: 486.7 kB / 0.5054 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.5114, allocations: 108.7 kB / 0.5055 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.5114, allocations: 8 kB / 0.5055 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.5117, allocations: 20.05 kB / 0.5055 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.5118, allocations: 19.97 kB / 0.5056 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.5118, allocations: 31.98 kB / 0.5056 GB, free: 6.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.512, allocations: 190 kB / 0.5058 GB, free: 6.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.512, allocations: 0 / 0.5058 GB, free: 6.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.5125, allocations: 123.9 kB / 0.5059 GB, free: 6.355 MB / 414.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.0003618/0.5129, allocations: 155.1 kB / 0.506 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.5136, allocations: 395.1 kB / 0.5064 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5136, allocations: 0 / 0.5064 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.5139, allocations: 226.6 kB / 0.5066 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.5147, allocations: 172.9 kB / 0.5068 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5159, allocations: 0.7999 MB / 0.5076 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.5162, allocations: 0.7606 MB / 0.5083 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.5167, allocations: 118.9 kB / 0.5084 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5169, allocations: 67.41 kB / 0.5085 GB, free: 3.598 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5169, allocations: 0 / 0.5085 GB, free: 3.598 MB / 414.1 MB Notification: Performance of Templates: time 0.01385/0.5308, allocations: 8.68 MB / 0.517 GB, free: 10.91 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)