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.001024/0.001024, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001078/0.001077, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.0006801/0.0006802, allocations: 12 kB / 278.9 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2582, allocations: 47.6 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3979/0.6561, allocations: 157.7 MB / 484.2 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.6592, allocations: 2.988 MB / 487.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.6595, allocations: 2.969 kB / 487.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.66, allocations: 133.3 kB / 487.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.6608, allocations: 361.7 kB / 487.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.6616, allocations: 275.2 kB / 488 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.6625, allocations: 1.114 MB / 489.1 MB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.6627, allocations: 68.2 kB / 489.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.664, allocations: 0.6732 MB / 489.8 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.6644, allocations: 272.2 kB / 490.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.6644, allocations: 14.5 kB / 490.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.6647, allocations: 104.4 kB / 490.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.6648, allocations: 84.17 kB / 490.3 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.6649, allocations: 94.61 kB / 490.4 MB, free: 1.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.6653, allocations: 396.2 kB / 490.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6653, allocations: 2.953 kB / 490.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6653, allocations: 0 / 490.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.6653, allocations: 0 / 490.8 MB, free: 1.328 MB / 382.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.0009105/0.6662, allocations: 0.511 MB / 491.3 MB, free: 16.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6663, allocations: 9.5 kB / 491.3 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.6666, allocations: 51.81 kB / 491.4 MB, free: 16.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.6669, allocations: 270.9 kB / 491.6 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.6669, allocations: 14.12 kB / 491.6 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.667, allocations: 27.88 kB / 491.7 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.6674, allocations: 319.5 kB / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6675, allocations: 0 / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.6675, allocations: 16.61 kB / 492 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.6675, allocations: 9.984 kB / 492 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.6678, allocations: 200.6 kB / 492.2 MB, free: 16.56 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.001618/0.6694, allocations: 1.588 MB / 493.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.6697, allocations: 169.2 kB / 493.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.6698, allocations: 109.4 kB / 494.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.6699, allocations: 3.031 kB / 494.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6699, allocations: 44.56 kB / 494.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.6699, allocations: 0 / 494.1 MB, free: 15.29 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.004803/0.6747, allocations: 1.616 MB / 495.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.6748, allocations: 61.84 kB / 495.8 MB, free: 14.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.675, allocations: 257.8 kB / 496 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.6751, allocations: 35.48 kB / 496.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.6751, allocations: 166.5 kB / 496.2 MB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.6752, allocations: 101.9 kB / 496.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.6752, allocations: 8.656 kB / 496.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6754, allocations: 335.4 kB / 496.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.6755, allocations: 90.89 kB / 496.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6757, allocations: 186.3 kB / 496.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.6759, allocations: 118.8 kB / 497 MB, free: 13.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6759, allocations: 0 / 497 MB, free: 13.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005436/0.6765, allocations: 395.8 kB / 497.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6765, allocations: 9.766 kB / 497.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6765, allocations: 2.969 kB / 497.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.6767, allocations: 74.09 kB / 497.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.6771, allocations: 85.66 kB / 497.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.6785, allocations: 1.853 MB / 499.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.6787, allocations: 22.62 kB / 499.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.6788, allocations: 40.16 kB / 499.5 MB, free: 11.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.6789, allocations: 155.6 kB / 499.7 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.679, allocations: 26.5 kB / 499.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.6799, allocations: 450.7 kB / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6799, allocations: 5.25 kB / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.68, allocations: 0 / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004949/0.6805, allocations: 0.5648 MB / 0.489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.6814, allocations: 0.7344 MB / 0.4897 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.6814, allocations: 0 / 0.4897 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.6817, allocations: 70.3 kB / 0.4898 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.401e-05/0.6818, allocations: 17.41 kB / 0.4898 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.6818, allocations: 17.38 kB / 0.4898 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008292/0.6827, allocations: 1.279 MB / 0.491 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6827, allocations: 1.969 kB / 0.491 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.6833, allocations: 482.5 kB / 0.4915 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.6834, allocations: 111.2 kB / 0.4916 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.6835, allocations: 7.562 kB / 0.4916 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.6837, allocations: 17.48 kB / 0.4916 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.6838, allocations: 30.62 kB / 0.4917 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.6838, allocations: 33.5 kB / 0.4917 GB, free: 9.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.684, allocations: 185.5 kB / 0.4919 GB, free: 9.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.684, allocations: 3.594 kB / 0.4919 GB, free: 9.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.6845, allocations: 122.4 kB / 0.492 GB, free: 9.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/0.6849, allocations: 152.5 kB / 0.4921 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.6855, allocations: 376.2 kB / 0.4925 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6855, allocations: 0.8125 kB / 0.4925 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.6857, allocations: 228.5 kB / 0.4927 GB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.6866, allocations: 163.1 kB / 0.4929 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6877, allocations: 0.827 MB / 0.4937 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.6881, allocations: 0.7678 MB / 0.4944 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005671/0.6887, allocations: 113.2 kB / 0.4945 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6889, allocations: 70.23 kB / 0.4946 GB, free: 7.582 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6889, allocations: 0 / 0.4946 GB, free: 7.582 MB / 398.1 MB Notification: Performance of Templates: time 0.01369/0.7026, allocations: 8.273 MB / 0.5027 GB, free: 4.043 MB / 398.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)