Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001165/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001213/0.001213, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2013, allocations: 46.63 MB / 325.3 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3596/0.5609, allocations: 173.6 MB / 498.9 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.5649, allocations: 3.207 MB / 0.4904 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.5651, allocations: 7.031 kB / 0.4904 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.5656, allocations: 170.5 kB / 0.4905 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.5664, allocations: 406.3 kB / 0.4909 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007563/0.5671, allocations: 342.5 kB / 0.4913 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008054/0.568, allocations: 0.8929 MB / 0.4921 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.5682, allocations: 105.4 kB / 0.4922 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.5698, allocations: 0.7949 MB / 0.493 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.5702, allocations: 272.4 kB / 0.4933 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.5702, allocations: 29.62 kB / 0.4933 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.5705, allocations: 124.7 kB / 0.4934 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.5706, allocations: 94.39 kB / 0.4935 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.5708, allocations: 190.2 kB / 0.4937 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.5713, allocations: 0.5085 MB / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5713, allocations: 0 / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5713, allocations: 0 / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.5713, allocations: 1.094 kB / 0.4942 GB, free: 15.71 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.0007683/0.5721, allocations: 0.5944 MB / 0.4948 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5721, allocations: 10.38 kB / 0.4948 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.5724, allocations: 42.47 kB / 0.4948 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5728, allocations: 291.4 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5728, allocations: 20.47 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.5729, allocations: 25.12 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.5733, allocations: 315.3 kB / 0.4954 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5733, allocations: 4 kB / 0.4954 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.5734, allocations: 15.25 kB / 0.4955 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5734, allocations: 6.656 kB / 0.4955 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.5736, allocations: 209.5 kB / 0.4957 GB, free: 14.92 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.001644/0.5753, allocations: 1.593 MB / 0.4972 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.5756, allocations: 173.8 kB / 0.4974 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5757, allocations: 96.16 kB / 0.4975 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5758, allocations: 10.91 kB / 0.4975 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5758, allocations: 39.3 kB / 0.4975 GB, free: 13.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.5758, allocations: 0 / 0.4975 GB, free: 13.65 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.005521/0.5813, allocations: 1.616 MB / 0.4991 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.5814, allocations: 54.25 kB / 0.4992 GB, free: 12.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.5816, allocations: 255.9 kB / 0.4994 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.5816, allocations: 35.86 kB / 0.4994 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.5817, allocations: 177.4 kB / 0.4996 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.5818, allocations: 96.92 kB / 0.4997 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.5819, allocations: 87.7 kB / 0.4998 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.582, allocations: 337 kB / 0.5001 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5822, allocations: 89.92 kB / 0.5002 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5824, allocations: 186.3 kB / 0.5004 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.5828, allocations: 307.7 kB / 0.5007 GB, free: 11.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5828, allocations: 6.062 kB / 0.5007 GB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005737/0.5834, allocations: 400.2 kB / 0.501 GB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5834, allocations: 4.719 kB / 0.501 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5834, allocations: 5.438 kB / 0.5011 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.5836, allocations: 74.94 kB / 0.5011 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.584, allocations: 86.48 kB / 0.5012 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.5853, allocations: 1.944 MB / 0.5031 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.5855, allocations: 8.031 kB / 0.5031 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.5855, allocations: 41.98 kB / 0.5032 GB, free: 9.984 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.0001521/0.5857, allocations: 156.3 kB / 0.5033 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.5858, allocations: 31 kB / 0.5033 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/0.5867, allocations: 450.9 kB / 0.5038 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5867, allocations: 2.75 kB / 0.5038 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5867, allocations: 0 / 0.5038 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004971/0.5872, allocations: 0.5623 MB / 0.5043 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.5882, allocations: 0.736 MB / 0.505 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5882, allocations: 2.625 kB / 0.505 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.5885, allocations: 70 kB / 0.5051 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.025e-05/0.5885, allocations: 19.39 kB / 0.5051 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.5886, allocations: 13.36 kB / 0.5051 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/0.5894, allocations: 1.387 MB / 0.5065 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5895, allocations: 2.719 kB / 0.5065 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.59, allocations: 475.9 kB / 0.5069 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.5901, allocations: 103 kB / 0.507 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.5902, allocations: 5.938 kB / 0.507 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.5904, allocations: 14.14 kB / 0.5071 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.5905, allocations: 24.64 kB / 0.5071 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.5905, allocations: 33 kB / 0.5071 GB, free: 7.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5907, allocations: 188.7 kB / 0.5073 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5907, allocations: 0 / 0.5073 GB, free: 7.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.5912, allocations: 116.7 kB / 0.5074 GB, free: 7.207 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.0003226/0.5915, allocations: 156 kB / 0.5076 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.5921, allocations: 396 kB / 0.5079 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5921, allocations: 0 / 0.5079 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.5924, allocations: 237.3 kB / 0.5082 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.5933, allocations: 167.8 kB / 0.5083 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5944, allocations: 0.6956 MB / 0.509 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5947, allocations: 0.7664 MB / 0.5097 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.5952, allocations: 116.2 kB / 0.5099 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5954, allocations: 66.31 kB / 0.5099 GB, free: 5.699 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5954, allocations: 0 / 0.5099 GB, free: 5.699 MB / 398.1 MB Notification: Performance of Templates: time 0.01348/0.6089, allocations: 8.714 MB / 0.5184 GB, free: 15.95 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)