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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006121/0.006121, allocations: 164.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.218/1.218, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001563/0.001563, allocations: 114.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 38.77 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8668/1.08, allocations: 429 MB / 0.7245 GB, free: 95.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.08, allocations: 90.98 kB / 0.7246 GB, free: 95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4478/1.528, allocations: 155.4 MB / 0.8764 GB, free: 87.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/1.528, allocations: 0 / 0.8764 GB, free: 87.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/1.528, allocations: 10.84 kB / 0.8764 GB, free: 87.52 MB / 362.7 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.0008598/1.529, allocations: 0.6195 MB / 0.877 GB, free: 87.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/1.529, allocations: 11.19 kB / 0.877 GB, free: 87.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/1.529, allocations: 43.67 kB / 0.8771 GB, free: 87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/1.53, allocations: 284.1 kB / 0.8773 GB, free: 86.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.53, allocations: 22.58 kB / 0.8774 GB, free: 86.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/1.53, allocations: 25.88 kB / 0.8774 GB, free: 86.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/1.53, allocations: 313.1 kB / 0.8777 GB, free: 86.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.53, allocations: 8.922 kB / 0.8777 GB, free: 86.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/1.53, allocations: 11.94 kB / 0.8777 GB, free: 86.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.53, allocations: 3.938 kB / 0.8777 GB, free: 86.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/1.53, allocations: 204.9 kB / 0.8779 GB, free: 86.38 MB / 362.7 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.001338/1.532, allocations: 1.571 MB / 0.8794 GB, free: 84.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/1.532, allocations: 166.2 kB / 0.8796 GB, free: 84.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/1.532, allocations: 4.906 kB / 0.8796 GB, free: 84.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.532, allocations: 38.56 kB / 0.8796 GB, free: 84.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/1.532, allocations: 0 / 0.8796 GB, free: 84.75 MB / 362.7 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.005143/1.537, allocations: 1.615 MB / 0.8812 GB, free: 83.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/1.537, allocations: 62.98 kB / 0.8813 GB, free: 83.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/1.537, allocations: 230.6 kB / 0.8815 GB, free: 83.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/1.538, allocations: 36.05 kB / 0.8815 GB, free: 83.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/1.538, allocations: 169.2 kB / 0.8817 GB, free: 83.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/1.538, allocations: 98.44 kB / 0.8818 GB, free: 83.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/1.538, allocations: 7.281 kB / 0.8818 GB, free: 83.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/1.538, allocations: 334.5 kB / 0.8821 GB, free: 82.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/1.538, allocations: 88.12 kB / 0.8822 GB, free: 82.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.538, allocations: 189.4 kB / 0.8824 GB, free: 82.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/1.538, allocations: 122.4 kB / 0.8825 GB, free: 82.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.538, allocations: 3.562 kB / 0.8825 GB, free: 82.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005141/1.539, allocations: 395.9 kB / 0.8829 GB, free: 82.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.539, allocations: 10.25 kB / 0.8829 GB, free: 82.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.539, allocations: 6.984 kB / 0.8829 GB, free: 82.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/1.539, allocations: 74.14 kB / 0.883 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/1.539, allocations: 87.73 kB / 0.8831 GB, free: 82.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/1.54, allocations: 1.843 MB / 0.8849 GB, free: 80.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/1.541, allocations: 33.77 kB / 0.8849 GB, free: 80.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/1.541, allocations: 44.3 kB / 0.8849 GB, free: 80.39 MB / 362.7 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.0001518/1.541, allocations: 153 kB / 0.8851 GB, free: 80.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/1.541, allocations: 30.12 kB / 0.8851 GB, free: 80.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008427/1.542, allocations: 446.9 kB / 0.8855 GB, free: 79.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.542, allocations: 7.734 kB / 0.8855 GB, free: 79.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.542, allocations: 0 / 0.8855 GB, free: 79.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004046/1.542, allocations: 0.5623 MB / 0.8861 GB, free: 79.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/1.543, allocations: 0.72 MB / 0.8868 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.543, allocations: 0 / 0.8868 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/1.543, allocations: 72.42 kB / 0.8869 GB, free: 78.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/1.543, allocations: 22.5 kB / 0.8869 GB, free: 78.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.543, allocations: 15.08 kB / 0.8869 GB, free: 78.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005699/1.544, allocations: 1.292 MB / 0.8882 GB, free: 77.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.544, allocations: 0 / 0.8882 GB, free: 77.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/1.544, allocations: 494.9 kB / 0.8886 GB, free: 77.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/1.545, allocations: 112.3 kB / 0.8887 GB, free: 77.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/1.545, allocations: 7.953 kB / 0.8887 GB, free: 77.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/1.545, allocations: 19.52 kB / 0.8888 GB, free: 77.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/1.545, allocations: 27.09 kB / 0.8888 GB, free: 77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/1.545, allocations: 27.48 kB / 0.8888 GB, free: 77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001401/1.545, allocations: 192.2 kB / 0.889 GB, free: 76.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.545, allocations: 0 / 0.889 GB, free: 76.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007034/1.546, allocations: 179.5 kB / 0.8892 GB, free: 76.82 MB / 362.7 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.0009646/1.547, allocations: 0.7628 MB / 0.8899 GB, free: 76.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/1.547, allocations: 371.1 kB / 0.8903 GB, free: 76.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.547, allocations: 0 / 0.8903 GB, free: 76.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/1.548, allocations: 238.6 kB / 0.8905 GB, free: 76.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/1.548, allocations: 151.2 kB / 0.8906 GB, free: 76.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/1.549, allocations: 0.8303 MB / 0.8914 GB, free: 75.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/1.55, allocations: 0.7766 MB / 0.8922 GB, free: 74.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005281/1.55, allocations: 116.5 kB / 0.8923 GB, free: 74.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/1.55, allocations: 62.59 kB / 0.8924 GB, free: 74.74 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/1.55, allocations: 0 / 0.8924 GB, free: 74.74 MB / 362.7 MB Notification: Performance of Templates: time 0.02086/1.571, allocations: 17.52 MB / 0.9095 GB, free: 57.52 MB / 362.7 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)