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.000876/0.000876, allocations: 92.06 kB / 16.65 MB, free: 6.59 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.0008803/0.0008804, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.568/1.568, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004776/0.0004776, allocations: 8 kB / 280.8 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3539/0.469, allocations: 169.2 MB / 497.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.473, allocations: 3.185 MB / 0.489 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.4734, allocations: 11.94 kB / 0.489 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.4741, allocations: 147.2 kB / 0.4891 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.4751, allocations: 379.7 kB / 0.4895 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.4759, allocations: 308.5 kB / 0.4898 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4771, allocations: 1.344 MB / 0.4911 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.4773, allocations: 80.62 kB / 0.4912 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.4794, allocations: 0.7055 MB / 0.4919 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.4798, allocations: 290.8 kB / 0.4921 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.4798, allocations: 16 kB / 0.4922 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.4801, allocations: 103.9 kB / 0.4923 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.4802, allocations: 75.78 kB / 0.4923 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.4804, allocations: 200.9 kB / 0.4925 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.4809, allocations: 0.4906 MB / 0.493 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.481, allocations: 4 kB / 0.493 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.481, allocations: 0 / 0.493 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.481, allocations: 0 / 0.493 GB, free: 9.246 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.0007274/0.4817, allocations: 0.5228 MB / 0.4935 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4817, allocations: 8.031 kB / 0.4935 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.482, allocations: 47.61 kB / 0.4936 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4824, allocations: 286.4 kB / 0.4938 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4824, allocations: 16.56 kB / 0.4939 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.4825, allocations: 24 kB / 0.4939 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.483, allocations: 325.2 kB / 0.4942 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.483, allocations: 3.984 kB / 0.4942 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.4831, allocations: 15.94 kB / 0.4942 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4831, allocations: 8 kB / 0.4942 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.4834, allocations: 205.5 kB / 0.4944 GB, free: 7.688 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.001827/0.4852, allocations: 1.585 MB / 0.496 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.4855, allocations: 162.8 kB / 0.4961 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.4857, allocations: 109.8 kB / 0.4962 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4858, allocations: 11.98 kB / 0.4962 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4858, allocations: 34.56 kB / 0.4963 GB, free: 5.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.4858, allocations: 0 / 0.4963 GB, free: 5.621 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.006028/0.4918, allocations: 1.634 MB / 0.4979 GB, free: 3.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.4919, allocations: 55.41 kB / 0.4979 GB, free: 3.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4922, allocations: 249 kB / 0.4982 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.4923, allocations: 37.69 kB / 0.4982 GB, free: 3.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4924, allocations: 172.2 kB / 0.4984 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.4925, allocations: 94.64 kB / 0.4984 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.4926, allocations: 37.69 kB / 0.4985 GB, free: 3.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4927, allocations: 338.8 kB / 0.4988 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4929, allocations: 91.75 kB / 0.4989 GB, free: 2.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.4931, allocations: 191.7 kB / 0.4991 GB, free: 2.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.4935, allocations: 308.3 kB / 0.4994 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4935, allocations: 11.88 kB / 0.4994 GB, free: 2.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006381/0.4942, allocations: 394.7 kB / 0.4998 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4942, allocations: 8 kB / 0.4998 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4942, allocations: 4 kB / 0.4998 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.4945, allocations: 66.09 kB / 0.4998 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.4948, allocations: 87.89 kB / 0.4999 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.4965, allocations: 1.86 MB / 0.5017 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4968, allocations: 20.02 kB / 0.5017 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.4968, allocations: 40 kB / 0.5018 GB, free: 15.52 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.0002037/0.497, allocations: 157.8 kB / 0.5019 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.4971, allocations: 31.66 kB / 0.502 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.4981, allocations: 440.3 kB / 0.5024 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4981, allocations: 4 kB / 0.5024 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4981, allocations: 0 / 0.5024 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005467/0.4987, allocations: 0.5592 MB / 0.5029 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4998, allocations: 0.731 MB / 0.5037 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4998, allocations: 3.938 kB / 0.5037 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.5001, allocations: 71.89 kB / 0.5037 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.5002, allocations: 24.84 kB / 0.5037 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.5002, allocations: 15.98 kB / 0.5038 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5013, allocations: 1.28 MB / 0.505 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5013, allocations: 3.938 kB / 0.505 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.502, allocations: 486.6 kB / 0.5055 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5022, allocations: 104.8 kB / 0.5056 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.5022, allocations: 8 kB / 0.5056 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.5025, allocations: 19.98 kB / 0.5056 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.5026, allocations: 31.97 kB / 0.5056 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.5027, allocations: 27.98 kB / 0.5057 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.5029, allocations: 194 kB / 0.5058 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5029, allocations: 0 / 0.5058 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.5035, allocations: 123.9 kB / 0.506 GB, free: 10.88 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.0004107/0.5039, allocations: 155 kB / 0.5061 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.5046, allocations: 371.2 kB / 0.5065 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5046, allocations: 4 kB / 0.5065 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.5049, allocations: 226.6 kB / 0.5067 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.506, allocations: 158.5 kB / 0.5068 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5073, allocations: 0.853 MB / 0.5077 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5077, allocations: 0.7684 MB / 0.5084 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000631/0.5083, allocations: 114.9 kB / 0.5085 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5085, allocations: 75.39 kB / 0.5086 GB, free: 8.09 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5085, allocations: 0 / 0.5086 GB, free: 8.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01518/0.5237, allocations: 8.399 MB / 0.5168 GB, free: 15.69 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)