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.001317/0.001317, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001179/0.001179, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.361/1.361, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001313/0.001313, allocations: 51.92 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.09032, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.371/0.4614, allocations: 173.6 MB / 0.4885 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.4656, allocations: 3.208 MB / 0.4917 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.4659, allocations: 4 kB / 0.4917 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.4666, allocations: 170.9 kB / 0.4918 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009524/0.4676, allocations: 407.2 kB / 0.4922 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.4684, allocations: 341.5 kB / 0.4925 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.4693, allocations: 0.903 MB / 0.4934 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.4695, allocations: 104.6 kB / 0.4935 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.4714, allocations: 0.7949 MB / 0.4943 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.4717, allocations: 270.9 kB / 0.4946 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.4718, allocations: 28 kB / 0.4946 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.4721, allocations: 127.9 kB / 0.4947 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4722, allocations: 95.67 kB / 0.4948 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.4725, allocations: 187.3 kB / 0.495 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.473, allocations: 0.5102 MB / 0.4955 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.473, allocations: 0 / 0.4955 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.473, allocations: 4 kB / 0.4955 GB, free: 2.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.4731, allocations: 0 / 0.4955 GB, free: 2.234 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.0008477/0.4739, allocations: 0.5891 MB / 0.4961 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.474, allocations: 12.03 kB / 0.4961 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.4743, allocations: 43.7 kB / 0.4961 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.4746, allocations: 290.3 kB / 0.4964 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.4747, allocations: 20.56 kB / 0.4964 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.4747, allocations: 24 kB / 0.4964 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.4752, allocations: 315.7 kB / 0.4967 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4753, allocations: 4 kB / 0.4967 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.4753, allocations: 15.94 kB / 0.4967 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4753, allocations: 8 kB / 0.4968 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.4757, allocations: 201.6 kB / 0.4969 GB, free: 0.6172 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.001792/0.4775, allocations: 1.593 MB / 0.4985 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4778, allocations: 178.7 kB / 0.4987 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.4779, allocations: 97.14 kB / 0.4988 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.478, allocations: 15.97 kB / 0.4988 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.478, allocations: 38.56 kB / 0.4988 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.478, allocations: 0 / 0.4988 GB, free: 14.53 MB / 414.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.005751/0.4838, allocations: 1.603 MB / 0.5004 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4838, allocations: 59.34 kB / 0.5004 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4841, allocations: 252.9 kB / 0.5007 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.4842, allocations: 33.7 kB / 0.5007 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4843, allocations: 180.1 kB / 0.5009 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.4844, allocations: 90.66 kB / 0.501 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.4845, allocations: 85.38 kB / 0.5011 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4846, allocations: 342.8 kB / 0.5014 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4848, allocations: 87.95 kB / 0.5015 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4851, allocations: 199.6 kB / 0.5017 GB, free: 11.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.4855, allocations: 303.8 kB / 0.5019 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4855, allocations: 5.125 kB / 0.5019 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006454/0.4862, allocations: 395.2 kB / 0.5023 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4862, allocations: 8 kB / 0.5023 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4862, allocations: 0 / 0.5023 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.4864, allocations: 82.08 kB / 0.5024 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.4868, allocations: 83.89 kB / 0.5025 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.4883, allocations: 1.951 MB / 0.5044 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4885, allocations: 12.03 kB / 0.5044 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.4886, allocations: 39.98 kB / 0.5044 GB, free: 8.316 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.0001699/0.4888, allocations: 158.8 kB / 0.5046 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.4889, allocations: 31.62 kB / 0.5046 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.4898, allocations: 439.9 kB / 0.505 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4899, allocations: 4 kB / 0.505 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4899, allocations: 0 / 0.505 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005562/0.4904, allocations: 0.563 MB / 0.5056 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4915, allocations: 0.7427 MB / 0.5063 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4915, allocations: 0 / 0.5063 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.4918, allocations: 67.89 kB / 0.5064 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.127e-05/0.4919, allocations: 24.84 kB / 0.5064 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.492, allocations: 12 kB / 0.5064 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009282/0.4929, allocations: 1.383 MB / 0.5078 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4929, allocations: 0 / 0.5078 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.4936, allocations: 477.8 kB / 0.5082 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.4937, allocations: 104.7 kB / 0.5083 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.4937, allocations: 7.984 kB / 0.5083 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.494, allocations: 12.12 kB / 0.5083 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.494, allocations: 27.97 kB / 0.5084 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.4941, allocations: 27.98 kB / 0.5084 GB, free: 3.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.4943, allocations: 190 kB / 0.5086 GB, free: 3.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4943, allocations: 0 / 0.5086 GB, free: 3.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.4948, allocations: 120 kB / 0.5087 GB, free: 3.59 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.0003531/0.4951, allocations: 155.1 kB / 0.5088 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006718/0.4958, allocations: 387.9 kB / 0.5092 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4958, allocations: 7.938 kB / 0.5092 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.4961, allocations: 226.5 kB / 0.5094 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.4971, allocations: 176.2 kB / 0.5096 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4983, allocations: 0.6938 MB / 0.5103 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.4986, allocations: 0.7606 MB / 0.511 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005614/0.4991, allocations: 118.9 kB / 0.5111 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.4993, allocations: 67.41 kB / 0.5112 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4994, allocations: 0 / 0.5112 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Templates: time 0.0136/0.513, allocations: 8.695 MB / 0.5197 GB, free: 8.23 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)