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.001069/0.001069, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.316/1.316, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 103.7 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003885, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08979, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7737/0.8636, allocations: 434.8 MB / 0.7713 GB, free: 74.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.8639, allocations: 81.12 kB / 0.7714 GB, free: 74.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4271/1.291, allocations: 155.4 MB / 0.9232 GB, free: 86.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.291, allocations: 0 / 0.9232 GB, free: 86.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/1.291, allocations: 8 kB / 0.9232 GB, free: 86.77 MB / 410.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.0008089/1.292, allocations: 0.6281 MB / 0.9238 GB, free: 86.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/1.292, allocations: 11.97 kB / 0.9238 GB, free: 86.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/1.292, allocations: 39.62 kB / 0.9239 GB, free: 86.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/1.292, allocations: 286.4 kB / 0.9241 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.292, allocations: 20.56 kB / 0.9242 GB, free: 85.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/1.292, allocations: 24 kB / 0.9242 GB, free: 85.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/1.293, allocations: 319.7 kB / 0.9245 GB, free: 85.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.293, allocations: 0 / 0.9245 GB, free: 85.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/1.293, allocations: 12 kB / 0.9245 GB, free: 85.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/1.293, allocations: 8 kB / 0.9245 GB, free: 85.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/1.293, allocations: 201.5 kB / 0.9247 GB, free: 85.13 MB / 410.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.001214/1.294, allocations: 1.581 MB / 0.9262 GB, free: 83.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/1.295, allocations: 168.1 kB / 0.9264 GB, free: 83.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/1.295, allocations: 4.188 kB / 0.9264 GB, free: 83.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/1.295, allocations: 46.7 kB / 0.9264 GB, free: 83.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/1.295, allocations: 0 / 0.9264 GB, free: 83.17 MB / 410.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.004945/1.3, allocations: 1.615 MB / 0.928 GB, free: 81.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/1.3, allocations: 55.41 kB / 0.9281 GB, free: 81.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/1.3, allocations: 236 kB / 0.9283 GB, free: 81.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.3, allocations: 29.7 kB / 0.9283 GB, free: 81.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/1.3, allocations: 176.2 kB / 0.9285 GB, free: 80.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/1.3, allocations: 98.55 kB / 0.9286 GB, free: 80.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/1.3, allocations: 8 kB / 0.9286 GB, free: 80.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/1.3, allocations: 338.8 kB / 0.9289 GB, free: 80.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/1.3, allocations: 83.97 kB / 0.929 GB, free: 80.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/1.301, allocations: 190.3 kB / 0.9292 GB, free: 80.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/1.301, allocations: 112.7 kB / 0.9293 GB, free: 80.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.301, allocations: 3.953 kB / 0.9293 GB, free: 80.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005301/1.301, allocations: 398.7 kB / 0.9297 GB, free: 79.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.301, allocations: 8 kB / 0.9297 GB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.301, allocations: 0 / 0.9297 GB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/1.301, allocations: 81.61 kB / 0.9298 GB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/1.302, allocations: 76.31 kB / 0.9298 GB, free: 79.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000921/1.303, allocations: 1.868 MB / 0.9317 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/1.303, allocations: 15.91 kB / 0.9317 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/1.303, allocations: 43.98 kB / 0.9317 GB, free: 77.39 MB / 410.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.0001353/1.303, allocations: 156.8 kB / 0.9319 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/1.303, allocations: 31.81 kB / 0.9319 GB, free: 77.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007686/1.304, allocations: 443.5 kB / 0.9323 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.304, allocations: 8 kB / 0.9323 GB, free: 76.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.304, allocations: 0 / 0.9323 GB, free: 76.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003724/1.304, allocations: 0.5518 MB / 0.9329 GB, free: 76.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/1.305, allocations: 0.7212 MB / 0.9336 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.305, allocations: 0 / 0.9336 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/1.305, allocations: 75.95 kB / 0.9336 GB, free: 75.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.864e-05/1.305, allocations: 20.84 kB / 0.9337 GB, free: 75.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/1.306, allocations: 12 kB / 0.9337 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/1.306, allocations: 1.292 MB / 0.9349 GB, free: 73.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.306, allocations: 8.016 kB / 0.9349 GB, free: 73.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/1.307, allocations: 0.4899 MB / 0.9354 GB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/1.307, allocations: 112.7 kB / 0.9355 GB, free: 73.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.307, allocations: 8 kB / 0.9355 GB, free: 73.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/1.307, allocations: 15.98 kB / 0.9355 GB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/1.307, allocations: 19.97 kB / 0.9356 GB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/1.307, allocations: 36.05 kB / 0.9356 GB, free: 73.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000126/1.307, allocations: 186 kB / 0.9358 GB, free: 72.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.307, allocations: 0 / 0.9358 GB, free: 72.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006646/1.308, allocations: 187.9 kB / 0.936 GB, free: 72.67 MB / 410.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.000901/1.309, allocations: 0.7726 MB / 0.9367 GB, free: 71.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005135/1.309, allocations: 382.9 kB / 0.9371 GB, free: 71.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.309, allocations: 0 / 0.9371 GB, free: 71.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/1.309, allocations: 222.6 kB / 0.9373 GB, free: 71.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/1.31, allocations: 160.7 kB / 0.9374 GB, free: 71.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/1.311, allocations: 0.8175 MB / 0.9382 GB, free: 70.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/1.311, allocations: 0.7726 MB / 0.939 GB, free: 69.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005053/1.312, allocations: 114.9 kB / 0.9391 GB, free: 69.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/1.312, allocations: 67.41 kB / 0.9392 GB, free: 69.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/1.312, allocations: 3.938 kB / 0.9392 GB, free: 69.29 MB / 410.7 MB Notification: Performance of Templates: time 0.01873/1.331, allocations: 17.52 MB / 0.9563 GB, free: 51.75 MB / 410.7 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)