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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001575/0.001574, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.501/1.501, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 114.1 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.681e-05, allocations: 4 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09201, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8928/0.9849, allocations: 434 MB / 0.7584 GB, free: 42.01 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.9852, allocations: 87.31 kB / 0.7585 GB, free: 41.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4687/1.454, allocations: 153.4 MB / 0.9083 GB, free: 50.86 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.454, allocations: 0 / 0.9083 GB, free: 50.86 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.84e-05/1.454, allocations: 11.94 kB / 0.9083 GB, free: 50.84 MB / 395.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.001101/1.455, allocations: 0.5895 MB / 0.9089 GB, free: 50.21 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.455, allocations: 12.03 kB / 0.9089 GB, free: 50.2 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/1.456, allocations: 39.7 kB / 0.9089 GB, free: 50.16 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/1.456, allocations: 288.8 kB / 0.9092 GB, free: 49.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.456, allocations: 8 kB / 0.9092 GB, free: 49.84 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/1.456, allocations: 12 kB / 0.9092 GB, free: 49.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003009/1.456, allocations: 185.1 kB / 0.9094 GB, free: 49.64 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/1.457, allocations: 270.5 kB / 0.9097 GB, free: 49.35 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.457, allocations: 0 / 0.9097 GB, free: 49.35 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/1.457, allocations: 4 kB / 0.9097 GB, free: 49.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/1.457, allocations: 4 kB / 0.9097 GB, free: 49.34 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.001577/1.458, allocations: 1.556 MB / 0.9112 GB, free: 47.66 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/1.459, allocations: 138.7 kB / 0.9113 GB, free: 47.51 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.459, allocations: 77.19 kB / 0.9114 GB, free: 47.43 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.459, allocations: 11.95 kB / 0.9114 GB, free: 47.42 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.459, allocations: 30.56 kB / 0.9114 GB, free: 47.38 MB / 395.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/1.459, allocations: 0 / 0.9114 GB, free: 47.38 MB / 395.1 MB Notification: Performance of matching and sorting (n=25): time 0.0039/1.463, allocations: 0.9989 MB / 0.9124 GB, free: 46.31 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/1.463, allocations: 55.41 kB / 0.9125 GB, free: 46.24 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/1.463, allocations: 199.9 kB / 0.9127 GB, free: 46.05 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/1.463, allocations: 25.7 kB / 0.9127 GB, free: 46.02 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/1.463, allocations: 191.6 kB / 0.9129 GB, free: 45.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/1.463, allocations: 82.81 kB / 0.9129 GB, free: 45.74 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/1.463, allocations: 0 / 0.9129 GB, free: 45.74 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/1.463, allocations: 334.8 kB / 0.9133 GB, free: 45.4 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.463, allocations: 80 kB / 0.9133 GB, free: 45.32 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/1.463, allocations: 175.7 kB / 0.9135 GB, free: 45.11 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/1.464, allocations: 105.7 kB / 0.9136 GB, free: 45.01 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.464, allocations: 3.938 kB / 0.9136 GB, free: 45 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006687/1.464, allocations: 360 kB / 0.9139 GB, free: 44.64 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.464, allocations: 11.44 kB / 0.914 GB, free: 44.63 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.464, allocations: 4 kB / 0.914 GB, free: 44.63 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/1.465, allocations: 70.09 kB / 0.914 GB, free: 44.55 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.465, allocations: 79.89 kB / 0.9141 GB, free: 44.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.466, allocations: 1.809 MB / 0.9159 GB, free: 42.53 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/1.466, allocations: 15.92 kB / 0.9159 GB, free: 42.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/1.467, allocations: 43.98 kB / 0.9159 GB, free: 42.47 MB / 395.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 () * 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 8.952e-05/1.467, allocations: 117 kB / 0.916 GB, free: 42.35 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/1.467, allocations: 23.72 kB / 0.9161 GB, free: 42.33 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/1.467, allocations: 352.3 kB / 0.9164 GB, free: 41.98 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.467, allocations: 4 kB / 0.9164 GB, free: 41.97 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.467, allocations: 4 kB / 0.9164 GB, free: 41.97 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003353/1.468, allocations: 0.5396 MB / 0.9169 GB, free: 41.34 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/1.469, allocations: 0.6654 MB / 0.9176 GB, free: 40.63 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.469, allocations: 0 / 0.9176 GB, free: 40.63 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/1.469, allocations: 71.89 kB / 0.9177 GB, free: 40.56 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.036e-05/1.469, allocations: 24.91 kB / 0.9177 GB, free: 40.53 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.469, allocations: 8 kB / 0.9177 GB, free: 40.52 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005351/1.47, allocations: 1.237 MB / 0.9189 GB, free: 39.17 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.47, allocations: 0 / 0.9189 GB, free: 39.17 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/1.47, allocations: 473.1 kB / 0.9193 GB, free: 38.67 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/1.47, allocations: 96.86 kB / 0.9194 GB, free: 38.56 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/1.47, allocations: 8 kB / 0.9194 GB, free: 38.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/1.471, allocations: 7.984 kB / 0.9195 GB, free: 38.54 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/1.471, allocations: 23.97 kB / 0.9195 GB, free: 38.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/1.471, allocations: 31.98 kB / 0.9195 GB, free: 38.49 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001038/1.471, allocations: 160.6 kB / 0.9197 GB, free: 38.33 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.471, allocations: 0 / 0.9197 GB, free: 38.33 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006386/1.471, allocations: 163.9 kB / 0.9198 GB, free: 38.17 MB / 395.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 () * 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.001165/1.473, allocations: 0.8956 MB / 0.9207 GB, free: 37.37 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/1.473, allocations: 341.5 kB / 0.921 GB, free: 37.03 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.473, allocations: 0 / 0.921 GB, free: 37.03 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/1.473, allocations: 222.5 kB / 0.9212 GB, free: 36.8 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/1.474, allocations: 128.1 kB / 0.9213 GB, free: 36.68 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/1.475, allocations: 484.7 kB / 0.9218 GB, free: 36.18 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/1.475, allocations: 0.7719 MB / 0.9226 GB, free: 35.38 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005189/1.476, allocations: 115.2 kB / 0.9227 GB, free: 35.26 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.476, allocations: 59.41 kB / 0.9227 GB, free: 35.2 MB / 395.1 MB Notification: Performance of SimCode: time 2.4e-07/1.476, allocations: 4 kB / 0.9227 GB, free: 35.2 MB / 395.1 MB Notification: Performance of Templates: time 0.01451/1.49, allocations: 11.24 MB / 0.9337 GB, free: 23.98 MB / 395.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)