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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001518/0.001518, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.73 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.00123/0.001231, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2625, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4177/0.6802, allocations: 171.5 MB / 496.2 MB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.6835, allocations: 3.215 MB / 499.4 MB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.6838, allocations: 5.375 kB / 499.4 MB, free: 156 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.6844, allocations: 153.5 kB / 499.5 MB, free: 148 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008743/0.6853, allocations: 388.7 kB / 499.9 MB, free: 128 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.6861, allocations: 309.8 kB / 0.4885 GB, free: 112 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.6874, allocations: 1.348 MB / 0.4898 GB, free: 108 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.6876, allocations: 71.72 kB / 0.4899 GB, free: 100 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.6903, allocations: 0.7165 MB / 0.4906 GB, free: 72 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.6908, allocations: 292.8 kB / 0.4909 GB, free: 64 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.6909, allocations: 18.09 kB / 0.4909 GB, free: 64 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.6913, allocations: 110.2 kB / 0.491 GB, free: 64 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.6915, allocations: 86.31 kB / 0.4911 GB, free: 60 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.6917, allocations: 173.9 kB / 0.4912 GB, free: 60 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.6924, allocations: 0.4995 MB / 0.4917 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6924, allocations: 0 / 0.4917 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6924, allocations: 0 / 0.4917 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.6925, allocations: 4.656 kB / 0.4917 GB, free: 36 kB / 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.0009925/0.6934, allocations: 0.5965 MB / 0.4923 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6935, allocations: 10.19 kB / 0.4923 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.6938, allocations: 42.28 kB / 0.4924 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.6942, allocations: 288.4 kB / 0.4926 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.6942, allocations: 17.53 kB / 0.4926 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.6943, allocations: 20.72 kB / 0.4927 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.6948, allocations: 323.2 kB / 0.493 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.6948, allocations: 0 / 0.493 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.6949, allocations: 19.25 kB / 0.493 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6949, allocations: 8.094 kB / 0.493 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.6952, allocations: 202.3 kB / 0.4932 GB, free: 15.25 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.001897/0.6971, allocations: 1.579 MB / 0.4947 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.6974, allocations: 176.9 kB / 0.4949 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.6975, allocations: 98.59 kB / 0.495 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.6976, allocations: 6.75 kB / 0.495 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6976, allocations: 40.72 kB / 0.495 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.6976, allocations: 0 / 0.495 GB, free: 13.98 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.005689/0.7033, allocations: 1.613 MB / 0.4966 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.7034, allocations: 60.53 kB / 0.4967 GB, free: 13.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.7037, allocations: 255.2 kB / 0.4969 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.7037, allocations: 37.75 kB / 0.497 GB, free: 13.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7038, allocations: 181.1 kB / 0.4971 GB, free: 12.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.7039, allocations: 92.7 kB / 0.4972 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7041, allocations: 89.55 kB / 0.4973 GB, free: 12.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7042, allocations: 336.3 kB / 0.4976 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.7044, allocations: 84.78 kB / 0.4977 GB, free: 12.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7046, allocations: 192.2 kB / 0.4979 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.705, allocations: 309.4 kB / 0.4982 GB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.705, allocations: 7.938 kB / 0.4982 GB, free: 12.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005956/0.7056, allocations: 397.5 kB / 0.4986 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7056, allocations: 5.656 kB / 0.4986 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7056, allocations: 6.125 kB / 0.4986 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.7058, allocations: 70.5 kB / 0.4986 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.7062, allocations: 83.66 kB / 0.4987 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.7075, allocations: 1.845 MB / 0.5005 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.7077, allocations: 32.75 kB / 0.5006 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.7078, allocations: 39.95 kB / 0.5006 GB, free: 10.39 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 (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.000159/0.7079, allocations: 156.3 kB / 0.5007 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.708, allocations: 28.22 kB / 0.5008 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009612/0.709, allocations: 439.2 kB / 0.5012 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.709, allocations: 6.859 kB / 0.5012 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.709, allocations: 5.203 kB / 0.5012 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00052/0.7095, allocations: 0.5633 MB / 0.5018 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/0.7105, allocations: 0.721 MB / 0.5025 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7106, allocations: 4.5 kB / 0.5025 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.7109, allocations: 72.39 kB / 0.5025 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-05/0.7109, allocations: 24.53 kB / 0.5026 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.711, allocations: 13.02 kB / 0.5026 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008087/0.7118, allocations: 1.28 MB / 0.5038 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7118, allocations: 0 / 0.5038 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.7125, allocations: 484.2 kB / 0.5043 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.7125, allocations: 97.72 kB / 0.5044 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.7126, allocations: 11.09 kB / 0.5044 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.7129, allocations: 17.84 kB / 0.5044 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.7129, allocations: 29.75 kB / 0.5044 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.713, allocations: 30.27 kB / 0.5045 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.7132, allocations: 189 kB / 0.5046 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7132, allocations: 0 / 0.5046 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.7137, allocations: 126.1 kB / 0.5048 GB, free: 7.715 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 (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.0004178/0.7141, allocations: 156.6 kB / 0.5049 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.7149, allocations: 372.7 kB / 0.5053 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7149, allocations: 1.781 kB / 0.5053 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.7152, allocations: 234.2 kB / 0.5055 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.7163, allocations: 168.6 kB / 0.5056 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7175, allocations: 0.7947 MB / 0.5064 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.7178, allocations: 0.7664 MB / 0.5072 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.7184, allocations: 119.2 kB / 0.5073 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.7186, allocations: 62.34 kB / 0.5073 GB, free: 6.133 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.7186, allocations: 3.469 kB / 0.5074 GB, free: 6.133 MB / 398.1 MB Notification: Performance of Templates: time 0.01353/0.7321, allocations: 8.436 MB / 0.5156 GB, free: 0.7148 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)