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.001566/0.001566, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001643/0.001643, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.522/1.522, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001255/0.001255, allocations: 51.92 kB / 279.4 MB, free: 3.551 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08995, allocations: 46.62 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3632/0.4532, allocations: 171.5 MB / 497.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.4577, allocations: 3.228 MB / 0.4889 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.4581, allocations: 3.938 kB / 0.4889 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.4588, allocations: 139.3 kB / 0.4891 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.4599, allocations: 395.6 kB / 0.4894 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.4608, allocations: 313.3 kB / 0.4897 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.4621, allocations: 1.344 MB / 0.4911 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.4624, allocations: 93.11 kB / 0.4911 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.4643, allocations: 0.7106 MB / 0.4918 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.4647, allocations: 294.9 kB / 0.4921 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.4648, allocations: 16 kB / 0.4921 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.4651, allocations: 103.9 kB / 0.4922 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4652, allocations: 87.7 kB / 0.4923 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.4655, allocations: 171.2 kB / 0.4925 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.4661, allocations: 0.4985 MB / 0.493 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4661, allocations: 0 / 0.493 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4661, allocations: 4 kB / 0.493 GB, free: 4.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4661, allocations: 0 / 0.493 GB, free: 4.602 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.001058/0.4672, allocations: 0.6008 MB / 0.4936 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4672, allocations: 8.031 kB / 0.4936 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.4676, allocations: 43.7 kB / 0.4936 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.468, allocations: 282.4 kB / 0.4939 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.468, allocations: 20.56 kB / 0.4939 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.468, allocations: 28 kB / 0.4939 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.4686, allocations: 315.7 kB / 0.4942 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4686, allocations: 2.625 kB / 0.4942 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.4686, allocations: 19.88 kB / 0.4942 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4686, allocations: 4 kB / 0.4943 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.469, allocations: 209.6 kB / 0.4945 GB, free: 2.973 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.001796/0.4708, allocations: 1.585 MB / 0.496 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4711, allocations: 178.7 kB / 0.4962 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4712, allocations: 97.14 kB / 0.4963 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.4713, allocations: 4 kB / 0.4963 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4713, allocations: 34.56 kB / 0.4963 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.647e-06/0.4713, allocations: 0 / 0.4963 GB, free: 0.9102 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.005553/0.4769, allocations: 1.624 MB / 0.4979 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.4769, allocations: 51.41 kB / 0.4979 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.4772, allocations: 256.9 kB / 0.4982 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.4772, allocations: 29.7 kB / 0.4982 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4774, allocations: 176.2 kB / 0.4984 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.4774, allocations: 102.6 kB / 0.4985 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.4776, allocations: 85.38 kB / 0.4986 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4777, allocations: 338.8 kB / 0.4989 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4779, allocations: 83.97 kB / 0.499 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4781, allocations: 191.8 kB / 0.4991 GB, free: 13.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.4786, allocations: 304.2 kB / 0.4994 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4786, allocations: 7.938 kB / 0.4994 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006406/0.4792, allocations: 394.7 kB / 0.4998 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4793, allocations: 8 kB / 0.4998 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4793, allocations: 416 / 0.4998 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.4795, allocations: 81.62 kB / 0.4999 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.4799, allocations: 83.89 kB / 0.5 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.4814, allocations: 1.856 MB / 0.5018 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.4817, allocations: 20.08 kB / 0.5018 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.4817, allocations: 44 kB / 0.5019 GB, free: 10.78 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.0001608/0.4819, allocations: 157.6 kB / 0.502 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.482, allocations: 31.66 kB / 0.502 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.4829, allocations: 434.4 kB / 0.5024 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4829, allocations: 4 kB / 0.5025 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4829, allocations: 0 / 0.5025 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.4834, allocations: 0.5591 MB / 0.503 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.4844, allocations: 0.7358 MB / 0.5037 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4844, allocations: 3.938 kB / 0.5037 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.4847, allocations: 67.89 kB / 0.5038 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.4848, allocations: 24.84 kB / 0.5038 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.4849, allocations: 15.98 kB / 0.5038 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008523/0.4857, allocations: 1.288 MB / 0.5051 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4857, allocations: 0 / 0.5051 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.4864, allocations: 474.8 kB / 0.5055 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.4865, allocations: 100.8 kB / 0.5056 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.4865, allocations: 4 kB / 0.5056 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4868, allocations: 23.95 kB / 0.5057 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.4868, allocations: 35.84 kB / 0.5057 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.4869, allocations: 31.98 kB / 0.5057 GB, free: 6.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.4871, allocations: 182 kB / 0.5059 GB, free: 6.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4871, allocations: 0 / 0.5059 GB, free: 6.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.4876, allocations: 131.9 kB / 0.506 GB, free: 6.148 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.0003608/0.4879, allocations: 155.1 kB / 0.5062 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006143/0.4886, allocations: 367.2 kB / 0.5065 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4886, allocations: 4 kB / 0.5065 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.4889, allocations: 230.5 kB / 0.5067 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.4898, allocations: 167.6 kB / 0.5069 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.491, allocations: 0.7999 MB / 0.5077 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4913, allocations: 0.7684 MB / 0.5084 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.4919, allocations: 118.9 kB / 0.5085 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.4921, allocations: 67.41 kB / 0.5086 GB, free: 3.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4921, allocations: 0 / 0.5086 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01313/0.5052, allocations: 8.439 MB / 0.5169 GB, free: 10.96 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)