Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00216/0.00216, allocations: 108 kB / 15.61 MB, free: 152 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.002571/0.002571, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.495/1.495, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001354/0.001354, allocations: 55.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2681, allocations: 46.64 MB / 325.3 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4/0.6682, allocations: 173.6 MB / 498.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.6715, allocations: 3.214 MB / 0.4904 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.6717, allocations: 5.406 kB / 0.4904 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.6723, allocations: 172.2 kB / 0.4905 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.6731, allocations: 407.9 kB / 0.4909 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.6739, allocations: 353.2 kB / 0.4913 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.6747, allocations: 0.8936 MB / 0.4921 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.6749, allocations: 96.45 kB / 0.4922 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.6766, allocations: 0.7899 MB / 0.493 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.6769, allocations: 278.5 kB / 0.4933 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.677, allocations: 29.84 kB / 0.4933 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.6773, allocations: 122 kB / 0.4934 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.6775, allocations: 93.3 kB / 0.4935 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.6777, allocations: 185.8 kB / 0.4937 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.6783, allocations: 0.5116 MB / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6783, allocations: 2.938 kB / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6783, allocations: 0 / 0.4942 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.6783, allocations: 0 / 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.0008656/0.6792, allocations: 0.5967 MB / 0.4948 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.6792, allocations: 10.06 kB / 0.4948 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.6795, allocations: 41.36 kB / 0.4948 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.6799, allocations: 288.8 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.6799, allocations: 17.66 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.68, allocations: 24.38 kB / 0.4951 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.6805, allocations: 323 kB / 0.4954 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6805, allocations: 2.25 kB / 0.4954 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.6806, allocations: 16.72 kB / 0.4955 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.6806, allocations: 4.719 kB / 0.4955 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.681, allocations: 205.1 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.00207/0.6831, allocations: 1.591 MB / 0.4972 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.6834, allocations: 171.4 kB / 0.4974 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.6836, allocations: 100.2 kB / 0.4975 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.6836, allocations: 6.344 kB / 0.4975 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.6837, allocations: 38.12 kB / 0.4975 GB, free: 13.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.6837, allocations: 2.25 kB / 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.005837/0.6895, allocations: 1.623 MB / 0.4991 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.6896, allocations: 54.09 kB / 0.4992 GB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.6899, allocations: 251 kB / 0.4994 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6899, allocations: 35.86 kB / 0.4994 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.69, allocations: 182.5 kB / 0.4996 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.6901, allocations: 98.09 kB / 0.4997 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6902, allocations: 86.47 kB / 0.4998 GB, free: 12.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6903, allocations: 334.5 kB / 0.5001 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6905, allocations: 87.84 kB / 0.5002 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.6907, allocations: 192.3 kB / 0.5004 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.6911, allocations: 309.1 kB / 0.5007 GB, free: 11.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6911, allocations: 3.938 kB / 0.5007 GB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006396/0.6918, allocations: 401.3 kB / 0.501 GB, free: 11.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6918, allocations: 4.688 kB / 0.501 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6918, allocations: 5.656 kB / 0.5011 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.6921, allocations: 69.19 kB / 0.5011 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.6924, allocations: 82.44 kB / 0.5012 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.6942, allocations: 1.95 MB / 0.5031 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6944, allocations: 15.05 kB / 0.5031 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.6945, allocations: 39.97 kB / 0.5032 GB, free: 9.977 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.0002205/0.6947, allocations: 156.4 kB / 0.5033 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.6948, allocations: 34.19 kB / 0.5033 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009299/0.6957, allocations: 442.3 kB / 0.5038 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6957, allocations: 6.844 kB / 0.5038 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.6958, allocations: 0 / 0.5038 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000576/0.6963, allocations: 0.5625 MB / 0.5043 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6974, allocations: 0.73 MB / 0.505 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6974, allocations: 0 / 0.505 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.6977, allocations: 74.88 kB / 0.5051 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.144e-05/0.6978, allocations: 21.84 kB / 0.5051 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.6978, allocations: 16.45 kB / 0.5051 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008608/0.6987, allocations: 1.374 MB / 0.5065 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6987, allocations: 4.938 kB / 0.5065 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.6993, allocations: 473.1 kB / 0.5069 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.6995, allocations: 105.3 kB / 0.507 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.6995, allocations: 7.531 kB / 0.507 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6998, allocations: 8.562 kB / 0.507 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.6998, allocations: 27.69 kB / 0.5071 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.6999, allocations: 30.11 kB / 0.5071 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.7001, allocations: 193.8 kB / 0.5073 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7001, allocations: 1.203 kB / 0.5073 GB, free: 7.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005705/0.7007, allocations: 124.2 kB / 0.5074 GB, free: 7.203 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.0004119/0.7011, allocations: 150 kB / 0.5076 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.7018, allocations: 389.2 kB / 0.5079 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7018, allocations: 3.562 kB / 0.5079 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.7021, allocations: 232.7 kB / 0.5081 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.703, allocations: 177.6 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.001222/0.7042, allocations: 0.6941 MB / 0.509 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.7045, allocations: 0.7601 MB / 0.5097 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005725/0.7051, allocations: 122.2 kB / 0.5099 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.7053, allocations: 68.3 kB / 0.5099 GB, free: 5.695 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7053, allocations: 0 / 0.5099 GB, free: 5.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01439/0.7197, allocations: 8.709 MB / 0.5184 GB, free: 15.94 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)