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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.00101, allocations: 89.75 kB / 16.31 MB, free: 6.461 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.001115/0.001115, allocations: 181.9 kB / 17.21 MB, free: 6.328 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.635/1.635, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0004315/0.0004316, allocations: 16 kB / 280.2 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4236/0.6633, allocations: 157.7 MB / 485.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.6668, allocations: 2.99 MB / 488.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.6673, allocations: 5.844 kB / 488.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.6679, allocations: 128.2 kB / 488.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.6688, allocations: 364.6 kB / 489 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.6696, allocations: 273.4 kB / 489.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.6706, allocations: 1.114 MB / 490.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.6708, allocations: 74.89 kB / 490.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.6724, allocations: 0.6742 MB / 491.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.6728, allocations: 270.6 kB / 491.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.6728, allocations: 14.47 kB / 491.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.6731, allocations: 109.8 kB / 491.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.6733, allocations: 74.66 kB / 491.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.6733, allocations: 93.8 kB / 491.6 MB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.6738, allocations: 394.8 kB / 492 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6738, allocations: 2.906 kB / 492 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6738, allocations: 0 / 492 MB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.6738, allocations: 4 kB / 492 MB, free: 1.297 MB / 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.0009233/0.6747, allocations: 0.5203 MB / 492.6 MB, free: 16.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6748, allocations: 8.031 kB / 492.6 MB, free: 16.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.6751, allocations: 41.88 kB / 492.6 MB, free: 16.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.6754, allocations: 274.9 kB / 492.9 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.6755, allocations: 18.78 kB / 492.9 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.6755, allocations: 30.94 kB / 492.9 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.676, allocations: 311.2 kB / 493.2 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.676, allocations: 1.781 kB / 493.2 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.6761, allocations: 15.3 kB / 493.2 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.6761, allocations: 6.281 kB / 493.2 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.6764, allocations: 208.1 kB / 493.4 MB, free: 16.53 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.001538/0.6779, allocations: 1.585 MB / 495 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.6782, allocations: 182.5 kB / 495.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.6783, allocations: 95.98 kB / 495.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.6783, allocations: 8.516 kB / 495.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6784, allocations: 32.69 kB / 495.3 MB, free: 15.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.6784, allocations: 0 / 495.3 MB, free: 15.26 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.004596/0.683, allocations: 1.621 MB / 497 MB, free: 14.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.683, allocations: 55 kB / 497 MB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.6832, allocations: 254.4 kB / 497.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.6833, allocations: 35.11 kB / 497.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.6834, allocations: 170.8 kB / 497.5 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.6834, allocations: 103.3 kB / 497.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.6835, allocations: 8.359 kB / 497.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6836, allocations: 338.4 kB / 497.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.6837, allocations: 89.59 kB / 498 MB, free: 13.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.6839, allocations: 195.8 kB / 498.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6841, allocations: 118.2 kB / 498.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6841, allocations: 0 / 498.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005166/0.6846, allocations: 400.2 kB / 498.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6846, allocations: 10.08 kB / 498.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6846, allocations: 2.875 kB / 498.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.6848, allocations: 70.17 kB / 498.8 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.6851, allocations: 88.47 kB / 498.9 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.6864, allocations: 1.849 MB / 0.489 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.6866, allocations: 26.28 kB / 0.489 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.6867, allocations: 37.33 kB / 0.489 GB, free: 11.81 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 (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.0001547/0.6868, allocations: 156.4 kB / 0.4892 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.6869, allocations: 26.16 kB / 0.4892 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/0.6877, allocations: 446.3 kB / 0.4896 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6877, allocations: 4.766 kB / 0.4896 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6878, allocations: 0 / 0.4896 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000475/0.6882, allocations: 0.567 MB / 0.4902 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.6891, allocations: 0.7274 MB / 0.4909 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6891, allocations: 0 / 0.4909 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.6894, allocations: 73.41 kB / 0.491 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.6895, allocations: 23.25 kB / 0.491 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.6895, allocations: 18.7 kB / 0.491 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008426/0.6904, allocations: 1.277 MB / 0.4923 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6904, allocations: 2.906 kB / 0.4923 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.6909, allocations: 476.2 kB / 0.4927 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.691, allocations: 107.4 kB / 0.4928 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.6911, allocations: 6.312 kB / 0.4928 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.6913, allocations: 18.8 kB / 0.4928 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.6913, allocations: 26.02 kB / 0.4929 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.6914, allocations: 29.78 kB / 0.4929 GB, free: 9.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.6916, allocations: 187.6 kB / 0.4931 GB, free: 9.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6916, allocations: 0 / 0.4931 GB, free: 9.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000504/0.6921, allocations: 128.5 kB / 0.4932 GB, free: 9.129 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 (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.0003271/0.6924, allocations: 150.8 kB / 0.4933 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.693, allocations: 379.6 kB / 0.4937 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.693, allocations: 0 / 0.4937 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.6932, allocations: 228.3 kB / 0.4939 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.6941, allocations: 166.3 kB / 0.4941 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.6951, allocations: 0.8327 MB / 0.4949 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6954, allocations: 0.7658 MB / 0.4956 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005217/0.696, allocations: 125 kB / 0.4958 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6961, allocations: 62.67 kB / 0.4958 GB, free: 7.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6962, allocations: 0 / 0.4958 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Templates: time 0.01185/0.708, allocations: 8.266 MB / 0.5039 GB, free: 4.02 MB / 398.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)